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::TwoStepVPSettings< TSparseSpace, TDenseSpace, TLinearSolver > Class Template Reference

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

#include <two_step_v_p_settings.h>

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

Public Member Functions

Life Cycle
 TwoStepVPSettings (ModelPart &rModelPart, const unsigned int ThisDomainSize, const unsigned int ThisTimeOrder, const bool ReformDofSet)
 Constructor. More...
 
virtual ~TwoStepVPSettings ()
 Destructor. More...
 
Access
virtual void SetStrategy (StrategyLabel const &rStrategyLabel, typename TLinearSolver::Pointer pLinearSolver, const double Tolerance, const unsigned int MaxIter)
 
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...
 
- Public Member Functions inherited from Kratos::TwoStepVPSolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >
 TwoStepVPSolverSettings (ModelPart &rModelPart, const unsigned int ThisDomainSize, const unsigned int ThisTimeOrder, const bool ReformDofSet)
 Constructor. More...
 
virtual ~TwoStepVPSolverSettings ()
 Destructor. More...
 
virtual StrategyPointerType pGetStrategy (StrategyLabel const &rStrategyLabel)
 
virtual void SetStrategy (StrategyLabel const &rStrategyLabel, StrategyPointerType pStrategy)
 
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 ()
 
 KRATOS_CLASS_POINTER_DEFINITION (TwoStepVPSolverSettings)
 Pointer definition of TwoStepVPSolverSettings. More...
 

Type Definitions

typedef TwoStepVPSolverSettings< TSparseSpace, TDenseSpace, TLinearSolver > BaseType
 
typedef BaseType::StrategyType StrategyType
 
typedef BaseType::StrategyPointerType StrategyPointerType
 
typedef BaseType::ProcessPointerType ProcessPointerType
 
typedef BaseType::StrategyLabel StrategyLabel
 
 KRATOS_CLASS_POINTER_DEFINITION (TwoStepVPSettings)
 Pointer definition of TwoStepVPSettings. More...
 

Additional Inherited Members

- Public Types inherited from Kratos::TwoStepVPSolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >
enum  StrategyLabel { Velocity , Pressure , NumLabels }
 
typedef SolvingStrategy< TSparseSpace, TDenseSpace > StrategyType
 
typedef StrategyType::Pointer StrategyPointerType
 
typedef Process::Pointer ProcessPointerType
 
- Protected Member Functions inherited from Kratos::TwoStepVPSolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >
ModelPartGetModelPart ()
 
- Protected Attributes inherited from Kratos::TwoStepVPSolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >
std::map< StrategyLabel, StrategyPointerTypemStrategies
 
std::map< StrategyLabel, doublemTolerances
 
std::map< StrategyLabel, unsigned intmMaxIter
 

Detailed Description

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

Helper class to define solution strategies for FS_Strategy.

Member Typedef Documentation

◆ BaseType

template<class TSparseSpace , class TDenseSpace , class TLinearSolver >
typedef TwoStepVPSolverSettings<TSparseSpace, TDenseSpace, TLinearSolver> Kratos::TwoStepVPSettings< TSparseSpace, TDenseSpace, TLinearSolver >::BaseType

◆ ProcessPointerType

template<class TSparseSpace , class TDenseSpace , class TLinearSolver >
typedef BaseType::ProcessPointerType Kratos::TwoStepVPSettings< TSparseSpace, TDenseSpace, TLinearSolver >::ProcessPointerType

◆ StrategyLabel

template<class TSparseSpace , class TDenseSpace , class TLinearSolver >
typedef BaseType::StrategyLabel Kratos::TwoStepVPSettings< TSparseSpace, TDenseSpace, TLinearSolver >::StrategyLabel

◆ StrategyPointerType

template<class TSparseSpace , class TDenseSpace , class TLinearSolver >
typedef BaseType::StrategyPointerType Kratos::TwoStepVPSettings< TSparseSpace, TDenseSpace, TLinearSolver >::StrategyPointerType

◆ StrategyType

template<class TSparseSpace , class TDenseSpace , class TLinearSolver >
typedef BaseType::StrategyType Kratos::TwoStepVPSettings< TSparseSpace, TDenseSpace, TLinearSolver >::StrategyType

Constructor & Destructor Documentation

◆ TwoStepVPSettings()

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

Constructor.

◆ ~TwoStepVPSettings()

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

Destructor.

Member Function Documentation

◆ Info()

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

Turn back information as a string.

Reimplemented from Kratos::TwoStepVPSolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >.

◆ KRATOS_CLASS_POINTER_DEFINITION()

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

Pointer definition of TwoStepVPSettings.

◆ PrintData()

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

◆ PrintInfo()

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

Print information about this object.

Reimplemented from Kratos::TwoStepVPSolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >.

◆ SetStrategy()

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

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