KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
List of all members
Kratos::TwoStepVPSolverSettings< TSparseSpace, TDenseSpace, TLinearSolver > Class Template Referenceabstract

Helper class to define solution strategies for TwoStepVPStrategy. More...

#include <solver_settings.h>

Inheritance diagram for Kratos::TwoStepVPSolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >:
Collaboration diagram for Kratos::TwoStepVPSolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >:

Public Member Functions

Life Cycle
 TwoStepVPSolverSettings (ModelPart &rModelPart, const unsigned int ThisDomainSize, const unsigned int ThisTimeOrder, const bool ReformDofSet)
 Constructor. More...
 
virtual ~TwoStepVPSolverSettings ()
 Destructor. More...
 
Access
virtual StrategyPointerType pGetStrategy (StrategyLabel const &rStrategyLabel)
 
virtual void SetStrategy (StrategyLabel const &rStrategyLabel, StrategyPointerType pStrategy)
 
virtual void SetStrategy (StrategyLabel const &rStrategyLabel, typename TLinearSolver::Pointer pLinearSolver, const double Tolerance, const unsigned int MaxIter)=0
 
virtual unsigned int GetDomainSize () const
 
virtual bool FindStrategy (StrategyLabel const &rStrategyLabel, StrategyPointerType &pThisStrategy)
 
virtual bool FindTolerance (StrategyLabel const &rStrategyLabel, double &rTolerance)
 
virtual bool FindMaxIter (StrategyLabel const &rStrategyLabel, unsigned int &rMaxIter)
 
virtual void SetEchoLevel (unsigned int EchoLevel)
 
virtual unsigned int GetEchoLevel ()
 
bool GetReformDofSet ()
 
Input and output
virtual std::string Info () const
 Turn back information as a string. More...
 
virtual void PrintInfo (std::ostream &rOStream) const
 Print information about this object. More...
 
virtual void PrintData (std::ostream &rOStream) const
 Print object's data. More...
 

Type Definitions

enum  StrategyLabel { Velocity , Pressure , NumLabels }
 
typedef SolvingStrategy< TSparseSpace, TDenseSpace > StrategyType
 
typedef StrategyType::Pointer StrategyPointerType
 
typedef Process::Pointer ProcessPointerType
 
 KRATOS_CLASS_POINTER_DEFINITION (TwoStepVPSolverSettings)
 Pointer definition of TwoStepVPSolverSettings. More...
 

Protected Access

std::map< StrategyLabel, StrategyPointerTypemStrategies
 
std::map< StrategyLabel, doublemTolerances
 
std::map< StrategyLabel, unsigned intmMaxIter
 
ModelPartGetModelPart ()
 

Detailed Description

template<class TSparseSpace, class TDenseSpace, class TLinearSolver>
class Kratos::TwoStepVPSolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >

Helper class to define solution strategies for TwoStepVPStrategy.

Member Typedef Documentation

◆ ProcessPointerType

template<class TSparseSpace , class TDenseSpace , class TLinearSolver >
typedef Process::Pointer Kratos::TwoStepVPSolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >::ProcessPointerType

◆ StrategyPointerType

template<class TSparseSpace , class TDenseSpace , class TLinearSolver >
typedef StrategyType::Pointer Kratos::TwoStepVPSolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >::StrategyPointerType

◆ StrategyType

template<class TSparseSpace , class TDenseSpace , class TLinearSolver >
typedef SolvingStrategy<TSparseSpace, TDenseSpace> Kratos::TwoStepVPSolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >::StrategyType

Member Enumeration Documentation

◆ StrategyLabel

template<class TSparseSpace , class TDenseSpace , class TLinearSolver >
enum Kratos::TwoStepVPSolverSettings::StrategyLabel
Enumerator
Velocity 
Pressure 
NumLabels 

Constructor & Destructor Documentation

◆ TwoStepVPSolverSettings()

template<class TSparseSpace , class TDenseSpace , class TLinearSolver >
Kratos::TwoStepVPSolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >::TwoStepVPSolverSettings ( ModelPart rModelPart,
const unsigned int  ThisDomainSize,
const unsigned int  ThisTimeOrder,
const bool  ReformDofSet 
)
inline

Constructor.

◆ ~TwoStepVPSolverSettings()

template<class TSparseSpace , class TDenseSpace , class TLinearSolver >
virtual Kratos::TwoStepVPSolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >::~TwoStepVPSolverSettings ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ FindMaxIter()

template<class TSparseSpace , class TDenseSpace , class TLinearSolver >
virtual bool Kratos::TwoStepVPSolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >::FindMaxIter ( StrategyLabel const &  rStrategyLabel,
unsigned int rMaxIter 
)
inlinevirtual

