MAST
utility.h File Reference
#include "base/mast_data_types.h"
#include "libmesh/parallel.h"
Include dependency graph for utility.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 MAST
 

Functions

template<typename ValType >
void MAST::transform_to_elem_vector (libMesh::DenseVector< ValType > &v, const DenseRealVector &v_real)
 
template<>
void MAST::transform_to_elem_vector (DenseRealVector &v, const DenseRealVector &v_real)
 
template<>
void MAST::transform_to_elem_vector (DenseComplexVector &v, const DenseRealVector &v_real)
 
template<typename ValType >
void MAST::transform_to_elem_matrix (libMesh::DenseMatrix< ValType > &m, const DenseRealMatrix &m_real)
 
template<>
void MAST::transform_to_elem_matrix (DenseRealMatrix &m, const DenseRealMatrix &m_real)
 
template<>
void MAST::transform_to_elem_matrix (DenseComplexMatrix &m, const DenseRealMatrix &m_real)
 
template<typename ValType >
void MAST::add_to_assembled_vector (RealVectorX &assembled_vec, const ValType &elem_vec)
 All calculations in MAST are done using Real numbers. More...
 
template<typename ValType >
void MAST::add_to_assembled_matrix (RealMatrixX &assembled_mat, const ValType &elem_mat)
 All calculations in MAST are done using Real numbers. More...
 
template<>
void MAST::add_to_assembled_matrix (RealMatrixX &assembled_mat, const RealMatrixX &elem_mat)
 
template<>
void MAST::add_to_assembled_vector (RealVectorX &assembled_vec, const RealVectorX &elem_vec)
 
template<>
void MAST::add_to_assembled_matrix (RealMatrixX &assembled_mat, const ComplexMatrixX &elem_mat)
 
template<>
void MAST::add_to_assembled_vector (RealVectorX &assembled_vec, const ComplexVectorX &elem_vec)
 
void MAST::copy (DenseRealMatrix &m1, const RealMatrixX &m2)
 
void MAST::copy (RealMatrixX &m2, const DenseRealMatrix &m1)
 
void MAST::copy (DenseRealVector &v1, const RealVectorX &v2)
 
void MAST::copy (RealVectorX &v1, const DenseRealVector &v2)
 
void MAST::parallel_sum (const libMesh::Parallel::Communicator &c, RealMatrixX &mat)
 
void MAST::parallel_sum (const libMesh::Parallel::Communicator &c, ComplexMatrixX &mat)