DUNE PDELab (git)

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

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

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

Public Types

typedef OSLA OneStepLocalAssembler
 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 OSLA::LocalAssemblerDT0 LocalAssemblerDT0
 

Public Member Functions

 OneStepLocalResidualAssemblerEngine (const LocalAssembler &local_assembler_)
 Constructor. More...
 
void setSolution (const Solution &solution_)
 
void setConstResidual (const Residual &const_residual_)
 
void setResidual (Residual &residual_)
 
void setConstResiduals (const Residual &const_residual_0_, const Residual &const_residual_1_)
 
void setResiduals (Residual &residual_0_, Residual &residual_1_)
 
void setWeights ()
 
const LocalAssembler & localAssembler ()
 Public access to the wrapping local assembler.
 
void preAssembly ()
 
bool requireSkeleton () const
 
void onBindLFSUV (const EG &eg, const LFSU &lfsu, const LFSV &lfsv)
 
void onUnbindLFSUV (const EG &eg, const LFSU &lfsu, const LFSV &lfsv)
 
void loadCoefficientsLFSUInside (const LFSU &lfsu_s)
 
Assembling methods
bool skipEntity (const EG &eg)
 
bool skipIntersection (const IG &ig)
 
void assembleUVVolume (const EG &eg, const LFSU &lfsu, const LFSV &lfsv)
 
void assembleVVolume (const EG &eg, const LFSV &lfsv)
 
void assembleUVSkeleton (const IG &ig, const LFSU_S &lfsu_s, const LFSV_S &lfsv_s, const LFSU_N &lfsu_n, const LFSV_N &lfsv_n)
 
void assembleVSkeleton (const IG &ig, const LFSV_S &lfsv_s, const LFSV_N &lfsv_n)
 
void assembleUVBoundary (const IG &ig, const LFSU_S &lfsu_s, const LFSV_S &lfsv_s)
 
void assembleVBoundary (const IG &ig, const LFSV_S &lfsv_s)
 
void assembleUVProcessor (const IG &ig, const LFSU_S &lfsu_s, const LFSV_S &lfsv_s)
 
void assembleVProcessor (const IG &ig, const LFSV_S &lfsv_s)
 
void assembleUVEnrichedCoupling (const IG &ig, const LFSU_S &lfsu_s, const LFSV_S &lfsv_s, const LFSU_N &lfsu_n, const LFSV_N &lfsv_n, const LFSU_C &lfsu_c, const LFSV_C &lfsv_c)
 
void assembleVEnrichedCoupling (const IG &ig, const LFSV_S &lfsv_s, const LFSV_N &lfsv_n, const LFSV_C &lfsv_c)
 
void assembleUVVolumePostSkeleton (const EG &eg, const LFSU &lfsu, const LFSV &lfsv)
 
void assembleVVolumePostSkeleton (const EG &eg, const LFSV &lfsv)
 

Detailed Description

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

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

Template Parameters
LAThe local one step assembler

Member Typedef Documentation

◆ LocalAssemblerDT0

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

Types of the subordinate assemblers and engines

Constructor & Destructor Documentation

◆ OneStepLocalResidualAssemblerEngine()

template<typename OSLA >
Dune::PDELab::OneStepLocalResidualAssemblerEngine< OSLA >::OneStepLocalResidualAssemblerEngine ( const LocalAssembler &  local_assembler_)
inline

Constructor.

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

Member Function Documentation

◆ loadCoefficientsLFSUInside()

void Dune::PDELab::OneStepLocalAssemblerEngineBase< OSLA, OSLA::LocalAssemblerDT0::LocalResidualAssemblerEngine , OSLA::LocalAssemblerDT1::LocalResidualAssemblerEngine >::loadCoefficientsLFSUInside ( const LFSU &  lfsu_s)
inlineinherited

Methods for loading of the local function's coefficients.

◆ onBindLFSUV()

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

Called immediately after binding of local function space in global assembler.

◆ 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::OneStepLocalResidualAssemblerEngine< OSLA >::preAssembly ( )
inline

Notifier functions, called immediately before and after assembling

References Dune::PDELab::OneStepLocalResidualAssemblerEngine< OSLA >::setWeights().

◆ requireSkeleton()

bool Dune::PDELab::OneStepLocalAssemblerEngineBase< OSLA, OSLA::LocalAssemblerDT0::LocalResidualAssemblerEngine , OSLA::LocalAssemblerDT1::LocalResidualAssemblerEngine >::requireSkeleton ( ) const
inlineinherited

Query methods for the global grid assembler

◆ setConstResidual()

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

Set current const residual vector. Must be called before setResidual(). Should be called prior to assembling.

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

◆ setConstResiduals()

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

Set current const residual vectors. Must be called before setResidual(). Should be called prior to assembling. Here, separate vectors are used for the operators corresponding to the time dervatives of order one and zero.

◆ setResidual()

template<typename OSLA >
void Dune::PDELab::OneStepLocalResidualAssemblerEngine< OSLA >::setResidual ( Residual residual_)
inline

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

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

◆ setResiduals()

template<typename OSLA >
void Dune::PDELab::OneStepLocalResidualAssemblerEngine< OSLA >::setResiduals ( Residual residual_0_,
Residual residual_1_ 
)
inline

Set current const residual vectors. Should be called prior to assembling. Here, separate vectors are used for the operators corresponding to the time dervatives of order one and zero.

◆ setSolution()

template<typename OSLA >
void Dune::PDELab::OneStepLocalResidualAssemblerEngine< OSLA >::setSolution ( const Solution solution_)
inline

Set current solution vector. Must be called before setResidual(). Should be called prior to assembling.

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

◆ setWeights()

template<typename OSLA >
void Dune::PDELab::OneStepLocalResidualAssemblerEngine< OSLA >::setWeights ( )
inline

When multiple engines are combined in one assembling procedure, this method allows to reset the weights which may have been changed by the other engines.

Referenced by Dune::PDELab::OneStepLocalResidualAssemblerEngine< OSLA >::preAssembly().


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 23, 23:29, 2024)