DUNE PDELab (git)

Dune::PDELab::OneStepLocalPreStageAssemblerEngine< OSLA > Class Template Reference

The local assembler engine for one step methods which assembles the constant part of the residual vector. More...

#include <dune/pdelab/gridoperator/onestep/prestageengine.hh>

Public Types

typedef OSLA LocalAssembler
 The type of the wrapping local assembler.
 
typedef OSLA::Traits::Residual Residual
 The type of the residual vector.
 
typedef OSLA::Traits::Solution Solution
 The type of the solution vector.
 
typedef OSLA::Real Real
 The type for real numbers.
 
typedef std::vector< Solution * > Solutions
 The type of the solution container.
 
typedef OSLA OneStepLocalAssembler
 The type of the wrapping local assembler.
 
typedef OSLA::LocalAssemblerDT0 LocalAssemblerDT0
 

Public Member Functions

 OneStepLocalPreStageAssemblerEngine (LocalAssembler &la_)
 Constructor. More...
 
void setSolutions (const Solutions &solutions_)
 
void setConstResiduals (Residual &const_residual_0_, Residual &const_residual_1_)
 
void setConstResidual (Residual &const_residual_)
 
void setTimeInLastStage ()
 
const LocalAssemblerlocalAssembler ()
 Public access to the wrapping local assembler.
 
bool requireSkeleton () const
 
template<typename EG , typename LFSU , typename LFSV >
void onBindLFSUV (const EG &eg, const LFSU &lfsu, const LFSV &lfsv)
 
template<typename LFSU >
void loadCoefficientsLFSUInside (const LFSU &lfsu_s)
 
void preAssembly ()
 
template<typename EG , typename LFSU , typename LFSV >
void assembleUVVolume (const EG &eg, const LFSU &lfsu, const LFSV &lfsv)
 
void onUnbindLFSUV (const EG &eg, const LFSU &lfsu, const LFSV &lfsv)
 
Assembling methods
bool skipEntity (const EG &eg)
 
bool skipIntersection (const IG &ig)
 

Detailed Description

template<typename OSLA>
class Dune::PDELab::OneStepLocalPreStageAssemblerEngine< OSLA >

The local assembler engine for one step methods which assembles the constant part of the residual vector.

Template Parameters
LAThe local one step assembler

Member Typedef Documentation

◆ LocalAssemblerDT0

template<typename OSLA >
typedef OSLA::LocalAssemblerDT0 Dune::PDELab::OneStepLocalPreStageAssemblerEngine< OSLA >::LocalAssemblerDT0

Types of the subordinate assemblers and engines

Constructor & Destructor Documentation

◆ OneStepLocalPreStageAssemblerEngine()

template<typename OSLA >
Dune::PDELab::OneStepLocalPreStageAssemblerEngine< OSLA >::OneStepLocalPreStageAssemblerEngine ( LocalAssembler la_)
inline

Constructor.

Parameters
[in]la_The local assembler object which creates this engine

Member Function Documentation

◆ assembleUVVolume()

template<typename OSLA >
template<typename EG , typename LFSU , typename LFSV >
void Dune::PDELab::OneStepLocalPreStageAssemblerEngine< OSLA >::assembleUVVolume ( const EG &  eg,
const LFSU &  lfsu,
const LFSV &  lfsv 
)
inline

@ Assembling methods

◆ loadCoefficientsLFSUInside()

template<typename OSLA >
template<typename LFSU >
void Dune::PDELab::OneStepLocalPreStageAssemblerEngine< OSLA >::loadCoefficientsLFSUInside ( const LFSU &  lfsu_s)
inline

Methods for loading of the local function's coefficients. These methods are empty. The loading of the coefficients is done after setting the solution in the assembleUVVolume(), assembleUVSkeleton(), assembleUVBoundary(), assembleUVProcessor(), assembleUVEnrichedCoupling() and assembleUVVolumePostSkeleton() calls.

◆ onBindLFSUV()

template<typename OSLA >
template<typename EG , typename LFSU , typename LFSV >
void Dune::PDELab::OneStepLocalPreStageAssemblerEngine< OSLA >::onBindLFSUV ( const EG &  eg,
const LFSU &  lfsu,
const LFSV &  lfsv 
)
inline

Methods for binding the local function space. These methods are empty. The binding of the local function space is done after setting the solution in the assembleUVVolume(), assembleUVSkeleton(), assembleUVBoundary(), assembleUVProcessor(), assembleUVEnrichedCoupling() and assembleUVVolumePostSkeleton() calls.

◆ onUnbindLFSUV()

void Dune::PDELab::OneStepLocalAssemblerEngineBase< OSLA, OSLA::LocalAssemblerDT0::LocalResidualAssemblerEngine , OSLA::LocalAssemblerDT1::LocalResidualAssemblerEngine >::onUnbindLFSUV ( const EG &  eg,
const LFSU &  lfsu,
const LFSV &  lfsv 
)
inlineinherited

Called when the local function space is about to be rebound or discarded

◆ preAssembly()

template<typename OSLA >
void Dune::PDELab::OneStepLocalPreStageAssemblerEngine< OSLA >::preAssembly ( )
inline

Notifier functions, called immediately before and after assembling

◆ requireSkeleton()

template<typename OSLA >
bool Dune::PDELab::OneStepLocalPreStageAssemblerEngine< OSLA >::requireSkeleton ( ) const
inline

Query methods for the global grid assembler

◆ setConstResidual()

template<typename OSLA >
void Dune::PDELab::OneStepLocalPreStageAssemblerEngine< OSLA >::setConstResidual ( Residual const_residual_)
inline

Set current const residual vector. Should be called prior to assembling.

Referenced by Dune::PDELab::OneStepLocalAssembler< GO, LA0, LA1 >::localPreStageAssemblerEngine().

◆ setConstResiduals()

template<typename OSLA >
void Dune::PDELab::OneStepLocalPreStageAssemblerEngine< OSLA >::setConstResiduals ( Residual const_residual_0_,
Residual const_residual_1_ 
)
inline

Set current const residual vector. Should be called prior to assembling.

Referenced by Dune::PDELab::OneStepLocalAssembler< GO, LA0, LA1 >::localExplicitJacobianResidualAssemblerEngine().

◆ setSolutions()

template<typename OSLA >
void Dune::PDELab::OneStepLocalPreStageAssemblerEngine< OSLA >::setSolutions ( const Solutions solutions_)
inline

◆ setTimeInLastStage()

template<typename OSLA >
void Dune::PDELab::OneStepLocalPreStageAssemblerEngine< OSLA >::setTimeInLastStage ( )
inline

Method setting time for la1 local assembler. This function must be called for explicit methods before jacobian_engine->assemble.. was called


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)