Interface for time independent problems. Concrete problems must override all pure virtual methods. The method adaptMethodStat() should initiate the adaption loop which in turn uses the other pure virtual functions. The default stationary adaption loop is implemented in the class AdaptStationary. More...
#include <ProblemStatBase.hpp>
Inherited by ProblemStat< Traits >.
Public Member Functions  
virtual Flag  markElements (AdaptInfo &adaptInfo)=0 
Marks mesh elements for refinement and coarsening.  
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, assembling can be restricted to either matrices or vectors only.  
virtual Flag  adaptGrid (AdaptInfo &adaptInfo)=0 
Refinement/coarsening of the grid.  
virtual Flag  globalCoarsen (int n)=0 
virtual Flag  globalRefine (int n)=0 
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 can be used to controll successive solutions of systems with the same matrix. More...  
virtual void  estimate (AdaptInfo &adaptInfo)=0 
A posteriori error estimation of the calculated solution. Should store a local error estimation at each elements leaf data and return the total error sum.  
virtual std::string const &  name () const =0 
Returns the name of the problem.  
Interface for time independent problems. Concrete problems must override all pure virtual methods. The method adaptMethodStat() should initiate the adaption loop which in turn uses the other pure virtual functions. The default stationary adaption loop is implemented in the class AdaptStationary.
Uniform global grid coarsening by up to n level. Returns MESH_ADAPTED if grid was changed
Implemented in ProblemStat< Traits >.
Uniform global refinement by n level Returns MESH_ADAPTED if grid was changed
Implemented in ProblemStat< Traits >.

pure virtual 
Solves the assembled system. The result is an approximative solution. The last two boolean arguments can be used to controll successive solutions of systems with the same matrix.
adaptInfo  Reference to an AdaptInfo object. 
createMatrixData  If false, the solver assumes that all of its internal data structures for the system matrix are already created. This is the case, if we solve different systems but with the same matrix. After the first call to this function (with this parameter set to true), all other calls may set it to false. 
storeMatrixData  If true, all internal data structures for the system matrix are not deleted such that they can be used for next solutions with the same system matrix. 
Implemented in ProblemStat< Traits >.
Referenced by StandardProblemIteration::oneIteration().