dune-fem
2.4.1-rc
|
Implementation of operator to calculate gradient of a given discrete function using the pass concept. More...
#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/operator/1order/dgmasspass.hh>
Public Types | |
enum | { dimRange = BaseType::dimRange } |
typedef BaseType::DiscreteModelType | DiscreteModelType |
typedef BaseType::PreviousPassType | PreviousPassType |
typedef BaseType::ArgumentType | ArgumentType |
typedef BaseType::DestinationType | DestinationType |
typedef BaseType::DiscreteFunctionSpaceType | DiscreteFunctionSpaceType |
typedef BaseType::BasisFunctionSetType | BasisFunctionSetType |
typedef BaseType::LocalFunctionType | LocalFunctionType |
typedef BaseType::GridPartType | GridPartType |
typedef BaseType::GridType | GridType |
typedef BaseType::IteratorType | IteratorType |
typedef BaseType::Entity | EntityType |
typedef BaseType::Geometry | GeometryType |
typedef BaseType::IntersectionIteratorType | IntersectionIteratorType |
typedef BaseType::RangeType | RangeType |
typedef RangeType::value_type | RangeFieldType |
typedef BaseType::VolumeQuadratureType | VolumeQuadratureType |
typedef CommunicationManager< DiscreteFunctionSpaceType > | CommunicationManagerType |
typedef DiscreteModelType::MassFactorType | MassFactorType |
enum | |
typedef BaseType::PassIds | PassIds |
pass ids up to here (tuple of integral constants) More... | |
typedef DiscreteModelType::Traits::FaceQuadratureType | FaceQuadratureType |
typedef DiscreteFunctionSpaceType::DomainType | DomainType |
typedef DiscreteFunctionSpaceType::JacobianRangeType | JacobianRangeType |
typedef IntersectionIteratorType::Intersection | IntersectionType |
typedef GridType::template Codim< 0 >::Geometry | Geometry |
typedef DGDiscreteModelCaller< DiscreteModelType, ArgumentType, PassIds > | DiscreteModelCallerType |
typedef GridPartType::IndexSetType | IndexSetType |
typedef TemporaryLocalFunction< DiscreteFunctionSpaceType > | TemporaryLocalFunctionType |
typedef LocalMassMatrix< DiscreteFunctionSpaceType, VolumeQuadratureType > | LocalMassMatrixType |
type of local mass matrix More... | |
typedef EntityType | Entity |
typedef DeleteHandler< DestinationType > | DeleteHandlerType |
type of mem handler, which deletes destination More... | |
typedef DestinationType::DiscreteFunctionSpaceType::CommunicationManagerType::NonBlockingCommunicationType | NonBlockingCommunicationType |
typedef PreviousPassType::GlobalArgumentType | GlobalArgumentType |
typedef PreviousPassType::NextArgumentType | LocalArgumentType |
Tuple containing destination types of all preceding passes. More... | |
typedef PushFrontTuple< LocalArgumentType, const GlobalArgumentType * >::type | TotalArgumentType |
typedef PushBackTuple< LocalArgumentType, DestinationType * >::type | NextArgumentType |
Tuple containing destination types of all passes up to this one. More... | |
typedef PreviousPassImp::GlobalArgumentType | DomainFunctionType |
type of discrete function in the operator's domain More... | |
typedef DiscreteModelImp::Traits::DestinationType | RangeFunctionType |
type of discrete function in the operator's range More... | |
typedef PreviousPassImp::GlobalArgumentType::RangeFieldType | DomainFieldType |
field type of the operator's domain More... | |
Public Member Functions | |
LocalDGMassPass (DiscreteModelType &problem, PreviousPassType &pass, const DiscreteFunctionSpaceType &spc, double factor=-1.0, int volumeQuadOrd=-1, int faceQuadOrd=-1) | |
virtual | ~LocalDGMassPass () |
Destructor. More... | |
void | printTexInfo (std::ostream &out) const |
print tex info More... | |
double | timeStepEstimateImpl () const |
Estimate for the timestep size. More... | |
virtual void | prepare (const ArgumentType &arg, DestinationType &dest) const |
virtual void | finalize (const ArgumentType &arg, DestinationType &dest) const |
Some timestep size management. More... | |
size_t | numberOfElements () const |
return number of elements visited during operator computation More... | |
void | applyLocal (const EntityType &en) const |
void | applyLocal (const EntityType &en, const NeighborChecker &nbChecker) const |
local integration More... | |
void | applyLocalMass (const EntityType &en) const |
virtual void | allocateLocalMemory () |
build up local memory More... | |
const DiscreteFunctionSpaceType & | space () const |
return reference to space More... | |
virtual double | computeTime () const |
return accumulated time needed by pass's operator () this method also resets the compute time to zero More... | |
bool | active () const |
return true if pass is active More... | |
void | enable () const |
set pass status to active More... | |
void | disable () const |
set pass status to inactive More... | |
void | compute (const ArgumentType &arg, DestinationType &dest) const |
int | passNumber () const |
void | operator() (const GlobalArgumentType &arg, DestinationType &dest) const |
Application operator. The application operator is called by the client directly. It makes only sense to call this operator directly on the last pass. More... | |
virtual void | operator() (const DomainFunctionType &u, RangeFunctionType &w) const =0 |
application operator More... | |
void | setTime (const double t) |
Set time provider (which gives you access to the global time). More... | |
double | timeStepEstimate () const |
return time step estimate for explicit Runge Kutta solver, calls recursively the method timeStepEstimateImpl of all previous passes. Make sure to overload the method timeStepEstimateImpl in your implementation if this method really does something. More... | |
double | time () const |
return current time of calculation More... | |
const DestinationType & | destination () const |
return reference to internal discrete function More... | |
void | pass (const GlobalArgumentType &arg) const |
NextArgumentType | localArgument () const |
Returns a compilation of the results of the preceding passes. More... | |
void | finalizeCommunication (const GlobalArgumentType &arg) const |
finalizeCommunication collects possbily initiated non-blocking communications for all passes including the global argument this method will be called from the next pass More... | |
void | receiveCommunication (const GlobalArgumentType &arg) const |
finalizeCommunication collects possbily initiated non-blocking communications for all passes including the global argument this method will be called from the next pass More... | |
virtual bool | requireCommunication () const |
requireCommunication returns true if the pass needs communication at all More... | |
Static Public Attributes | |
static const int | passNum = PreviousPassType::passNum + 1 |
position in pass tree More... | |
static const int | passId = passIdImp |
Protected Member Functions | |
void | applyLocal (const EntityType &en, TemporaryLocalFunctionType &updEn, const NeighborChecker &nbChecker) const |
local integration More... | |
void | initLocalFunction (const EntityType &en, LocalFunctionImp &update) const |
void | updateFunction (const EntityType &en, LocalFunctionImp &update) const |
add update to destination More... | |
void | updateFunctionAndApplyMass (const EntityType &en, LocalFunctionImp &update) const |
add update to destination More... | |
void | evalVolumetricPartFlux (const EntityType &en, const Geometry &geo, const VolumeQuadratureType &volQuad, LocalFunctionImp &updEn) const |
void | evalVolumetricPartBoth (const EntityType &en, const Geometry &geo, const VolumeQuadratureType &volQuad, LocalFunctionImp &updEn) const |
double | applyLocalNeighbor (const IntersectionType &intersection, const EntityType &en, const EntityType &nb, LocalFunctionImp &updEn, LocalFunctionImp &updNb, double &wspeedS, const bool canUpdateNeighbor) const |
DiscreteModelCallerType & | caller () const |
void | finalizeCommunication (const TotalArgumentType &totalArg) const |
finalizeCommunication collects possbily initiated non-blocking communications for all passes More... | |
void | receiveCommunication (const TotalArgumentType &totalArg) const |
receiveCommunication collects possbily initiated non-blocking communications for all passes More... | |
virtual void | initComm () const |
initializeCommunication of this pass, this will initialize the communication of destination_ and has to be overloaded in the implementation More... | |
virtual void | finalizeComm () const |
finalizeCommunication of this pass, this will collect the communication of destination_ and has to be overloaded in the implementation More... | |
virtual void | receiveComm () const |
receiveCommunication of this pass, which will reset changes the communication did to the destination_ and has to be overloaded in the implementation More... | |
Protected Attributes | |
DiscreteModelCallerType * | caller_ |
ArgumentType * | arg_ |
DestinationType * | dest_ |
const GridPartType & | gridPart_ |
const IndexSetType & | indexSet_ |
MutableArray< bool > | visited_ |
TemporaryLocalFunctionType | updEn_ |
TemporaryLocalFunctionType | updNb_ |
MutableArray< JacobianRangeType > | fMatVec_ |
Some helper variables. More... | |
MutableArray< RangeType > | valEnVec_ |
MutableArray< RangeType > | valNbVec_ |
double | dtMin_ |
const double | minLimit_ |
const int | volumeQuadOrd_ |
const int | faceQuadOrd_ |
LocalMassMatrixType | localMassMatrix_ |
const bool | notThreadParallel_ |
const std::string | passName_ |
double | computeTime_ |
size_t | numberOfElements_ |
bool | passIsActive_ |
DestinationType * | destination_ |
destination (might be set from outside) More... | |
DeleteHandlerType * | deleteHandler_ |
object to delete destination_ More... | |
PreviousPassType & | previousPass_ |
double | time_ |
bool | finalizeCommunication_ |
Implementation of operator to calculate gradient of a given discrete function using the pass concept.
Description: Solver for equations of the form
where is the argument and
is computed.
typedef BaseType::ArgumentType Dune::Fem::LocalDGMassPass< DiscreteModelImp, PreviousPassImp >::ArgumentType |
typedef BaseType::BasisFunctionSetType Dune::Fem::LocalDGMassPass< DiscreteModelImp, PreviousPassImp >::BasisFunctionSetType |
typedef CommunicationManager<DiscreteFunctionSpaceType> Dune::Fem::LocalDGMassPass< DiscreteModelImp, PreviousPassImp >::CommunicationManagerType |
|
inherited |
type of mem handler, which deletes destination
typedef BaseType::DestinationType Dune::Fem::LocalDGMassPass< DiscreteModelImp, PreviousPassImp >::DestinationType |
typedef BaseType::DiscreteFunctionSpaceType Dune::Fem::LocalDGMassPass< DiscreteModelImp, PreviousPassImp >::DiscreteFunctionSpaceType |
|
inherited |
typedef BaseType::DiscreteModelType Dune::Fem::LocalDGMassPass< DiscreteModelImp, PreviousPassImp >::DiscreteModelType |
|
inherited |
field type of the operator's domain
|
inherited |
type of discrete function in the operator's domain
|
inherited |
|
inherited |
typedef BaseType::Entity Dune::Fem::LocalDGMassPass< DiscreteModelImp, PreviousPassImp >::EntityType |
|
inherited |
|
inherited |
typedef BaseType::Geometry Dune::Fem::LocalDGMassPass< DiscreteModelImp, PreviousPassImp >::GeometryType |
|
inherited |
Type of the discrete function which is passed to the overall operator by the user
typedef BaseType::GridPartType Dune::Fem::LocalDGMassPass< DiscreteModelImp, PreviousPassImp >::GridPartType |
typedef BaseType::GridType Dune::Fem::LocalDGMassPass< DiscreteModelImp, PreviousPassImp >::GridType |
|
inherited |
typedef BaseType::IntersectionIteratorType Dune::Fem::LocalDGMassPass< DiscreteModelImp, PreviousPassImp >::IntersectionIteratorType |
|
inherited |
typedef BaseType::IteratorType Dune::Fem::LocalDGMassPass< DiscreteModelImp, PreviousPassImp >::IteratorType |
|
inherited |
|
inherited |
Tuple containing destination types of all preceding passes.
typedef BaseType::LocalFunctionType Dune::Fem::LocalDGMassPass< DiscreteModelImp, PreviousPassImp >::LocalFunctionType |
|
inherited |
type of local mass matrix
typedef DiscreteModelType::MassFactorType Dune::Fem::LocalDGMassPass< DiscreteModelImp, PreviousPassImp >::MassFactorType |
|
inherited |
Tuple containing destination types of all passes up to this one.
|
inherited |
|
inherited |
pass ids up to here (tuple of integral constants)
typedef BaseType::PreviousPassType Dune::Fem::LocalDGMassPass< DiscreteModelImp, PreviousPassImp >::PreviousPassType |
typedef RangeType::value_type Dune::Fem::LocalDGMassPass< DiscreteModelImp, PreviousPassImp >::RangeFieldType |
|
inherited |
type of discrete function in the operator's range
typedef BaseType::RangeType Dune::Fem::LocalDGMassPass< DiscreteModelImp, PreviousPassImp >::RangeType |
|
inherited |
|
inherited |
Tuple containing destination types of all preceding passes plus the global argument. This serves as the argument for this pass' computations
typedef BaseType::VolumeQuadratureType Dune::Fem::LocalDGMassPass< DiscreteModelImp, PreviousPassImp >::VolumeQuadratureType |
|
inherited |
|
inline |
Constructor
problem | Actual problem definition (see problem.hh) |
pass | Previous pass |
spc | Space belonging to the discrete function local to this pass |
factor | mass matrix factor, default is -1.0 |
volumeQuadOrd | defines the order of the volume quadrature which is by default 2* space polynomial order |
faceQuadOrd | defines the order of the face quadrature which is by default 2* space polynomial order |
|
inlinevirtual |
Destructor.
References Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp >::caller_, Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp >::dest_, Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp >::finalize(), Dune::Fem::DGDiscreteModelCaller< DiscreteModel, Argument, PassIds >::mass(), Dune::Fem::DGDiscreteModelCaller< DiscreteModel, Argument, PassIds >::setEntity(), and Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp >::volumeQuadOrd_.
|
inlineinherited |
return true if pass is active
|
inlinevirtualinherited |
build up local memory
Implements Dune::Fem::Pass< DiscreteModelImp, PreviousPassImp, passIdImp >.
|
inlinevirtualinherited |
Actions to be taken on every element. To be overridden in a derived class.
Implements Dune::Fem::LocalPass< DiscreteModelImp, PreviousPassImp,-1 >.
References Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::applyLocal().
|
inlineinherited |
local integration
References Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::applyLocal(), Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::initLocalFunction(), Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::updateFunctionAndApplyMass(), and Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::updEn_.
|
inlineprotectedinherited |
local integration
References Dune::Fem::LocalFunction< BasisFunctionSet, LocalDofVector >::axpyQuadrature(), Dune::Fem::DGDiscreteModelCaller< DiscreteModel, Argument, PassIds >::boundaryFlux(), Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::caller(), Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::dtMin_, Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::evalVolumetricPartBoth(), Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::evalVolumetricPartFlux(), Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::faceQuadOrd_, Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::gridPart_, Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::indexSet_, Dune::Fem::make_entity(), Dune::Std::min(), Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::minLimit_, Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::problem_, Dune::Fem::MutableArray< T, AllocatorType >::resize(), Dune::Fem::DGDiscreteModelCaller< DiscreteModel, Argument, PassIds >::setBoundary(), Dune::Fem::DGDiscreteModelCaller< DiscreteModel, Argument, PassIds >::setEntity(), Dune::Fem::StaticArray< T >::size(), Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::spc_, Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::updNb_, Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::valEnVec_, Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::visited_, and Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::volumeQuadOrd_.
|
inlineinherited |
References Dune::Fem::LocalMassMatrixImplementation< DiscreteFunctionSpace, VolumeQuadrature >::applyInverse(), Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::caller(), Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::dest_, and Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::localMassMatrix_.
|
inlineprotectedinherited |
References Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::caller(), Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::faceQuadOrd_, Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::gridPart_, Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::initLocalFunction(), Dune::Fem::IntegrationPointListImp< FieldImp, dim >::nop(), Dune::Fem::DGDiscreteModelCaller< DiscreteModel, Argument, PassIds >::numericalFlux(), Dune::Fem::MutableArray< T, AllocatorType >::resize(), Dune::Fem::DGDiscreteModelCaller< DiscreteModel, Argument, PassIds >::setNeighbor(), Dune::Fem::StaticArray< T >::size(), Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::updateFunction(), Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::valEnVec_, Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::valNbVec_, and Dune::Fem::QuadratureImp< FieldImp, dim >::weight().
|
inlineprotectedinherited |
|
inlinevirtualinherited |
The actual computations are performed as follows. First, prepare the grid walkthrough, then call applyLocal on each entity and then call finalize.
Implements Dune::Fem::Pass< DiscreteModelImp, PreviousPassImp, passIdImp >.
|
inlinevirtualinherited |
return accumulated time needed by pass's operator () this method also resets the compute time to zero
|
inlineinherited |
return reference to internal discrete function
|
inlineinherited |
set pass status to inactive
|
inlineinherited |
set pass status to active
|
inlineprotectedinherited |
References Dune::Fem::DGDiscreteModelCaller< DiscreteModel, Argument, PassIds >::analyticalFluxAndSource(), Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::caller(), Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::dtMin_, Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::fMatVec_, Dune::Std::min(), Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::minLimit_, Dune::Fem::MutableArray< T, AllocatorType >::resize(), Dune::Fem::StaticArray< T >::size(), and Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::valEnVec_.
|
inlineprotectedinherited |
References Dune::Fem::DGDiscreteModelCaller< DiscreteModel, Argument, PassIds >::analyticalFlux(), Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::caller(), Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::fMatVec_, Dune::Fem::MutableArray< T, AllocatorType >::resize(), and Dune::Fem::StaticArray< T >::size().
|
inlinevirtualinherited |
Some timestep size management.
Implements Dune::Fem::LocalPass< DiscreteModelImp, PreviousPassImp,-1 >.
References Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::caller_, Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::notThreadParallel_, and Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::spc_.
Referenced by Dune::Fem::LocalDGMassPass< DiscreteModelImp, PreviousPassImp >::~LocalDGMassPass().
|
inlineprotectedvirtualinherited |
finalizeCommunication of this pass, this will collect the communication of destination_ and has to be overloaded in the implementation
|
inlineinherited |
finalizeCommunication collects possbily initiated non-blocking communications for all passes including the global argument this method will be called from the next pass
|
inlineprotectedinherited |
finalizeCommunication collects possbily initiated non-blocking communications for all passes
|
inlineprotectedvirtualinherited |
initializeCommunication of this pass, this will initialize the communication of destination_ and has to be overloaded in the implementation
|
inlineprotectedinherited |
|
inlineinherited |
Returns a compilation of the results of the preceding passes.
|
inlinevirtualinherited |
return number of elements visited during operator computation
Reimplemented from Dune::Fem::LocalPass< DiscreteModelImp, PreviousPassImp,-1 >.
|
pure virtualinherited |
application operator
[in] | u | argument discrete function |
[out] | w | destination discrete function |
|
inlineinherited |
Application operator. The application operator is called by the client directly. It makes only sense to call this operator directly on the last pass.
|
inlineinherited |
Same as application operator, but uses own memory instead of the discrete function provided by the client. This method is called on all passes except the last one.
|
inlineinherited |
|
inlinevirtualinherited |
In the preparations, store pointers to the actual arguments and destinations. Filter out the "right" arguments for this pass.
Implements Dune::Fem::LocalPass< DiscreteModelImp, PreviousPassImp,-1 >.
References Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::arg_, Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::caller_, Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::dest_, Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::dtMin_, Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::indexSet_, Dune::Std::max(), Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::notThreadParallel_, Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::problem_, Dune::Fem::MutableArray< T, AllocatorType >::resize(), Dune::Fem::DGDiscreteModelCaller< DiscreteModel, Argument, PassIds >::setTime(), Dune::Fem::StaticArray< T >::size(), Dune::Fem::Pass< DiscreteModelImp, PreviousPassImp, passIdImp >::time(), and Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::visited_.
|
inlineinherited |
print tex info
References Dune::Fem::Pass< DiscreteModelImp, PreviousPassImp, passIdImp >::printTexInfo().
|
inlineprotectedvirtualinherited |
receiveCommunication of this pass, which will reset changes the communication did to the destination_ and has to be overloaded in the implementation
|
inlineinherited |
finalizeCommunication collects possbily initiated non-blocking communications for all passes including the global argument this method will be called from the next pass
|
inlineprotectedinherited |
receiveCommunication collects possbily initiated non-blocking communications for all passes
|
inlinevirtualinherited |
requireCommunication returns true if the pass needs communication at all
Reimplemented in Dune::Fem::DGInverseMassPass< functionalId, PreviousPass, id >.
|
inlineinherited |
Set time provider (which gives you access to the global time).
|
inlineinherited |
return reference to space
|
inlineinherited |
return current time of calculation
Referenced by Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp >::prepare().
|
inlineinherited |
return time step estimate for explicit Runge Kutta solver, calls recursively the method timeStepEstimateImpl of all previous passes. Make sure to overload the method timeStepEstimateImpl in your implementation if this method really does something.
|
inlinevirtualinherited |
Estimate for the timestep size.
Reimplemented from Dune::Fem::Pass< DiscreteModelImp, PreviousPassImp, passIdImp >.
References Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::dtMin_, and Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::spc_.
|
inlineprotectedinherited |
add update to destination
References Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::dest_.
|
inlineprotectedinherited |
add update to destination
References Dune::Fem::LocalMassMatrixImplementation< DiscreteFunctionSpace, VolumeQuadrature >::applyInverse(), Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::caller(), Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::dest_, and Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp, passIdImp >::localMassMatrix_.
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
protectedinherited |
object to delete destination_
Referenced by Dune::Fem::LocalPass< DGInverseMassPassDiscreteModel< functionalId, PreviousPass >, PreviousPass, id >::allocateLocalMemory().
|
mutableprotectedinherited |
|
protectedinherited |
destination (might be set from outside)
Referenced by Dune::Fem::LocalPass< DGInverseMassPassDiscreteModel< functionalId, PreviousPass >, PreviousPass, id >::allocateLocalMemory().
|
mutableprotectedinherited |
|
protectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
Some helper variables.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
mutableprotectedinherited |
|
staticinherited |
|
mutableprotectedinherited |
|
protectedinherited |
|
staticinherited |
position in pass tree
|
protectedinherited |
|
protectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
protectedinherited |