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

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

#include <trilinos_fractional_step_settings.h>

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

Public Member Functions

Life Cycle
 TrilinosFractionalStepSettings (Epetra_MpiComm &rComm, ModelPart &rModelPart, const unsigned int ThisDomainSize, const unsigned int ThisTimeOrder, const bool UseSlip, const bool MoveMeshFlag, const bool ReformDofSet)
 Constructor. More...
 
virtual ~TrilinosFractionalStepSettings ()
 Destructor. More...
 
Access
void SetStrategy (StrategyLabel const &rStrategyLabel, typename TLinearSolver::Pointer pLinearSolver, const double Tolerance, const unsigned int MaxIter) override
 
void SetTurbulenceModel (TurbulenceModelLabel const &rTurbulenceModel, typename TLinearSolver::Pointer pLinearSolver, const double Tolerance, const unsigned int MaxIter) override
 
void SetTurbulenceModel (ProcessPointerType pTurbulenceModel) override
 
Input and output
std::string Info () const override
 Turn back information as a string. More...
 
void PrintInfo (std::ostream &rOStream) const override
 Print information about this object. More...
 
void PrintData (std::ostream &rOStream) const override
 Print object's data. More...
 
- Public Member Functions inherited from Kratos::SolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >
 SolverSettings (ModelPart &rModelPart, const unsigned int ThisDomainSize, const unsigned int ThisTimeOrder, const bool UseSlip, const bool MoveMeshFlag, const bool ReformDofSet)
 Constructor. More...
 
virtual ~SolverSettings ()
 Destructor. More...
 
virtual StrategyPointerType pGetStrategy (StrategyLabel const &rStrategyLabel)
 
virtual void SetStrategy (StrategyLabel const &rStrategyLabel, StrategyPointerType pStrategy)
 
virtual bool GetTurbulenceModel (ProcessPointerType &pTurbulenceModel)
 
virtual unsigned int GetDomainSize () const
 
virtual unsigned int GetTimeOrder () const
 
virtual bool UseSlipConditions () const
 
virtual bool MoveMesh () 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 (SolverSettings)
 Pointer definition of SolverSettings. More...
 

Type Definitions

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

Additional Inherited Members

- Public Types inherited from Kratos::SolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >
enum  StrategyLabel { Velocity , Pressure , NumLabels }
 
enum  TurbulenceModelLabel { SpalartAllmaras , NumTurbModels }
 
typedef ImplicitSolvingStrategy< TSparseSpace, TDenseSpace, TLinearSolver > StrategyType
 
typedef StrategyType::Pointer StrategyPointerType
 
typedef Process::Pointer ProcessPointerType
 
typedef BuilderAndSolver< TSparseSpace, TDenseSpace, TLinearSolver > TBuilderAndSolverType
 
- Protected Member Functions inherited from Kratos::SolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >
ModelPartGetModelPart ()
 
- Protected Attributes inherited from Kratos::SolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >
std::map< StrategyLabel, StrategyPointerTypemStrategies
 
std::map< StrategyLabel, doublemTolerances
 
std::map< StrategyLabel, unsigned intmMaxIter
 
ProcessPointerType mpTurbulenceModel
 
bool mHaveTurbulenceModel
 

Detailed Description

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

Helper class to define solution strategies for FS_Strategy.

Member Typedef Documentation

◆ BaseType

template<class TSparseSpace , class TDenseSpace , class TLinearSolver >
typedef SolverSettings<TSparseSpace,TDenseSpace,TLinearSolver> Kratos::TrilinosFractionalStepSettings< TSparseSpace, TDenseSpace, TLinearSolver >::BaseType

◆ ProcessPointerType

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

◆ StrategyLabel

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

◆ StrategyPointerType

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

◆ StrategyType

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

◆ TurbulenceModelLabel

template<class TSparseSpace , class TDenseSpace , class TLinearSolver >
typedef BaseType::TurbulenceModelLabel Kratos::TrilinosFractionalStepSettings< TSparseSpace, TDenseSpace, TLinearSolver >::TurbulenceModelLabel

Constructor & Destructor Documentation

◆ TrilinosFractionalStepSettings()

template<class TSparseSpace , class TDenseSpace , class TLinearSolver >
Kratos::TrilinosFractionalStepSettings< TSparseSpace, TDenseSpace, TLinearSolver >::TrilinosFractionalStepSettings ( Epetra_MpiComm &  rComm,
ModelPart rModelPart,
const unsigned int  ThisDomainSize,
const unsigned int  ThisTimeOrder,
const bool  UseSlip,
const bool  MoveMeshFlag,
const bool  ReformDofSet 
)
inline

Constructor.

◆ ~TrilinosFractionalStepSettings()

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

Destructor.

Member Function Documentation

◆ Info()

template<class TSparseSpace , class TDenseSpace , class TLinearSolver >
std::string Kratos::TrilinosFractionalStepSettings< TSparseSpace, TDenseSpace, TLinearSolver >::Info ( ) const
inlineoverridevirtual

Turn back information as a string.

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

◆ KRATOS_CLASS_POINTER_DEFINITION()

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

Pointer definition of TrilinosFractionalStepSettings.

◆ PrintData()

template<class TSparseSpace , class TDenseSpace , class TLinearSolver >
void Kratos::TrilinosFractionalStepSettings< TSparseSpace, TDenseSpace, TLinearSolver >::PrintData ( std::ostream &  rOStream) const
inlineoverridevirtual

◆ PrintInfo()

template<class TSparseSpace , class TDenseSpace , class TLinearSolver >
void Kratos::TrilinosFractionalStepSettings< TSparseSpace, TDenseSpace, TLinearSolver >::PrintInfo ( std::ostream &  rOStream) const
inlineoverridevirtual

Print information about this object.

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

◆ SetStrategy()

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

◆ SetTurbulenceModel() [1/2]

template<class TSparseSpace , class TDenseSpace , class TLinearSolver >
void Kratos::TrilinosFractionalStepSettings< TSparseSpace, TDenseSpace, TLinearSolver >::SetTurbulenceModel ( ProcessPointerType  pTurbulenceModel)
inlineoverridevirtual

◆ SetTurbulenceModel() [2/2]

template<class TSparseSpace , class TDenseSpace , class TLinearSolver >
void Kratos::TrilinosFractionalStepSettings< TSparseSpace, TDenseSpace, TLinearSolver >::SetTurbulenceModel ( TurbulenceModelLabel const &  rTurbulenceModel,
typename TLinearSolver::Pointer  pLinearSolver,
const double  Tolerance,
const unsigned int  MaxIter 
)
inlineoverridevirtual

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