DUNE-ACFEM (unstable)
parabolicfemscheme.hh
153 typedef Dune::Fem::AdaptationManager<GridType, RestrictionProlongationType> AdaptationManagerType;
159 using ConstraintsOperatorType = DirichletConstraints<DiscreteFunctionSpaceType, DiscreteModelType>;
580 size_t numberOfDofs = discreteSpace_.blockMapper().size() - discreteSpace_.slaveDofs().size() + 1;
594 GridPartType& gridPart_; // grid part(view), here the leaf grid the discrete space is build with
659 const QuadratureTraits<typename DiscreteFunction::DiscreteFunctionSpaceType::GridPartType>& quadTraits,
693 const QuadratureTraits<typename DiscreteFunction::DiscreteFunctionSpaceType::GridPartType>& quadTraits,
A class defining an elliptic operator.
Definition: ellipticoperator.hh:87
Residual estimator for the heat equation.
Definition: parabolicestimator.hh:68
RangeFieldType estimate(const DiscreteFunctionType &uh)
calculate estimator
Definition: parabolicestimator.hh:224
Basic parabolic fem-scheme class.
Definition: parabolicfemscheme.hh:93
virtual std::string name() const
name of the Fem Scheme
Definition: parabolicfemscheme.hh:343
virtual double timeEstimate()
return the most recent time estimate
Definition: parabolicfemscheme.hh:478
virtual void adapt()
do the adaptation for a given marking
Definition: parabolicfemscheme.hh:494
virtual bool converged() const
check whether solver has converged
Definition: parabolicfemscheme.hh:543
InitialValueType ExactSolutionFunctionType
adapter to turn exact solution into a grid function (for visualization)
Definition: parabolicfemscheme.hh:191
DirichletConstraints< DiscreteFunctionSpaceType, DiscreteModelType > ConstraintsOperatorType
type of Dirichlet constraints
Definition: parabolicfemscheme.hh:159
DiscreteModelType::FunctionSpaceType FunctionSpaceType
type of function space (scalar functions, )
Definition: parabolicfemscheme.hh:132
DataOutput< GridType, IOTupleType > DataOutputType
type of data writer (produces VTK data)
Definition: parabolicfemscheme.hh:197
virtual double error() const
Calculate L2/H1 error.
Definition: parabolicfemscheme.hh:562
ParabolicFemScheme(DiscreteFunctionType &solution, const TimeProviderType &timeProvider, const ImplicitModelType &implicitModel, const ExplicitModelType &explicitModel, const InitialValueType &initialValue, const RHSFunctionalType &rhsFunctional, const std::string name="heat")
Constructor.
Definition: parabolicfemscheme.hh:224
TimeProvider TimeProviderType
access to the simulation time and time-step
Definition: parabolicfemscheme.hh:108
virtual void next()
Close the current time-step.
Definition: parabolicfemscheme.hh:361
MarkingStrategy< GridPartType > MarkingStrategyType
type of marking strategy for space adaptivity
Definition: parabolicfemscheme.hh:180
virtual int output()
data I/O
Definition: parabolicfemscheme.hh:520
virtual void initialize()
initialize the solution
Definition: parabolicfemscheme.hh:330
virtual bool mark(const double tolerance)
mark elements for adaptation
Definition: parabolicfemscheme.hh:466
Dune::Fem::CheckPointer< GridType > CheckPointerType
type of check-pointer (dumps unaltered simulation data)
Definition: parabolicfemscheme.hh:200
DifferentiableEllipticOperator< LinearOperatorType, DiscreteModelType, const ConstraintsOperatorType &, QuadratureTraits > ImplicitOperatorType
define differential operator, implicit part
Definition: parabolicfemscheme.hh:164
EllipticOperator< ExplicitModelType, DiscreteFunctionType, DiscreteFunctionType, EmptyConstraintsType, QuadratureTraits > ExplicitOperatorType
explicit part of differential operator.
Definition: parabolicfemscheme.hh:170
ParabolicEulerEstimator< DiscreteFunctionType, TimeProviderType, DiscreteModelType, ExplicitModelType > EstimatorType
type of error estimator
Definition: parabolicfemscheme.hh:177
InitialValue InitialValueType
Initial value.
Definition: parabolicfemscheme.hh:127
MarkingStrategy< GridPartType > InitialMarkingStrategyType
Initial marking.
Definition: parabolicfemscheme.hh:188
virtual void linearSolve(DiscreteFunctionType &rhs, bool forceMatrixAssembling)
Perform only one step of the Newton scheme for the affine-linear case.
Definition: parabolicfemscheme.hh:417
Fem::NewtonInverseOperator< LinearOperatorType, LinearInverseOperatorType > NonLinearInverseOperatorType
Non-linear solver.
Definition: parabolicfemscheme.hh:146
Dune::Fem::RestrictProlongDefault< DiscreteFunctionType > RestrictionProlongationType
type of restriction/prolongation projection for adaptive simulations (use default here,...
Definition: parabolicfemscheme.hh:150
DiscreteFunctionType::DiscreteFunctionSpaceType DiscreteFunctionSpaceType
type of the discrete function space
Definition: parabolicfemscheme.hh:105
virtual double estimate()
calculate error estimator
Definition: parabolicfemscheme.hh:472
TrueErrorEstimator< InitialValueType, Dune::Fem::L2Norm< GridPartType > > InitialEstimatorType
intial estimator
Definition: parabolicfemscheme.hh:185
std::tuple< DiscreteFunctionType * > IOTupleType
type of input/output tuple
Definition: parabolicfemscheme.hh:194
DiscreteFunctionType::GridPartType GridPartType
type of the grid view
Definition: parabolicfemscheme.hh:102
virtual size_t size() const
return some measure about the number of DOFs in use
Definition: parabolicfemscheme.hh:577
Dune::Fem::AdaptationManager< GridType, RestrictionProlongationType > AdaptationManagerType
type of adaptation manager handling adapation and DoF compression
Definition: parabolicfemscheme.hh:153
virtual void solve(bool forceMatrixAssembling=true)
solve the system
Definition: parabolicfemscheme.hh:367
DiscreteFunction DiscreteFunctionType
Type of the discrete solution function.
Definition: parabolicfemscheme.hh:96
EmptyBlockConstraints< DiscreteFunctionSpaceType > EmptyConstraintsType
empty constraints for the explicit operator (old solution is already constrained)
Definition: parabolicfemscheme.hh:156
virtual double residual() const
calculate residual (in small l^2)
Definition: parabolicfemscheme.hh:549
virtual void nonLinearSolve(DiscreteFunctionType &rhs)
Run the full Newton-scheme ...
Definition: parabolicfemscheme.hh:399
DiscreteFunctionType::GridType GridType
type of hierarchic grid
Definition: parabolicfemscheme.hh:99
ImplicitModel ImplicitModelType
type of the mathematical model
Definition: parabolicfemscheme.hh:123
"estimator" which return the "true" error with respect to some given function in some standard norm.
Definition: trueerrorestimator.hh:30
RangeFieldType estimate(const DiscreteFunctionType &uh)
calculate estimator
Definition: trueerrorestimator.hh:66
constexpr decltype(auto) asExpression(T &&t)
Return a non-closure expression as is.
Definition: interface.hh:122
std::enable_if_t< IsLinearFunctional< RHSFunctional >::value, ParabolicFemScheme< DiscreteFunction, TimeProvider, ImplicitModel, ExplicitModel, InitialValue, RHSFunctional, QuadratureTraits > > parabolicFemScheme(DiscreteFunction &solution, const TimeProvider &timeProvider, const ImplicitModel &implicitModel, const ExplicitModel &explicitModel, const InitialValue &initialValue, const RHSFunctional &rhsFunctional, const QuadratureTraits< typename DiscreteFunction::DiscreteFunctionSpaceType::GridPartType > &quadTraits, const std::string &name="acfem.schemes.parabolic")
Basic parabolic fem-scheme class.
Definition: parabolicfemscheme.hh:653
DefaultQuadratureTraits< GridPart > QuadratureTraits
Traits class with ordinary quadratures in the bulk and on the skeleton.
Definition: quadrature.hh:132
ModelIntrospection::Traits< Model > ModelTraits
Traits class for models.
Definition: modeltraits.hh:898
Helper traits-class, defining likely quadrature types.
Definition: quadrature.hh:23
Select one appropriate (linear) solver depending on whether the model is symmetric and/or semidefinit...
Definition: solverselector.hh:91
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Dec 27, 23:30, 2024)