DOpE
Public Member Functions | Protected Member Functions
DOpE::IntegratorMixedDimensions< INTEGRATORDATACONT, VECTOR, SCALAR, dimlow, dimhigh > Class Template Reference

#include <integratormixeddims.h>

Public Member Functions

 IntegratorMixedDimensions (INTEGRATORDATACONT &idc)
 
 ~IntegratorMixedDimensions ()
 
void ReInit ()
 
template<typename PROBLEM >
void ComputeNonlinearResidual (PROBLEM &pde, VECTOR &residual, bool apply_boundary_values=true)
 
template<typename PROBLEM , typename MATRIX >
void ComputeMatrix (PROBLEM &pde, MATRIX &matrix)
 
template<typename PROBLEM >
void ComputeNonlinearRhs (PROBLEM &pde, VECTOR &residual, bool apply_boundary_values=true)
 
template<typename PROBLEM >
void ComputeLocalControlConstraints (PROBLEM &pde, VECTOR &constraints)
 
template<typename PROBLEM >
SCALAR ComputeDomainScalar (PROBLEM &pde)
 
template<typename PROBLEM >
SCALAR ComputePointScalar (PROBLEM &pde)
 
template<typename PROBLEM >
SCALAR ComputeBoundaryScalar (PROBLEM &pde)
 
template<typename PROBLEM >
SCALAR ComputeFaceScalar (PROBLEM &pde)
 
template<typename PROBLEM >
SCALAR ComputeAlgebraicScalar (PROBLEM &pde)
 
template<typename PROBLEM >
void ApplyInitialBoundaryValues (PROBLEM &pde, VECTOR &u)
 
template<typename PROBLEM >
void ApplyTransposedInitialBoundaryValues (PROBLEM &pde, VECTOR &u, SCALAR scale)
 
template<typename PROBLEM >
void ApplyNewtonBoundaryValues (PROBLEM &pde, VECTOR &u)
 
template<typename PROBLEM , typename MATRIX >
void ApplyNewtonBoundaryValues (PROBLEM &pde, MATRIX &matrix, VECTOR &rhs, VECTOR &sol)
 
void AddDomainData (std::string name, const VECTOR *new_data)
 
void DeleteDomainData (std::string name)
 
void AddParamData (std::string name, const dealii::Vector< SCALAR > *new_data)
 
void DeleteParamData (std::string name)
 
const INTEGRATORDATACONT & GetIntegratorDataContainer () const
 

Protected Member Functions

const std::map< std::string,
const VECTOR * > & 
GetDomainData () const
 
const std::map< std::string,
const dealii::Vector< SCALAR > * > & 
GetParamData () const
 
void AddPresetRightHandSide (double s, dealii::Vector< SCALAR > &residual) const
 

Detailed Description

template<typename INTEGRATORDATACONT, typename VECTOR, typename SCALAR, int dimlow, int dimhigh>
class DOpE::IntegratorMixedDimensions< INTEGRATORDATACONT, VECTOR, SCALAR, dimlow, dimhigh >

This class is used to integrate the righthand side, matrix and so on. This class is used when the control is 0 dimensional and the state is in dimension 1, 2, or 3. This is then used to ,,integrate'' residuals for the 0 dim variable that may depend upon integrals over the highdimensional domain for the other variable.

For details on the functions see Integrator.

INTEGRATORDATACONT The type of the integratordatacontainer, which has manages the basic data for integration (quadrature, elementdatacontainer, facedatacontainer etc.) VECTOR Class of the vectors which we use in the integrator. SCALAR Type of the scalars we use in the integrator. dimlow The dimension of the lowdimensional object (should be 0!) dimhigh The dimension of the highdimensional object (should be 1,2, or 3)

Constructor & Destructor Documentation

template<typename INTEGRATORDATACONT , typename VECTOR , typename SCALAR , int dimlow, int dimhigh>
DOpE::IntegratorMixedDimensions< INTEGRATORDATACONT, VECTOR, SCALAR, dimlow, dimhigh >::IntegratorMixedDimensions ( INTEGRATORDATACONT &  idc)
template<typename INTEGRATORDATACONT , typename VECTOR , typename SCALAR , int dimlow, int dimhigh>
DOpE::IntegratorMixedDimensions< INTEGRATORDATACONT, VECTOR, SCALAR, dimlow, dimhigh >::~IntegratorMixedDimensions ( )

