amesh.h 382 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef _AGRID_H
#define _AGRID_H
#include "inmost.h"


class AdaptiveMesh : public Mesh
{
	MarkerType hanging_node;
	
	void SplitFace();
public:
	AdaptiveMesh() : Mesh() {}
	~AdaptiveMesh() {}
	/// Indicator must be 1 on cells to be refined
	/// and 0 on all other cells
	void Refine(const TagInteger & indicator);
	void Coarse(const TagInteger & indicator);
};

#endif //_AGRID_H