#include <users_modules/tutorials/adv-0/src/PlasticOps.hpp>
|
| OpCalculateContrainsRhs (const std::string field_name, boost::shared_ptr< CommonData > common_data_ptr) |
|
MoFEMErrorCode | iNtegrate (EntitiesFieldData::EntData &data) |
|
| OpBaseImpl (const std::string row_field_name, const std::string col_field_name, const OpType type) |
|
MoFEMErrorCode | doWork (int row_side, int col_side, EntityType row_type, EntityType col_type, EntData &row_data, EntData &col_data) |
| Do calculations for the left hand side. More...
|
|
MoFEMErrorCode | doWork (int row_side, EntityType row_type, EntData &row_data) |
| Do calculations for the right hand side. More...
|
|
Definition at line 137 of file PlasticOps.hpp.
◆ OpCalculateContrainsRhs()
PlasticOps::OpCalculateContrainsRhs::OpCalculateContrainsRhs |
( |
const std::string |
field_name, |
|
|
boost::shared_ptr< CommonData > |
common_data_ptr |
|
) |
| |
◆ iNtegrate()
- Examples
- PlasticOps.hpp, and PlasticOpsGeneric.hpp.
Definition at line 170 of file PlasticOpsGeneric.hpp.
173 const size_t nb_integration_pts = data.getN().size1();
174 const size_t nb_base_functions = data.getN().size2();
185 auto t_w = getFTensor0IntegrationWeight();
189 auto t_base = data.getFTensor0N();
190 for (
size_t gg = 0; gg != nb_integration_pts; ++gg) {
191 const double alpha = getMeasure() * t_w;
197 nf[bb] += beta * t_base;
200 for (; bb < nb_base_functions; ++bb)
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
static auto getFTensor0FromVec(ublas::vector< T, A > &data)
Get tensor rank 0 (scalar) form data vector.
double constrain(long double dot_tau, long double f, long double sigma_y)
VectorDouble locF
local entity vector
int nbRows
number of dofs on rows
◆ commonDataPtr
boost::shared_ptr<CommonData> PlasticOps::OpCalculateContrainsRhs::commonDataPtr |
|
private |
The documentation for this struct was generated from the following files: