41 mEigenOutputSettings(EigenOutputParameters) {};
50 void PrintEigenOutput(
51 const std::string& rLabel,
52 const int AnimationStep,
59 std::string
Info()
const override
61 return " VtkEigenOutput object ";
68 void PrintInfo(std::ostream& rOStream)
const override
70 rOStream <<
" VtkEigenOutput object " << std::endl;
74 void PrintData(std::ostream& rOStream)
const override
82 int mLastWrittenAnimationStepIndex = -1;
91 const std::string& rFileName,
92 const std::ios::openmode OpenModeFlags,
93 std::ofstream& rOutputFile)
const;
96 std::string GetEigenOutputFileName(
const int AnimationStep)
const;
99 void WriteScalarEigenVariable(
102 const std::string& rLabel,
103 std::ofstream& rFileStream)
const;
106 void WriteVectorEigenVariable(
109 const std::string& rLabel,
110 std::ofstream& rFileStream)
const;
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
MeshType::NodesContainerType NodesContainerType
Nodes container. Which is a vector set of nodes with their Id's as key.
Definition: model_part.h:128
This class provides to Kratos a data structure for I/O based on the standard of JSON.
Definition: kratos_parameters.h:59
VtkEigenOutput A simple class to write Eigenresults in Vtk format.
Definition: vtk_eigen_output.h:27
VtkEigenOutput(ModelPart &rModelPart, Parameters EigenOutputParameters, Parameters VtkParameters)
Definition: vtk_eigen_output.h:36
void PrintInfo(std::ostream &rOStream) const override
Prints information about the class.
Definition: vtk_eigen_output.h:68
virtual ~VtkEigenOutput()=default
Destructor.
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: vtk_eigen_output.h:74
KRATOS_CLASS_POINTER_DEFINITION(VtkEigenOutput)
Pointer definition of VtkEigenOutput.
std::string Info() const override
Turn back information as a string.
Definition: vtk_eigen_output.h:59
VtkOutput A simple class that has functionality to write vtk output.
Definition: vtk_output.h:35
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21