[Common data]
More...
#include "users_modules/multifield-thermoplasticity-private/tutorials/adv-1/src/ContactOps.hpp"
[Common data]
Definition at line 14 of file ContactOps.hpp.
◆ constraintPtr() [1/2]
| auto ContactOps::CommonData::constraintPtr |
( |
| ) |
|
|
inline |
◆ constraintPtr() [2/2]
| auto ContactOps::CommonData::constraintPtr |
( |
| ) |
|
|
inline |
◆ contactDispGradPtr() [1/2]
| auto ContactOps::CommonData::contactDispGradPtr |
( |
| ) |
|
|
inline |
◆ contactDispGradPtr() [2/2]
| auto ContactOps::CommonData::contactDispGradPtr |
( |
| ) |
|
|
inline |
Definition at line 66 of file ContactOps.hpp.
66 {
67 return boost::shared_ptr<MatrixDouble>(shared_from_this(),
69 }
◆ 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 57 of file ContactOps.hpp.
57 {
58 return boost::shared_ptr<MatrixDouble>(shared_from_this(),
60 }
◆ createTotalTraction() [1/2]
| static auto ContactOps::CommonData::createTotalTraction |
( |
MoFEM::Interface & |
m_field | ) |
|
|
inlinestatic |
- Examples
- ContactOps.hpp, mofem/tutorials/adv-1/src/ContactOps.hpp, and mofem/users_modules/adolc-plasticity/adolc_plasticity.cpp.
Definition at line 31 of file ContactOps.hpp.
31 {
32 constexpr int ghosts[] = {0, 1, 2, 3, 4};
35
37
38 (m_field.get_comm_rank() == 0) ? 0 : 5, ghosts);
40 }
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 31 of file ContactOps.hpp.
31 {
32 constexpr int ghosts[] = {0, 1, 2, 3, 4};
35
37
38 (m_field.get_comm_rank() == 0) ? 0 : 5, ghosts);
40 }
◆ getFTensor1TotalTraction() [1/2]
| static auto ContactOps::CommonData::getFTensor1TotalTraction |
( |
| ) |
|
|
inlinestatic |
◆ getFTensor1TotalTraction() [2/2]
| static auto ContactOps::CommonData::getFTensor1TotalTraction |
( |
| ) |
|
|
inlinestatic |
Definition at line 42 of file ContactOps.hpp.
42 {
44 const double *t_ptr;
46 "get array");
48 t_ptr[4]};
50 "restore array");
52 } else {
54 }
55 }
◆ gradSdfPtr() [1/2]
| auto ContactOps::CommonData::gradSdfPtr |
( |
| ) |
|
|
inline |
◆ gradSdfPtr() [2/2]
| auto ContactOps::CommonData::gradSdfPtr |
( |
| ) |
|
|
inline |
Definition at line 75 of file ContactOps.hpp.
75 {
76 return boost::shared_ptr<MatrixDouble>(shared_from_this(), &
gradsSdf);
77 }
◆ hessSdfPtr() [1/2]
| auto ContactOps::CommonData::hessSdfPtr |
( |
| ) |
|
|
inline |
◆ hessSdfPtr() [2/2]
| auto ContactOps::CommonData::hessSdfPtr |
( |
| ) |
|
|
inline |
Definition at line 79 of file ContactOps.hpp.
79 {
80 return boost::shared_ptr<MatrixDouble>(shared_from_this(), &
hessSdf);
81 }
◆ sdfPtr() [1/2]
| auto ContactOps::CommonData::sdfPtr |
( |
| ) |
|
|
inline |
◆ sdfPtr() [2/2]
| auto ContactOps::CommonData::sdfPtr |
( |
| ) |
|
|
inline |
Definition at line 71 of file ContactOps.hpp.
71 {
72 return boost::shared_ptr<VectorDouble>(shared_from_this(), &
sdfVals);
73 }
◆ constraintVals
| VectorDouble CommonData::constraintVals |
◆ contactDisp
| MatrixDouble CommonData::contactDisp |
◆ contactDispGrad
| MatrixDouble CommonData::contactDispGrad |
◆ contactTraction
| MatrixDouble CommonData::contactTraction |
◆ gradsSdf
| MatrixDouble CommonData::gradsSdf |
◆ hessSdf
| MatrixDouble CommonData::hessSdf |
◆ sdfVals
| VectorDouble CommonData::sdfVals |
◆ totalTraction
| SmartPetscObj< Vec > CommonData::totalTraction |
|
static |
The documentation for this struct was generated from the following file:
- users_modules/multifield-thermoplasticity-private/tutorials/adv-1/src/ContactOps.hpp