10 #if !defined(KRATOS_EIGENVECTOR_TO_SOLUTION_STEP_VARIABLE_TRANSFER_UTILITY)
11 #define KRATOS_EIGENVECTOR_TO_SOLUTION_STEP_VARIABLE_TRANSFER_UTILITY
83 Matrix& rNodeEigenvectors = itNode->GetValue(EIGENVECTOR_MATRIX);
85 for (
auto itDof = std::begin(rNodeDofs); itDof !=
std::end(rNodeDofs); itDof++)
86 (*itDof)->GetSolutionStepValue(
step) = rNodeEigenvectors(iEigenMode,
j++);
Transfer eigenvectors to solution step variables for GiD output or solution initialization.
Definition: eigenvector_to_solution_step_variable_transfer_utility.hpp:55
EigenvectorToSolutionStepVariableTransferUtility()
Definition: eigenvector_to_solution_step_variable_transfer_utility.hpp:66
virtual ~EigenvectorToSolutionStepVariableTransferUtility()
Definition: eigenvector_to_solution_step_variable_transfer_utility.hpp:68
void Transfer(ModelPart &rModelPart, int iEigenMode, int step=0)
Definition: eigenvector_to_solution_step_variable_transfer_utility.hpp:78
KRATOS_CLASS_POINTER_DEFINITION(EigenvectorToSolutionStepVariableTransferUtility)
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
NodeIterator NodesBegin(IndexType ThisIndex=0)
Definition: model_part.h:487
NodeIterator NodesEnd(IndexType ThisIndex=0)
Definition: model_part.h:497
std::vector< std::unique_ptr< Dof< double > >> DofsContainerType
The DoF container type definition.
Definition: node.h:92
end
Definition: DEM_benchmarks.py:180
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
int step
Definition: face_heat.py:88
int j
Definition: quadrature.py:648