Member Function Documentation

template<typename INTEGRATORDATACONT , typename VECTOR , typename SCALAR , int dimlow, int dimhigh>
void DOpE::IntegratorMixedDimensions< INTEGRATORDATACONT, VECTOR, SCALAR, dimlow, dimhigh >::AddDomainData ( std::string  name,
const VECTOR *  new_data 
)
inline
template<typename INTEGRATORDATACONT , typename VECTOR , typename SCALAR , int dimlow, int dimhigh>
void DOpE::IntegratorMixedDimensions< INTEGRATORDATACONT, VECTOR, SCALAR, dimlow, dimhigh >::AddParamData ( std::string  name,
const dealii::Vector< SCALAR > *  new_data 
)
inline
template<typename INTEGRATORDATACONT , typename VECTOR , typename SCALAR , int dimlow, int dimhigh>
void DOpE::IntegratorMixedDimensions< INTEGRATORDATACONT, VECTOR, SCALAR, dimlow, dimhigh >::AddPresetRightHandSide ( double  s,
dealii::Vector< SCALAR > &  residual 
) const
inlineprotected
template<typename INTEGRATORDATACONT , typename VECTOR , typename SCALAR , int dimlow, int dimhigh>
template<typename PROBLEM >
void DOpE::IntegratorMixedDimensions< INTEGRATORDATACONT, VECTOR, SCALAR, dimlow, dimhigh >::ApplyInitialBoundaryValues ( PROBLEM &  pde,
VECTOR &  u 
)
template<typename INTEGRATORDATACONT , typename VECTOR , typename SCALAR , int dimlow, int dimhigh>
template<typename PROBLEM >
void DOpE::IntegratorMixedDimensions< INTEGRATORDATACONT, VECTOR, SCALAR, dimlow, dimhigh >::ApplyNewtonBoundaryValues ( PROBLEM &  pde,
VECTOR &  u 
)
template<typename INTEGRATORDATACONT , typename VECTOR , typename SCALAR , int dimlow, int dimhigh>
template<typename PROBLEM , typename MATRIX >
void DOpE::IntegratorMixedDimensions< INTEGRATORDATACONT, VECTOR, SCALAR, dimlow, dimhigh >::ApplyNewtonBoundaryValues ( PROBLEM &  pde,
MATRIX &  matrix,
VECTOR &  rhs,
VECTOR &  sol 
)
template<typename INTEGRATORDATACONT , typename VECTOR , typename SCALAR , int dimlow, int dimhigh>
template<typename PROBLEM >
void DOpE::IntegratorMixedDimensions< INTEGRATORDATACONT, VECTOR, SCALAR, dimlow, dimhigh >::ApplyTransposedInitialBoundaryValues ( PROBLEM &  pde,
VECTOR &  u,
SCALAR  scale 
)
template<typename INTEGRATORDATACONT , typename VECTOR , typename SCALAR , int dimlow, int dimhigh>
template<typename PROBLEM >
SCALAR DOpE::IntegratorMixedDimensions< INTEGRATORDATACONT, VECTOR, SCALAR, dimlow, dimhigh >::ComputeAlgebraicScalar ( PROBLEM &  pde)
template<typename INTEGRATORDATACONT , typename VECTOR , typename SCALAR , int dimlow, int dimhigh>
template<typename PROBLEM >
SCALAR DOpE::IntegratorMixedDimensions< INTEGRATORDATACONT, VECTOR, SCALAR, dimlow, dimhigh >::ComputeBoundaryScalar ( PROBLEM &  pde)
template<typename INTEGRATORDATACONT , typename VECTOR , typename SCALAR , int dimlow, int dimhigh>
template<typename PROBLEM >
SCALAR DOpE::IntegratorMixedDimensions< INTEGRATORDATACONT, VECTOR, SCALAR, dimlow, dimhigh >::ComputeDomainScalar ( PROBLEM &  pde)
template<typename INTEGRATORDATACONT , typename VECTOR , typename SCALAR , int dimlow, int dimhigh>
template<typename PROBLEM >
SCALAR DOpE::IntegratorMixedDimensions< INTEGRATORDATACONT, VECTOR, SCALAR, dimlow, dimhigh >::ComputeFaceScalar ( PROBLEM &  pde)
template<typename INTEGRATORDATACONT , typename VECTOR , typename SCALAR , int dimlow, int dimhigh>
template<typename PROBLEM >
void DOpE::IntegratorMixedDimensions< INTEGRATORDATACONT, VECTOR, SCALAR, dimlow, dimhigh >::ComputeLocalControlConstraints ( PROBLEM &  pde,
VECTOR &  constraints 
)
template<typename INTEGRATORDATACONT , typename VECTOR , typename SCALAR , int dimlow, int dimhigh>
template<typename PROBLEM , typename MATRIX >
void DOpE::IntegratorMixedDimensions< INTEGRATORDATACONT, VECTOR, SCALAR, dimlow, dimhigh >::ComputeMatrix ( PROBLEM &  pde,
MATRIX &  matrix 
)
template<typename INTEGRATORDATACONT , typename VECTOR , typename SCALAR , int dimlow, int dimhigh>
template<typename PROBLEM >
void DOpE::IntegratorMixedDimensions< INTEGRATORDATACONT, VECTOR, SCALAR, dimlow, dimhigh >::ComputeNonlinearResidual ( PROBLEM &  pde,
VECTOR &  residual,
bool  apply_boundary_values = true 
)
template<typename INTEGRATORDATACONT , typename VECTOR , typename SCALAR , int dimlow, int dimhigh>
template<typename PROBLEM >
void DOpE::IntegratorMixedDimensions< INTEGRATORDATACONT, VECTOR, SCALAR, dimlow, dimhigh >::ComputeNonlinearRhs ( PROBLEM &  pde,
VECTOR &  residual,
bool  apply_boundary_values = true 
)
template<typename INTEGRATORDATACONT , typename VECTOR , typename SCALAR , int dimlow, int dimhigh>
template<typename PROBLEM >
SCALAR DOpE::IntegratorMixedDimensions< INTEGRATORDATACONT, VECTOR, SCALAR, dimlow, dimhigh >::ComputePointScalar ( PROBLEM &  pde)
template<typename INTEGRATORDATACONT , typename VECTOR , typename SCALAR , int dimlow, int dimhigh>
void DOpE::IntegratorMixedDimensions< INTEGRATORDATACONT, VECTOR, SCALAR, dimlow, dimhigh >::DeleteDomainData ( std::string  name)
inline
template<typename INTEGRATORDATACONT , typename VECTOR , typename SCALAR , int dimlow, int dimhigh>
void DOpE::IntegratorMixedDimensions< INTEGRATORDATACONT, VECTOR, SCALAR, dimlow, dimhigh >::DeleteParamData ( std::string  name)
inline
template<typename INTEGRATORDATACONT , typename VECTOR , typename SCALAR , int dimlow, int dimhigh>
const std::map< std::string, const VECTOR * > & DOpE::IntegratorMixedDimensions< INTEGRATORDATACONT, VECTOR, SCALAR, dimlow, dimhigh >::GetDomainData ( ) const
inlineprotected
template<typename INTEGRATORDATACONT , typename VECTOR , typename SCALAR , int dimlow, int dimhigh>
const INTEGRATORDATACONT & DOpE::IntegratorMixedDimensions< INTEGRATORDATACONT, VECTOR, SCALAR, dimlow, dimhigh >::GetIntegratorDataContainer ( ) const
inline
template<typename INTEGRATORDATACONT , typename VECTOR , typename SCALAR , int dimlow, int dimhigh>
const std::map< std::string, const dealii::Vector< SCALAR > * > & DOpE::IntegratorMixedDimensions< INTEGRATORDATACONT, VECTOR, SCALAR, dimlow, dimhigh >::GetParamData ( ) const
inlineprotected
template<typename INTEGRATORDATACONT , typename VECTOR , typename SCALAR , int dimlow, int dimhigh>
void DOpE::IntegratorMixedDimensions< INTEGRATORDATACONT, VECTOR, SCALAR, dimlow, dimhigh >::ReInit ( )

The documentation for this class was generated from the following file: