|
| v0.14.0
|
Go to the documentation of this file.
6 #ifndef __NORM_OPERATORS_HPP__
7 #define __NORM_OPERATORS_HPP__
19 boost::shared_ptr<VectorDouble> diff_data_ptr =
nullptr,
20 boost::shared_ptr<Range> ent_ptr =
nullptr);
48 boost::shared_ptr<MatrixDouble> diff_data_ptr =
nullptr,
49 boost::shared_ptr<Range> ent_ptr =
nullptr);
71 template <
int DIM_1,
int DIM_2>
76 boost::shared_ptr<MatrixDouble> diff_data_ptr =
nullptr,
77 boost::shared_ptr<Range> ent_ptr =
nullptr);
97 typedef boost::function<
VectorDouble(
const double,
const double,
const double)>
125 template <
int SPACE_DIM,
int BASE_DIM>
148 #endif // __NORM_OPERATORS_HPP__
MoFEMErrorCode doWork(int side, EntityType type, EntitiesFieldData::EntData &data)
calculate values of vector function at integration points
Data on single entity (This is passed as argument to DataOperator::doWork)
boost::shared_ptr< VectorDouble > dataPtr
SmartPetscObj< Vec > dataVec
PetscErrorCode MoFEMErrorCode
MoFEM/PETSc error code.
OpCalcNormL2Tensor0(boost::shared_ptr< VectorDouble > data_ptr, SmartPetscObj< Vec > data_vec, const int index, boost::shared_ptr< VectorDouble > diff_data_ptr=nullptr, boost::shared_ptr< Range > ent_ptr=nullptr)
OpGetTensor1fromFunc(boost::shared_ptr< MatrixDouble > data_ptr, VectorFunc vector_function)
SmartPetscObj< Vec > dataVec
boost::shared_ptr< MatrixDouble > dataPtr
boost::function< VectorDouble(const double, const double, const double)> VectorFunc
boost::shared_ptr< MatrixDouble > dataPtr
Get norm of input MatrixDouble for Tensor2.
implementation of Data Operators for Forces and Sources
boost::shared_ptr< Range > entsPtr
OpCalcNormL2Tensor1(boost::shared_ptr< MatrixDouble > data_ptr, SmartPetscObj< Vec > data_vec, const int index, boost::shared_ptr< MatrixDouble > diff_data_ptr=nullptr, boost::shared_ptr< Range > ent_ptr=nullptr)
MoFEMErrorCode doWork(int side, EntityType type, EntitiesFieldData::EntData &data)
calculate norm of tensor values at integration points
boost::shared_ptr< VectorDouble > dataPtr
Get norm of input MatrixDouble for Tensor1.
boost::shared_ptr< MatrixDouble > diffDataPtr
Get values from scalar function at integration points and save them to VectorDouble for Tensor0.
boost::shared_ptr< MatrixDouble > dataPtr
MoFEMErrorCode doWork(int side, EntityType type, EntitiesFieldData::EntData &data)
calculate values of scalar function at integration points
SmartPetscObj< Vec > dataVec
boost::shared_ptr< Range > entsPtr
boost::shared_ptr< Range > entsPtr
Get norm of input VectorDouble for Tensor0.
OpCalcNormL2Tensor2(boost::shared_ptr< MatrixDouble > data_ptr, SmartPetscObj< Vec > data_vec, const int index, boost::shared_ptr< MatrixDouble > diff_data_ptr=nullptr, boost::shared_ptr< Range > ent_ptr=nullptr)
OpGetTensor0fromFunc(boost::shared_ptr< VectorDouble > data_ptr, ScalarFun scalar_function)
UBlasVector< double > VectorDouble
MoFEMErrorCode doWork(int side, EntityType type, EntitiesFieldData::EntData &data)
calculate norm of vector values at integration points
boost::shared_ptr< VectorDouble > diffDataPtr
boost::shared_ptr< MatrixDouble > diffDataPtr
MoFEMErrorCode doWork(int side, EntityType type, EntitiesFieldData::EntData &data)
calculate norm of scalar values at integration points