|
| BackwardEulerProblem (OPTPROBLEM &OP) |
|
| ~BackwardEulerProblem () |
|
std::string | GetName () |
|
InitialProblem
< BackwardEulerProblem
< OPTPROBLEM, SPARSITYPATTERN,
VECTOR, dopedim, dealdim, FE,
DH >, VECTOR, dealdim > & | GetInitialProblem () |
|
BackwardEulerProblem
< OPTPROBLEM, SPARSITYPATTERN,
VECTOR, dopedim, dealdim, FE,
DH > & | GetBaseProblem () |
|
template<typename EDC > |
void | ElementEquation (const EDC &edc, dealii::Vector< double > &local_vector, double scale, double) |
|
template<typename EDC > |
void | ElementRhs (const EDC &edc, dealii::Vector< double > &local_vector, double scale) |
|
void | PointRhs (const std::map< std::string, const dealii::Vector< double > * > ¶m_values, const std::map< std::string, const VECTOR * > &domain_values, VECTOR &rhs_vector, double scale) |
|
template<typename EDC > |
void | ElementMatrix (const EDC &edc, dealii::FullMatrix< double > &local_matrix) |
|
template<typename FDC > |
void | FaceEquation (const FDC &fdc, dealii::Vector< double > &local_vector, double scale, double) |
|
template<typename FDC > |
void | InterfaceEquation (const FDC &fdc, dealii::Vector< double > &local_vector, double scale, double) |
|
template<typename FDC > |
void | FaceRhs (const FDC &fdc, dealii::Vector< double > &local_vector, double scale=1.) |
|
template<typename FDC > |
void | FaceMatrix (const FDC &fdc, dealii::FullMatrix< double > &local_matrix) |
|
template<typename FDC > |
void | InterfaceMatrix (const FDC &fdc, dealii::FullMatrix< double > &local_matrix) |
|
template<typename FDC > |
void | BoundaryEquation (const FDC &fdc, dealii::Vector< double > &local_vector, double scale, double) |
|
template<typename FDC > |
void | BoundaryRhs (const FDC &fdc, dealii::Vector< double > &local_vector, double scale) |
|
template<typename FDC > |
void | BoundaryMatrix (const FDC &fdc, dealii::FullMatrix< double > &local_matrix) |
|
| PrimalTSBase (OPTPROBLEM &OP) |
|
| ~PrimalTSBase () |
|
template<typename EDC > |
void | Init_ElementEquation (const EDC &edc, dealii::Vector< double > &local_vector, double scale, double scale_ico) |
|
template<typename EDC > |
void | Init_ElementRhs (const EDC &edc, dealii::Vector< double > &local_vector, double scale) |
|
template<typename EDC > |
void | Init_ElementMatrix (const EDC &edc, dealii::FullMatrix< double > &local_matrix, double scale, double scale_ico) |
|
void | Init_PointRhs (const std::map< std::string, const dealii::Vector< double > * > &, const std::map< std::string, const VECTOR * > &, VECTOR &, double) |
|
template<typename FDC > |
void | Init_FaceEquation (const FDC &, dealii::Vector< double > &, double, double) |
|
template<typename FDC > |
void | Init_InterfaceEquation (const FDC &, dealii::Vector< double > &, double, double) |
|
template<typename FDC > |
void | Init_BoundaryEquation (const FDC &, dealii::Vector< double > &, double, double) |
|
template<typename FDC > |
void | Init_FaceMatrix (const FDC &, FullMatrix< double > &, double, double) |
|
template<typename FDC > |
void | Init_InterfaceMatrix (const FDC &, FullMatrix< double > &, double, double) |
|
template<typename FDC > |
void | Init_BoundaryMatrix (const FDC &, FullMatrix< double > &, double, double) |
|
| TSBase (OPTPROBLEM &OP) |
|
| ~TSBase () |
|
void | SetStepPart (std::string s) |
|
void | SetTime (double time, const TimeIterator &interval, bool initial=false) |
|
template<typename DATACONTAINER > |
double | ElementFunctional (const DATACONTAINER &dc) |
|
double | PointFunctional (const std::map< std::string, const dealii::Vector< double > * > ¶m_values, const std::map< std::string, const VECTOR * > &domain_values) |
|
template<typename FACEDATACONTAINER > |
double | BoundaryFunctional (const FACEDATACONTAINER &fdc) |
|
template<typename FACEDATACONTAINER > |
double | FaceFunctional (const FACEDATACONTAINER &fdc) |
|
const dealii::SmartPointer
< const dealii::FESystem
< dealdim > > | GetFESystem () const |
|
bool | HasFaces () const |
|
bool | HasPoints () const |
|
bool | HasInterfaces () const |
|
dealii::UpdateFlags | GetUpdateFlags () const |
|
dealii::UpdateFlags | GetFaceUpdateFlags () const |
|
const std::vector< unsigned int > & | GetDirichletColors () const |
|
const std::vector< bool > & | GetDirichletCompMask (unsigned int color) const |
|
const dealii::Function< dealdim > & | GetDirichletValues (unsigned int color, const std::map< std::string, const dealii::Vector< double > * > ¶m_values, const std::map< std::string, const VECTOR * > &domain_values) const |
|
const dealii::Function< dealdim > & | GetInitialValues () const |
|
const std::vector< unsigned int > & | GetBoundaryEquationColors () const |
|
const std::vector< unsigned int > & | GetBoundaryFunctionalColors () const |
|
unsigned int | GetNFunctionals () const |
|
unsigned int | GetNBlocks () const |
|
unsigned int | GetDoFsPerBlock (unsigned int b) const |
|
const std::vector< unsigned int > & | GetDoFsPerBlock () const |
|
const dealii::ConstraintMatrix & | GetDoFConstraints () const |
|
std::string | GetType () const |
|
std::string | GetDoFType () const |
|
std::string | GetFunctionalType () const |
|
std::string | GetFunctionalName () const |
|
DOpEOutputHandler< VECTOR > * | GetOutputHandler () |
|
const SpaceTimeHandler< FE, DH,
SPARSITYPATTERN, VECTOR,
dopedim, dealdim > * | GetSpaceTimeHandler () const |
|
SpaceTimeHandler< FE, DH,
SPARSITYPATTERN, VECTOR,
dopedim, dealdim > * | GetSpaceTimeHandler () |
|
void | ComputeSparsityPattern (SPARSITYPATTERN &sparsity) const |
|
template<typename OPTPROBLEM, typename SPARSITYPATTERN, typename VECTOR, int dopedim, int dealdim, template< int, int > class FE = dealii::FESystem, template< int, int > class DH = dealii::DoFHandler>
class DOpE::BackwardEulerProblem< OPTPROBLEM, SPARSITYPATTERN, VECTOR, dopedim, dealdim, FE, DH >
Class to compute time dependent problems with the backward Euler time stepping scheme.
- Template Parameters
-
<OPTPROBLEM> | The problem to deal with. |
<SPARSITYPATTERN> | The sparsity pattern for control & state. |
<VECTOR> | The vector type for control & state (i.e. dealii::Vector<double> or dealii::BlockVector<double>) |
<dopedim> | The dimension for the control variable. |
<dealdim> | The dimension of the state variable. |
<FE> | The type of finite elements in use, must be compatible with the DH. |
<DH> | The type of the DoFHandler in use (to be more precise: The type of the dealii-DoFhandler which forms the base class of the DOpEWrapper::DoFHandler in use.) |
template<typename OPTPROBLEM , typename SPARSITYPATTERN , typename VECTOR , int dopedim, int dealdim, template< int, int > class FE = dealii::FESystem, template< int, int > class DH = dealii::DoFHandler>
template<typename EDC >
void DOpE::BackwardEulerProblem< OPTPROBLEM, SPARSITYPATTERN, VECTOR, dopedim, dealdim, FE, DH >::ElementMatrix |
( |
const EDC & |
edc, |
|
|
dealii::FullMatrix< double > & |
local_matrix |
|
) |
| |
|
inline |
Computes the value of the element matrix which is derived by computing the directional derivatives of the residuum equation of the PDE under consideration. This function itself contains a maximum of four subroutines of matrix equations: ElementMatrix, ElementMatrixExplicit, ElementTimeMatrix, ElementTimeMatrixExplicit. So far, all three types are needed for fluid-structure interaction problems: ElementMatrix: implicit terms, like pressure. ElementMatrixExplicit: stress tensors, fluid convection, etc. TimeMatrixExplicit: time derivatives of certain variables which are combined with transformations, etc.
In fluid problems, the ElementMatrix terms coincide. However the TimeMatrix terms differ: ElementTimeMatrix: time derivatives, e.g., dt v in direction v
This function is just considered in the `new' part. This is due to that directional derivatives vanish if they are applied to old values which are, of course, already computed and therefore constant.
- Template Parameters
-
<EDC> | A container that contains all relevant data needed on the element, e.g., element size, finite element values; see, e.g., ElementDataContainer |
- Parameters
-
edc | A DataContainer holding all the needed information of the element |
local_matrix | The local matrix is quadratic and has size local DoFs times local DoFs and is filled by the locally computed values. For more information of its functionality, please search for the keyword `FullMatrix' in the deal.ii manual. |