DUNE-ACFEM (2.5.1)

Dune::ACFem::BasicFemScheme Class Referenceabstract

Abstract non-adaptive basic FEM scheme. More...

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

Public Member Functions

virtual void initialize ()=0
 initialize the solution
 
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 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 non-adaptive basic FEM scheme.

Used as solver black-box, so to say.

Member Function Documentation

◆ solve()

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

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::EllipticFemSchemeBase< DiscreteFunction, Model, InitialGuess >, Dune::ACFem::EllipticFemSchemeBase< DiscreteFunction, Model, ZeroGridFunction< Model::FunctionSpaceType, Model::GridPartType > >, Dune::ACFem::ParabolicFemScheme< DiscreteFunction, TimeProvider, ImplicitModel, ExplicitModel, InitialValue, QuadratureTraits >, Dune::ACFem::SplittingFemSchemeBase< DiscreteFunction, ImplicitModel, ExplicitDataFunction, ExplicitModel, InitialGuessFunction >, Dune::ACFem::SplittingFemSchemeBase< DiscreteFunction, ImplicitModel, ExplicitDataFunction, ExplicitModel, ZeroGridFunction< ImplicitModel::FunctionSpaceType, ImplicitModel::GridPartType > >, Dune::ACFem::SplittingFemSchemeBase< DiscreteFunction, ImplicitModel, ZeroGridFunction< ImplicitModel::FunctionSpaceType, ImplicitModel::GridPartType >, ZeroModel< ImplicitModel::FunctionSpaceType, ImplicitModel::GridPartType >, InitialGuess >, and Dune::ACFem::SplittingFemSchemeBase< DiscreteFunction, ImplicitModel, ZeroGridFunction< ImplicitModel::FunctionSpaceType, ImplicitModel::GridPartType >, ZeroModel< ImplicitModel::FunctionSpaceType, ImplicitModel::GridPartType >, ZeroGridFunction< ImplicitModel::FunctionSpaceType, ImplicitModel::GridPartType > >.

Referenced by Dune::ACFem::adaptiveAlgorithm().


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.111.3 (Nov 12, 23:30, 2024)