[Common data]
More...
#include <users_modules/tutorials/adv-1/src/ContactOps.hpp>
[Common data]
Definition at line 14 of file ContactOps.hpp.
◆ constraintPtr()
auto ContactOps::CommonData::constraintPtr |
( |
| ) |
|
|
inline |
◆ contactDispPtr() [1/2]
auto ContactOps::CommonData::contactDispPtr |
( |
| ) |
|
|
inline |
◆ contactDispPtr() [2/2]
auto ContactOps::CommonData::contactDispPtr |
( |
| ) |
|
|
inline |
◆ contactTractionPtr() [1/2]
auto ContactOps::CommonData::contactTractionPtr |
( |
| ) |
|
|
inline |
◆ contactTractionPtr() [2/2]
auto ContactOps::CommonData::contactTractionPtr |
( |
| ) |
|
|
inline |
Definition at line 54 of file ContactOps.hpp.
54 {
55 return boost::shared_ptr<MatrixDouble>(shared_from_this(),
57 }
◆ createTotalTraction() [1/2]
static auto ContactOps::CommonData::createTotalTraction |
( |
MoFEM::Interface & |
m_field | ) |
|
|
inlinestatic |
- Examples
- ContactOps.hpp.
Definition at line 30 of file ContactOps.hpp.
30 {
31 constexpr int ghosts[] = {0, 1, 2};
34
36
39 }
auto createGhostVector(MPI_Comm comm, PetscInt n, PetscInt N, PetscInt nghost, const PetscInt ghosts[])
Create smart ghost vector.
virtual MPI_Comm & get_comm() const =0
virtual int get_comm_rank() const =0
◆ createTotalTraction() [2/2]
static auto ContactOps::CommonData::createTotalTraction |
( |
MoFEM::Interface & |
m_field | ) |
|
|
inlinestatic |
Definition at line 29 of file ContactOps.hpp.
29 {
30 constexpr int ghosts[] = {0, 1, 2};
33
35
38 }
◆ getFTensor1TotalTraction() [1/2]
static auto ContactOps::CommonData::getFTensor1TotalTraction |
( |
| ) |
|
|
inlinestatic |
- Examples
- ContactOps.hpp.
Definition at line 41 of file ContactOps.hpp.
41 {
43 const double *t_ptr;
45 "get array");
48 "restore array");
50 } else {
52 }
53 }
#define CHK_THROW_MESSAGE(err, msg)
Check and throw MoFEM exception.
constexpr double t
plate stiffness
◆ getFTensor1TotalTraction() [2/2]
static auto ContactOps::CommonData::getFTensor1TotalTraction |
( |
| ) |
|
|
inlinestatic |
Definition at line 40 of file ContactOps.hpp.
40 {
42 const double *t_ptr;
44 "get array");
47 "restore array");
49 } else {
51 }
52 }
◆ gradSdfPtr() [1/2]
auto ContactOps::CommonData::gradSdfPtr |
( |
| ) |
|
|
inline |
◆ gradSdfPtr() [2/2]
auto ContactOps::CommonData::gradSdfPtr |
( |
| ) |
|
|
inline |
Definition at line 67 of file ContactOps.hpp.
67 {
68 return boost::shared_ptr<MatrixDouble>(shared_from_this(), &
gradsSdf);
69 }
◆ hessSdfPtr() [1/2]
auto ContactOps::CommonData::hessSdfPtr |
( |
| ) |
|
|
inline |
◆ hessSdfPtr() [2/2]
auto ContactOps::CommonData::hessSdfPtr |
( |
| ) |
|
|
inline |
Definition at line 71 of file ContactOps.hpp.
71 {
72 return boost::shared_ptr<MatrixDouble>(shared_from_this(), &
hessSdf);
73 }
◆ sdfPtr() [1/2]
auto ContactOps::CommonData::sdfPtr |
( |
| ) |
|
|
inline |
◆ sdfPtr() [2/2]
auto ContactOps::CommonData::sdfPtr |
( |
| ) |
|
|
inline |
Definition at line 63 of file ContactOps.hpp.
63 {
64 return boost::shared_ptr<VectorDouble>(shared_from_this(), &
sdfVals);
65 }
◆ constraintVals
VectorDouble ContactOps::CommonData::constraintVals |
◆ contactDisp
MatrixDouble CommonData::contactDisp |
◆ contactTraction
MatrixDouble CommonData::contactTraction |
◆ gradsSdf
MatrixDouble CommonData::gradsSdf |
nb of rows is equals to dimension, and nb of cols is equals to number of gauss points on element
- Examples
- ContactOps.hpp.
Definition at line 20 of file ContactOps.hpp.
◆ hessSdf
MatrixDouble CommonData::hessSdf |
nb of rows is equals to nb of element of symmetric matrix, and nb of cols is equals to number of gauss points on element
- Examples
- ContactOps.hpp.
Definition at line 22 of file ContactOps.hpp.
◆ sdfVals
VectorDouble CommonData::sdfVals |
◆ totalTraction
SmartPetscObj< Vec > CommonData::totalTraction |
|
static |
The documentation for this struct was generated from the following files: