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.
|
Helper class to define solution strategies for FS_Strategy. More...
#include <trilinos_fractional_step_settings_periodic.h>
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 > | |
ModelPart & | GetModelPart () |
Protected Attributes inherited from Kratos::SolverSettings< TSparseSpace, TDenseSpace, TLinearSolver > | |
std::map< StrategyLabel, StrategyPointerType > | mStrategies |
std::map< StrategyLabel, double > | mTolerances |
std::map< StrategyLabel, unsigned int > | mMaxIter |
ProcessPointerType | mpTurbulenceModel |
bool | mHaveTurbulenceModel |
Helper class to define solution strategies for FS_Strategy.
typedef SolverSettings<TSparseSpace,TDenseSpace,TLinearSolver> Kratos::TrilinosFractionalStepSettingsPeriodic< TSparseSpace, TDenseSpace, TLinearSolver >::BaseType |
typedef BaseType::ProcessPointerType Kratos::TrilinosFractionalStepSettingsPeriodic< TSparseSpace, TDenseSpace, TLinearSolver >::ProcessPointerType |
typedef BaseType::StrategyLabel Kratos::TrilinosFractionalStepSettingsPeriodic< TSparseSpace, TDenseSpace, TLinearSolver >::StrategyLabel |
typedef BaseType::StrategyPointerType Kratos::TrilinosFractionalStepSettingsPeriodic< TSparseSpace, TDenseSpace, TLinearSolver >::StrategyPointerType |
typedef BaseType::StrategyType Kratos::TrilinosFractionalStepSettingsPeriodic< TSparseSpace, TDenseSpace, TLinearSolver >::StrategyType |
typedef BaseType::TurbulenceModelLabel Kratos::TrilinosFractionalStepSettingsPeriodic< TSparseSpace, TDenseSpace, TLinearSolver >::TurbulenceModelLabel |
|
inline |
Constructor.
|
inlinevirtual |
Destructor.
|
inlineoverridevirtual |
Turn back information as a string.
Reimplemented from Kratos::SolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >.
Kratos::TrilinosFractionalStepSettingsPeriodic< TSparseSpace, TDenseSpace, TLinearSolver >::KRATOS_CLASS_POINTER_DEFINITION | ( | TrilinosFractionalStepSettingsPeriodic< TSparseSpace, TDenseSpace, TLinearSolver > | ) |
Pointer definition of TrilinosFractionalStepSettingsPeriodic.
|
inlineoverridevirtual |
Print object's data.
Reimplemented from Kratos::SolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >.
|
inlineoverridevirtual |
Print information about this object.
Reimplemented from Kratos::SolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Reimplemented from Kratos::SolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >.
|
inlineoverridevirtual |
Reimplemented from Kratos::SolverSettings< TSparseSpace, TDenseSpace, TLinearSolver >.