17 const Flag INIT_FE_SPACE = 0x01L;
18 const Flag INIT_MESH = 0x02L;
19 const Flag CREATE_MESH = 0x04L;
20 const Flag INIT_SYSTEM = 0x08L;
21 const Flag INIT_SOLVER = 0x10L;
22 const Flag INIT_ESTIMATOR = 0x20L;
23 const Flag INIT_MARKER = 0x40L;
24 const Flag INIT_ADAPT = 0x80L;
25 const Flag INIT_FILEWRITER = 0x100L;
26 const Flag INIT_GLOBAL_REFINES = 0x1000L;
29 const Flag INIT_INITIAL_PROBLEM = 0x200L;
30 const Flag INIT_UH_OLD = 0x400L;
33 const Flag INIT_UPDATER = 0x800L;
34 const Flag INIT_NONLIN_SOLVER = 0x1000L;
37 const Flag INIT_NOTHING = 0x00L;
38 const Flag INIT_ALL = INIT_FE_SPACE | INIT_MESH | CREATE_MESH | INIT_SYSTEM |
39 INIT_SOLVER | INIT_ESTIMATOR | INIT_MARKER |
40 INIT_ADAPT | INIT_FILEWRITER | INIT_INITIAL_PROBLEM |
41 INIT_UH_OLD | INIT_UPDATER | INIT_NONLIN_SOLVER ;
43 const Flag MESH_ADAPTED = 1;
72 bool assembleMatrix,
bool assembleVector) = 0;
104 bool createMatrixData =
true,
105 bool storeMatrixData =
false) = 0;
115 virtual std::string
const&
name()
const = 0;
Holds adapt parameters and infos about the problem.
Definition: AdaptInfo.hpp:26
The Flag class encapsulates flags which represents simple information. Used e.g. while mesh traversal...
Definition: Flag.hpp:14
Interface for time independent problems. Concrete problems must override all pure virtual methods....
Definition: ProblemStatBase.hpp:59
virtual std::string const & name() const =0
Returns the name of the problem.
virtual void buildAfterAdapt(AdaptInfo &adaptInfo, Flag flag, bool assembleMatrix, bool assembleVector)=0
Assembling of system matrices and vectors after coarsening. By the last two parameters,...
virtual void solve(AdaptInfo &adaptInfo, bool createMatrixData=true, bool storeMatrixData=false)=0
Solves the assembled system. The result is an approximative solution. The last two boolean arguments ...
virtual void estimate(AdaptInfo &adaptInfo)=0
A posteriori error estimation of the calculated solution. Should store a local error estimation at ea...
virtual Flag adaptGrid(AdaptInfo &adaptInfo)=0
Refinement/coarsening of the grid.
virtual Flag globalRefine(int n)=0
virtual Flag globalCoarsen(int n)=0
virtual Flag markElements(AdaptInfo &adaptInfo)=0
Marks mesh elements for refinement and coarsening.