◆ FindStrategy()

template<class TSparseSpace , class TDenseSpace , class TLinearSolver >
virtual bool Kratos::TwoStepVPSolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >::FindStrategy ( StrategyLabel const &  rStrategyLabel,
StrategyPointerType pThisStrategy 
)
inlinevirtual

◆ FindTolerance()

template<class TSparseSpace , class TDenseSpace , class TLinearSolver >
virtual bool Kratos::TwoStepVPSolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >::FindTolerance ( StrategyLabel const &  rStrategyLabel,
double rTolerance 
)
inlinevirtual

◆ GetDomainSize()

template<class TSparseSpace , class TDenseSpace , class TLinearSolver >
virtual unsigned int Kratos::TwoStepVPSolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >::GetDomainSize ( ) const
inlinevirtual

◆ GetEchoLevel()

template<class TSparseSpace , class TDenseSpace , class TLinearSolver >
virtual unsigned int Kratos::TwoStepVPSolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >::GetEchoLevel ( )
inlinevirtual

◆ GetModelPart()

template<class TSparseSpace , class TDenseSpace , class TLinearSolver >
ModelPart& Kratos::TwoStepVPSolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >::GetModelPart ( )
inlineprotected

◆ GetReformDofSet()

template<class TSparseSpace , class TDenseSpace , class TLinearSolver >
bool Kratos::TwoStepVPSolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >::GetReformDofSet ( )
inline

◆ Info()

template<class TSparseSpace , class TDenseSpace , class TLinearSolver >
virtual std::string Kratos::TwoStepVPSolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >::Info ( ) const
inlinevirtual

Turn back information as a string.

Reimplemented in Kratos::TwoStepVPSettings< TSparseSpace, TDenseSpace, TLinearSolver >.

◆ KRATOS_CLASS_POINTER_DEFINITION()

template<class TSparseSpace , class TDenseSpace , class TLinearSolver >
Kratos::TwoStepVPSolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >::KRATOS_CLASS_POINTER_DEFINITION ( TwoStepVPSolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >  )

Pointer definition of TwoStepVPSolverSettings.

◆ pGetStrategy()

template<class TSparseSpace , class TDenseSpace , class TLinearSolver >
virtual StrategyPointerType Kratos::TwoStepVPSolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >::pGetStrategy ( StrategyLabel const &  rStrategyLabel)
inlinevirtual

◆ PrintData()

template<class TSparseSpace , class TDenseSpace , class TLinearSolver >
virtual void Kratos::TwoStepVPSolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >::PrintData ( std::ostream &  rOStream) const
inlinevirtual

◆ PrintInfo()

template<class TSparseSpace , class TDenseSpace , class TLinearSolver >
virtual void Kratos::TwoStepVPSolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >::PrintInfo ( std::ostream &  rOStream) const
inlinevirtual

Print information about this object.

Reimplemented in Kratos::TwoStepVPSettings< TSparseSpace, TDenseSpace, TLinearSolver >.

◆ SetEchoLevel()

template<class TSparseSpace , class TDenseSpace , class TLinearSolver >
virtual void Kratos::TwoStepVPSolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >::SetEchoLevel ( unsigned int  EchoLevel)
inlinevirtual

◆ SetStrategy() [1/2]

template<class TSparseSpace , class TDenseSpace , class TLinearSolver >
virtual void Kratos::TwoStepVPSolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >::SetStrategy ( StrategyLabel const &  rStrategyLabel,
StrategyPointerType  pStrategy 
)
inlinevirtual

◆ SetStrategy() [2/2]

template<class TSparseSpace , class TDenseSpace , class TLinearSolver >
virtual void Kratos::TwoStepVPSolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >::SetStrategy ( StrategyLabel const &  rStrategyLabel,
typename TLinearSolver::Pointer  pLinearSolver,
const double  Tolerance,
const unsigned int  MaxIter 
)
pure virtual

Member Data Documentation

◆ mMaxIter

template<class TSparseSpace , class TDenseSpace , class TLinearSolver >
std::map<StrategyLabel, unsigned int> Kratos::TwoStepVPSolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >::mMaxIter
protected

◆ mStrategies

template<class TSparseSpace , class TDenseSpace , class TLinearSolver >
std::map<StrategyLabel, StrategyPointerType> Kratos::TwoStepVPSolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >::mStrategies
protected

◆ mTolerances

template<class TSparseSpace , class TDenseSpace , class TLinearSolver >
std::map<StrategyLabel, double> Kratos::TwoStepVPSolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >::mTolerances
protected

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