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::EigenvectorToSolutionStepVariableTransferUtility Class Reference

Transfer eigenvectors to solution step variables for GiD output or solution initialization. More...

#include <eigenvector_to_solution_step_variable_transfer_utility.hpp>

Collaboration diagram for Kratos::EigenvectorToSolutionStepVariableTransferUtility:

Public Member Functions

Type Definitions
 KRATOS_CLASS_POINTER_DEFINITION (EigenvectorToSolutionStepVariableTransferUtility)
 
Life Cycle
 EigenvectorToSolutionStepVariableTransferUtility ()
 
virtual ~EigenvectorToSolutionStepVariableTransferUtility ()
 
Operations
void Transfer (ModelPart &rModelPart, int iEigenMode, int step=0)
 

Detailed Description

Transfer eigenvectors to solution step variables for GiD output or solution initialization.

Example Python Code:

Eigenvectors are first computed and stored in the nodal variable EIGENVECTOR_MATRIX.

for step in range(NumEigenvalues): main_model_part.ProcessInfo[TIME] = float(step+1) EigenvectorToSolutionStepVariableTransferUtility().Transfer(main_model_part,step,0) gid_output.PrintOutput()

Constructor & Destructor Documentation

◆ EigenvectorToSolutionStepVariableTransferUtility()

Kratos::EigenvectorToSolutionStepVariableTransferUtility::EigenvectorToSolutionStepVariableTransferUtility ( )
inline

◆ ~EigenvectorToSolutionStepVariableTransferUtility()

virtual Kratos::EigenvectorToSolutionStepVariableTransferUtility::~EigenvectorToSolutionStepVariableTransferUtility ( )
inlinevirtual

Member Function Documentation

◆ KRATOS_CLASS_POINTER_DEFINITION()

Kratos::EigenvectorToSolutionStepVariableTransferUtility::KRATOS_CLASS_POINTER_DEFINITION ( EigenvectorToSolutionStepVariableTransferUtility  )

◆ Transfer()

void Kratos::EigenvectorToSolutionStepVariableTransferUtility::Transfer ( ModelPart rModelPart,
int  iEigenMode,
int  step = 0 
)
inline

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