|
| v0.14.0
|
#include <users_modules/eshelbian_plasticit/src/EshelbianPlasticity.hpp>
|
| OpSpatialConsistency_dP_dP (std::string row_field, std::string col_field, boost::shared_ptr< DataAtIntegrationPts > data_ptr) |
|
MoFEMErrorCode | integrate (EntData &row_data, EntData &col_data) |
|
| OpAssembleVolume (const std::string &field, boost::shared_ptr< DataAtIntegrationPts > data_ptr, const char type) |
|
| OpAssembleVolume (std::string row_field, std::string col_field, boost::shared_ptr< DataAtIntegrationPts > data_ptr, const char type, const bool assemble_symmetry) |
|
| OpAssembleBasic (const std::string &field_name, boost::shared_ptr< DataAtIntegrationPts > data_ptr, const char type) |
|
| OpAssembleBasic (std::string row_field, std::string col_field, boost::shared_ptr< DataAtIntegrationPts > data_ptr, const char type, const bool assemble_symmetry, ScaleOff scale_off=[]() { return 1;}) |
|
virtual MoFEMErrorCode | integrate (EntData &data) |
|
virtual MoFEMErrorCode | integrate (int row_side, EntityType row_type, EntData &data) |
|
virtual MoFEMErrorCode | assemble (EntData &data) |
|
virtual MoFEMErrorCode | assemble (int row_side, EntityType row_type, EntData &data) |
|
virtual MoFEMErrorCode | assemble (int row_side, int col_side, EntityType row_type, EntityType col_type, EntData &row_data, EntData &col_data) |
|
MoFEMErrorCode | doWork (int side, EntityType type, EntData &data) |
|
MoFEMErrorCode | doWork (int row_side, int col_side, EntityType row_type, EntityType col_type, EntData &row_data, EntData &col_data) |
|
Definition at line 779 of file EshelbianPlasticity.hpp.
◆ OpSpatialConsistency_dP_dP()
EshelbianPlasticity::OpSpatialConsistency_dP_dP::OpSpatialConsistency_dP_dP |
( |
std::string |
row_field, |
|
|
std::string |
col_field, |
|
|
boost::shared_ptr< DataAtIntegrationPts > |
data_ptr |
|
) |
| |
|
inline |
◆ integrate()
◆ integrateImpl()
Definition at line 1396 of file EshelbianOperators.cpp.
1403 &
m(
r + 0,
c + 0), &
m(
r + 0,
c + 1), &
m(
r + 0,
c + 2),
1405 &
m(
r + 1,
c + 0), &
m(
r + 1,
c + 1), &
m(
r + 1,
c + 2),
1407 &
m(
r + 2,
c + 0), &
m(
r + 2,
c + 1), &
m(
r + 2,
c + 2)
1412 int nb_integration_pts = getGaussPts().size2();
1413 int row_nb_dofs = row_data.
getIndices().size();
1414 int col_nb_dofs = col_data.
getIndices().size();
1416 auto v = getVolume();
1417 auto t_w = getFTensor0IntegrationWeight();
1418 int row_nb_base_functions = row_data.
getN().size2() / 3;
1425 auto t_inv_D = getFTensor4DdgFromPtr<SPACE_DIM, SPACE_DIM, S>(
1429 for (
int gg = 0; gg != nb_integration_pts; ++gg) {
1433 for (; rr != row_nb_dofs / 3; ++rr) {
1435 auto t_m = get_ftensor2(
K, 3 * rr, 0);
1436 for (
int cc = 0; cc != col_nb_dofs / 3; ++cc) {
1437 t_m(
i,
k) +=
a * t_row_base(
j) * (t_inv_D(
i,
j,
k,
l) * t_col_base(
l));
1445 for (; rr != row_nb_base_functions; ++rr)
The documentation for this struct was generated from the following files:
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return()
constexpr static auto size_symm
UBlasMatrix< double > MatrixDouble
#define FTENSOR_INDEX(DIM, I)
const double c
speed of light (cm/ns)
const VectorInt & getIndices() const
Get global indices of dofs on entity.
boost::shared_ptr< DataAtIntegrationPts > dataAtPts
data at integration pts
FTensor::Index< 'i', SPACE_DIM > i
const double v
phase velocity of light in medium (cm/ns)
MatrixDouble & getN(const FieldApproximationBase base)
get base functions this return matrix (nb. of rows is equal to nb. of Gauss pts, nb....
FTensor::Index< 'j', 3 > j
FTensor::Tensor1< FTensor::PackPtr< double *, Tensor_Dim >, Tensor_Dim > getFTensor1N(FieldApproximationBase base)
Get base functions for Hdiv/Hcurl spaces.
FTensor::Index< 'm', 3 > m
#define MoFEMFunctionBeginHot
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
OpAssembleVolume(const std::string &field, boost::shared_ptr< DataAtIntegrationPts > data_ptr, const char type)
FTensor::Index< 'k', 3 > k
MatrixDouble K
local tangent matrix
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
FTensor::Index< 'l', 3 > l