|
|
| EigensolverStrategy (ModelPart &rModelPart, typename SchemeType::Pointer pScheme, typename BuilderAndSolverType::Pointer pBuilderAndSolver, Flags &rOptions, bool ComputeModalContribution=false) |
| Constructor. More...
|
|
| EigensolverStrategy (const EigensolverStrategy &Other)=delete |
| Deleted copy constructor. More...
|
|
| ~EigensolverStrategy () override |
| Destructor. More...
|
|
| EigensolverStrategy (ModelPart &rModelPart, SchemePointerType pScheme, BuilderAndSolverPointerType pBuilderAndSolver, double MassMatrixDiagonalValue, double StiffnessMatrixDiagonalValue, bool ComputeModalDecomposition=false) |
| Constructor. More...
|
|
| EigensolverStrategy (const EigensolverStrategy &Other)=delete |
| Deleted copy constructor. More...
|
|
| ~EigensolverStrategy () override |
| Destructor. More...
|
|
|
void | InitializeSolutionStep () override |
|
bool | SolveSolutionStep () override |
| Solves the current step. This function returns true if a solution has been found, false otherwise. More...
|
|
void | Clear () override |
|
int | Check () override |
|
void | SetIsInitialized (bool val) |
|
bool | GetIsInitialized () const |
|
void | SetScheme (SchemePointerType pScheme) |
|
SchemePointerType & | pGetScheme () |
|
void | SetBuilderAndSolver (BuilderAndSolverPointerType pNewBuilderAndSolver) |
|
BuilderAndSolverPointerType & | pGetBuilderAndSolver () |
|
SparseMatrixType & | GetMassMatrix () |
|
SparseMatrixType & | GetStiffnessMatrix () |
|
SparseMatrixPointerType & | pGetMassMatrix () |
|
SparseMatrixPointerType & | pGetStiffnessMatrix () |
|
void | SetReformDofSetAtEachStepFlag (bool flag) |
|
bool | GetReformDofSetAtEachStepFlag () const |
|
void | SetEchoLevel (int Level) override |
| Set verbosity level of the solving strategy. More...
|
|
void | Initialize () override |
|
void | Clear () override |
|
void | InitializeSolutionStep () override |
|
bool | SolveSolutionStep () override |
| Solves the current step. This function returns true if a solution has been found, false otherwise. More...
|
|
void | FinalizeSolutionStep () override |
| Performs all the required operations that should be done (for each step) after solving the solution step. More...
|
|
int | Check () override |
|
|
void | SetEchoLevel (const int Level) override |
| This sets the level of echo for the solution strategy. More...
|
|
void | SetScheme (typename SchemeType::Pointer pScheme) |
|
SchemeType::Pointer & | pGetScheme () |
|
void | SetBuilderAndSolver (typename BuilderAndSolverType::Pointer pBuilderAndSolver) |
|
BuilderAndSolverType::Pointer & | pGetBuilderAndSolver () |
|
SparseMatrixType & | GetMassMatrix () |
|
SparseMatrixType & | GetStiffnessMatrix () |
|
SparseMatrixPointerType & | pGetMassMatrix () |
|
SparseMatrixPointerType & | pGetStiffnessMatrix () |
|
| SolutionStrategy (ModelPart &rModelPart) |
| Constructor. More...
|
|
| SolutionStrategy (ModelPart &rModelPart, Flags &rOptions) |
| Constructor. More...
|
|
| ~SolutionStrategy () override |
| Destructor. More...
|
|
virtual bool | Solve () |
| The problem of interest is solved. More...
|
|
virtual bool | SolveIteration () |
| Solves the current iteration. This function returns true if a solution has been found, false otherwise. More...
|
|
virtual int | GetEchoLevel () |
| This returns the level of echo for the solution strategy. More...
|
|
void | SetOptions (Flags &rOptions) |
| Sets strategy options. More...
|
|
Flags & | GetOptions () |
| Get strategy options. More...
|
|
virtual unsigned int | GetMaxIterationNumber () |
| This method gets the flag mMaxIterationNumber. More...
|
|
ModelPart & | GetModelPart () |
| Operations to get the pointer to the model. More...
|
|
| KRATOS_CLASS_POINTER_DEFINITION (SolutionStrategy) |
| Pointer definition of SolutionStrategy. More...
|
|
Flags & | operator= (Flags const &rOther) |
| Assignment operator. More...
|
|
| operator bool () const |
|
Flags | operator~ () const |
|
bool | operator! () const |
|
void | AssignFlags (Flags const &rOther) |
|
void | Set (const Flags ThisFlag) |
|
void | Set (const Flags ThisFlag, bool Value) |
|
void | Reset (const Flags ThisFlag) |
|
void | Flip (const Flags ThisFlag) |
|
void | SetPosition (IndexType Position, bool Value=true) |
|
bool | GetPosition (IndexType Position) const |
|
void | FlipPosition (IndexType Position) |
|
void | ClearPosition (IndexType Position) |
|
void | Clear () |
|
Flags | AsFalse () const |
|
bool | Is (Flags const &rOther) const |
|
bool | IsDefined (Flags const &rOther) const |
|
bool | IsNot (Flags const &rOther) const |
|
bool | IsNotDefined (Flags const &rOther) const |
|
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...
|
|
| KRATOS_CLASS_POINTER_DEFINITION (Flags) |
| Pointer definition of Flags. More...
|
|
const Flags & | operator|= (const Flags &Other) |
|
const Flags & | operator&= (const Flags &Other) |
|
| Flags () |
| Default constructor. More...
|
|
| Flags (Flags const &rOther) |
| Copy constructor. More...
|
|
virtual | ~Flags () |
| Destructor. More...
|
|
| ImplicitSolvingStrategy () |
| Default constructor. More...
|
|
| ImplicitSolvingStrategy (ModelPart &rModelPart, Parameters ThisParameters) |
| Default constructor. (with parameters) More...
|
|
| ImplicitSolvingStrategy (ModelPart &rModelPart, bool MoveMeshFlag=false) |
| Default constructor. More...
|
|
virtual | ~ImplicitSolvingStrategy () |
|
BaseType::Pointer | Create (ModelPart &rModelPart, Parameters ThisParameters) const override |
| Create method. More...
|
|
void | SetRebuildLevel (int Level) override |
| This sets the build level. More...
|
|
int | GetRebuildLevel () const override |
| This returns the build level. More...
|
|
void | SetStiffnessMatrixIsBuilt (const bool StiffnessMatrixIsBuilt) |
| This method sets the flag mStiffnessMatrixIsBuilt. More...
|
|
bool | GetStiffnessMatrixIsBuilt () const |
| This method gets the flag mStiffnessMatrixIsBuilt. More...
|
|
std::string | Info () const override |
| Turn back information as a string. More...
|
|
| KRATOS_CLASS_POINTER_DEFINITION (ImplicitSolvingStrategy) |
|
Parameters | GetDefaultParameters () const override |
| This method provides the defaults parameters to avoid conflicts between the different constructors. More...
|
|
| SolvingStrategy () |
| Default constructor. More...
|
|
| SolvingStrategy (ModelPart &rModelPart, Parameters ThisParameters) |
| Default constructor. (with parameters) More...
|
|
| SolvingStrategy (ModelPart &rModelPart, bool MoveMeshFlag=false) |
| Default constructor. More...
|
|
virtual | ~SolvingStrategy () |
|
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...
|
|
| KRATOS_CLASS_POINTER_DEFINITION (SolvingStrategy) |
|
virtual void | Predict () |
| Operation to predict the solution ... if it is not called a trivial predictor is used in which the values of the solution step of interest are assumed equal to the old values. More...
|
|
virtual double | Solve () |
| The problem of interest is solved. More...
|
|
virtual bool | IsConverged () |
| This should be considered as a "post solution" convergence check which is useful for coupled analysis. More...
|
|
virtual void | CalculateOutputData () |
| This operations should be called before printing the results when non trivial results (e.g. stresses) need to be calculated given the solution of the step. More...
|
|
int | GetEchoLevel () |
| This returns the level of echo for the solving strategy. More...
|
|
void | SetMoveMeshFlag (bool Flag) |
| This function sets the flag that says if the mesh is moved. More...
|
|
bool | MoveMeshFlag () |
| This function returns the flag that says if the mesh is moved. More...
|
|
bool | GetMoveMeshFlag () |
| This function returns the flag that says if the mesh is moved. More...
|
|
virtual void | MoveMesh () |
| This function is designed to move the mesh. More...
|
|
ModelPart & | GetModelPart () |
| Operations to get the pointer to the model. More...
|
|
const ModelPart & | GetModelPart () const |
| Operations to get the pointer to the model. More...
|
|
virtual double | GetResidualNorm () |
| Operations to get the residual norm. More...
|
|
virtual TSystemMatrixType & | GetSystemMatrix () |
| This method returns the LHS matrix. More...
|
|
virtual TSystemVectorType & | GetSystemVector () |
| This method returns the RHS vector. More...
|
|
virtual TSystemVectorType & | GetSolutionVector () |
| This method returns the solution vector. More...
|
|
|
typedef SolverLocalFlags | LocalFlagType |
|
typedef ModelPart::DofsArrayType | DofsArrayType |
|
typedef TSparseSpace::MatrixType | SystemMatrixType |
|
typedef TSparseSpace::VectorType | SystemVectorType |
|
typedef TSparseSpace::MatrixPointerType | SystemMatrixPointerType |
|
typedef TSparseSpace::VectorPointerType | SystemVectorPointerType |
|
typedef SolutionScheme< TSparseSpace, TDenseSpace > | SchemeType |
|
typedef SolutionBuilderAndSolver< TSparseSpace, TDenseSpace, TLinearSolver > | BuilderAndSolverType |
|
enum | FlagsList {
Flag0 = BlockType(1)
, Flag1 = BlockType(1) << 1
, Flag2 = BlockType(1) << 2
, Flag3 = BlockType(1) << 3
,
Flag4 = BlockType(1) << 4
, Flag5 = BlockType(1) << 5
, Flag6 = BlockType(1) << 6
, Flag7 = BlockType(1) << 7
,
Flag8 = BlockType(1) << 8
, Flag9 = BlockType(1) << 9
, Flag10 = BlockType(1) << 10
, Flag11 = BlockType(1) << 11
,
Flag12 = BlockType(1) << 12
, Flag13 = BlockType(1) << 13
, Flag14 = BlockType(1) << 14
, Flag15 = BlockType(1) << 15
,
Flag16 = BlockType(1) << 16
, Flag17 = BlockType(1) << 17
, Flag18 = BlockType(1) << 18
, Flag19 = BlockType(1) << 19
,
Flag20 = BlockType(1) << 20
, Flag21 = BlockType(1) << 21
, Flag22 = BlockType(1) << 22
, Flag23 = BlockType(1) << 23
,
Flag24 = BlockType(1) << 24
, Flag25 = BlockType(1) << 25
, Flag26 = BlockType(1) << 26
, Flag27 = BlockType(1) << 27
,
Flag28 = BlockType(1) << 28
, Flag29 = BlockType(1) << 29
, Flag30 = BlockType(1) << 30
} |
|
typedef int64_t | BlockType |
|
typedef int64_t | FlagType |
|
typedef std::size_t | IndexType |
|
typedef SolvingStrategy< TSparseSpace, TDenseSpace > | BaseType |
|
typedef BaseType::TDataType | TDataType |
|
typedef BaseType::TSystemMatrixType | TSystemMatrixType |
|
typedef BaseType::TSystemVectorType | TSystemVectorType |
|
typedef BaseType::TSystemMatrixPointerType | TSystemMatrixPointerType |
|
typedef BaseType::TSystemVectorPointerType | TSystemVectorPointerType |
|
typedef BaseType::LocalSystemMatrixType | LocalSystemMatrixType |
|
typedef BaseType::LocalSystemVectorType | LocalSystemVectorType |
|
typedef Scheme< TSparseSpace, TDenseSpace > | TSchemeType |
|
typedef BuilderAndSolver< TSparseSpace, TDenseSpace, TLinearSolver > | TBuilderAndSolverType |
|
typedef ImplicitSolvingStrategy< TSparseSpace, TDenseSpace, TLinearSolver > | ClassType |
|
typedef BaseType::TDofType | TDofType |
|
typedef BaseType::DofsArrayType | DofsArrayType |
|
typedef BaseType::NodesArrayType | NodesArrayType |
|
typedef BaseType::ElementsArrayType | ElementsArrayType |
|
typedef BaseType::ConditionsArrayType | ConditionsArrayType |
|
typedef TSparseSpace::DataType | TDataType |
|
typedef TSparseSpace::MatrixType | TSystemMatrixType |
|
typedef TSparseSpace::VectorType | TSystemVectorType |
|
typedef TSparseSpace::MatrixPointerType | TSystemMatrixPointerType |
|
typedef TSparseSpace::VectorPointerType | TSystemVectorPointerType |
|
typedef TDenseSpace::MatrixType | LocalSystemMatrixType |
|
typedef TDenseSpace::VectorType | LocalSystemVectorType |
|
typedef SolvingStrategy< TSparseSpace, TDenseSpace > | ClassType |
|
typedef ModelPart::DofType | TDofType |
|
typedef ModelPart::DofsArrayType | DofsArrayType |
|
typedef ModelPart::NodesContainerType | NodesArrayType |
|
typedef ModelPart::ElementsContainerType | ElementsArrayType |
|
typedef ModelPart::ConditionsContainerType | ConditionsArrayType |
|
static const Flags | AllDefined () |
|
static const Flags | AllTrue () |
|
static Flags | Create (IndexType ThisPosition, bool Value=true) |
|
static std::string | Name () |
| Returns the name of the class as used in the settings (snake_case format) More...
|
|
static std::string | Name () |
| Returns the name of the class as used in the settings (snake_case format) More...
|
|
Flags | mOptions |
|
int | mEchoLevel |
|
int | mRebuildLevel |
|
bool | mStiffnessMatrixIsBuilt |
| The current rebuild level. More...
|
|
int | mEchoLevel |
|
template<class TSparseSpace, class TDenseSpace, class TLinearSolver>
class Kratos::EigensolverStrategy< TSparseSpace, TDenseSpace, TLinearSolver >
Strategy for solving generalized eigenvalue problems.