NuTo
Numerics Tool
Namespaces | Functions
DofVectorConvertEigen.h File Reference
#include "nuto/mechanics/dofs/DofVector.h"

Go to the source code of this file.

Namespaces

 NuTo
 

Functions

template<typename T >
int NuTo::TotalRows (const DofVector< T > &v, const std::vector< DofType > &dofs)
 
template<typename T >
Eigen::Matrix< T, Eigen::Dynamic, 1 > NuTo::ToEigen (const DofVector< T > &v, std::vector< DofType > dofs)
 export the dofs entries of a DofVector to a Eigen::VectorXT More...
 
template<typename T >
void NuTo::FromEigen (const Eigen::Matrix< T, Eigen::Dynamic, 1 > &source, std::vector< DofType > dofs, DofVector< T > *rDestination)
 imports a values into a properly sized DofVector More...