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

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

#include <trilinos_fractional_step_settings_periodic.h>

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

Public Member Functions

Life Cycle
 TrilinosFractionalStepSettingsPeriodic (Epetra_MpiComm &rComm, ModelPart &rModelPart, const unsigned int ThisDomainSize, const unsigned int ThisTimeOrder, const bool UseSlip, const bool MoveMeshFlag, const bool ReformDofSet, const Kratos::Variable< int > &rPeriodicVar)
 Constructor. More...
 
virtual ~TrilinosFractionalStepSettingsPeriodic ()
 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 (TrilinosFractionalStepSettingsPeriodic)
 Pointer definition of TrilinosFractionalStepSettingsPeriodic. 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::TrilinosFractionalStepSettingsPeriodic< 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::TrilinosFractionalStepSettingsPeriodic< TSparseSpace, TDenseSpace, TLinearSolver >::BaseType

◆ ProcessPointerType

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

◆ StrategyLabel

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

◆ StrategyPointerType

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

◆ StrategyType

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

◆ TurbulenceModelLabel

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

Constructor & Destructor Documentation

◆ TrilinosFractionalStepSettingsPeriodic()

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

Constructor.

◆ ~TrilinosFractionalStepSettingsPeriodic()

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

Destructor.

Member Function Documentation

◆ Info()

template<class TSparseSpace , class TDenseSpace , class TLinearSolver >
std::string Kratos::TrilinosFractionalStepSettingsPeriodic< 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::TrilinosFractionalStepSettingsPeriodic< TSparseSpace, TDenseSpace, TLinearSolver >::KRATOS_CLASS_POINTER_DEFINITION ( TrilinosFractionalStepSettingsPeriodic< TSparseSpace, TDenseSpace, TLinearSolver >  )

◆ PrintData()

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

◆ PrintInfo()

template<class TSparseSpace , class TDenseSpace , class TLinearSolver >
void Kratos::TrilinosFractionalStepSettingsPeriodic< 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::TrilinosFractionalStepSettingsPeriodic< 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::TrilinosFractionalStepSettingsPeriodic< TSparseSpace, TDenseSpace, TLinearSolver >::SetTurbulenceModel ( ProcessPointerType  pTurbulenceModel)
inlineoverridevirtual

◆ SetTurbulenceModel() [2/2]

template<class TSparseSpace , class TDenseSpace , class TLinearSolver >
void Kratos::TrilinosFractionalStepSettingsPeriodic< 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: