NuTo
Numerics Tool
Functions
NuTo::Assembler Namespace Reference

Functions

void Add (DofVector< double > &rResult, const DofVector< double > &v, const DofVector< int > &numbering, std::vector< DofType > dofTypes={})
 adds an arbitrary contribution v to the internal DofVector More...
 
void Add (DofMatrixSparse< double > &rSparseMatrix, const DofMatrix< double > &m, const DofVector< int > &numbering, std::vector< DofType > dofTypes={})
 adds an arbitrary contribution m to rSparseMatrix More...
 
void Add (DofMatrixContainer< std::vector< Eigen::Triplet< double >>> &rTriplets, const DofMatrix< double > &m, const DofVector< int > &numbering, std::vector< DofType > dofTypes={})
 adds an arbitrary contribution m to rSparseMatrix More...
 

Function Documentation

void NuTo::Assembler::Add ( DofVector< double > &  rResult,
const DofVector< double > &  v,
const DofVector< int > &  numbering,
std::vector< DofType dofTypes = {} 
)

adds an arbitrary contribution v to the internal DofVector

Parameters
vcontribution, e.g. a local element/cell vector
numberingmapping from local (0...numbering.size()) to global (0...sizes)
dofTypesspecific dof types to assemble - an empty value will assemble all available dof types from the numbering
void NuTo::Assembler::Add ( DofMatrixSparse< double > &  rSparseMatrix,
const DofMatrix< double > &  m,
const DofVector< int > &  numbering,
std::vector< DofType dofTypes = {} 
)

adds an arbitrary contribution m to rSparseMatrix

Parameters
mcontribution, e.g. a local element/cell matrix
numberingmapping from local (0...numbering.size()) to global (0...sizes)
dofTypesspecific dof types to assemble - an empty value will assemble all available dof types from the numbering
void NuTo::Assembler::Add ( DofMatrixContainer< std::vector< Eigen::Triplet< double >>> &  rTriplets,
const DofMatrix< double > &  m,
const DofVector< int > &  numbering,
std::vector< DofType dofTypes = {} 
)

adds an arbitrary contribution m to rSparseMatrix

Parameters
mcontribution, e.g. a local element/cell matrix
numberingmapping from local (0...numbering.size()) to global (0...sizes)
dofTypesspecific dof types to assemble - an empty value will assemble all available dof types from the numbering