DUNE-ACFEM (unstable)

Dune::ACFem::AdaptiveFemScheme Class Referenceabstract

Abstract space adaptative FEM scheme. More...

#include <dune/acfem/algorithms/femschemeinterface.hh>

+ Collaboration diagram for Dune::ACFem::AdaptiveFemScheme:

Public Member Functions

virtual bool mark (const double tolerance)=0
 mark elements for adaptation
 
virtual double estimate ()=0
 calculate error estimator
 
virtual void adapt ()=0
 do the adaptation for a given marking
 
virtual void initialize ()=0
 initialize the solution
 
virtual std::string name () const =0
 name of the Fem Scheme
 
virtual void solve (bool forceMatrixAssembling=true)=0
 Solve the system. More...
 
virtual int output ()=0
 data I/O, return -1 if no data has been written otherwise the sequence number of the file
 
virtual bool converged () const =0
 check whether solver has converged
 
virtual double residual () const =0
 calculate residual (in small l^2)
 
virtual double error () const =0
 calculate L2/H1 error
 
virtual size_t size () const =0
 return some measure about the number of DOFs in use
 

Detailed Description

Abstract space adaptative FEM scheme.

Also used as building-block for transient adaptive schemes.

Member Function Documentation

◆ solve()

virtual void Dune::ACFem::BasicFemScheme::solve ( bool  forceMatrixAssembling = true)
pure virtualinherited

Solve the system.

Parameters
[in]forceMatrixAssemblingIf the solve step requires assembling of matrices, then by default the application may give a hint to the FemScheme that this might not be necessary. The actual implementation can then decide if it caches the assembled matrix from the last solve() invocation and reuses it. If forceAssemble is true then the implementation has to discard and cached assembled matrices and recompute them.

Implemented in Dune::ACFem::ParabolicFemScheme< DiscreteFunction, TimeProvider, ImplicitModel, ExplicitModel, InitialValue, RHSFunctional, QuadratureTraits >, and Dune::ACFem::EllipticFemScheme< DiscreteFunction, Model, InitialGuess, RHSFunctional >.


The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.80.0 (Apr 19, 22:31, 2024)