#include <users_modules/homogenisation/src/BCs_RVELagrange_Trac.hpp>
Definition at line 31 of file BCs_RVELagrange_Trac.hpp.
◆ hMat()
PetscErrorCode BCs_RVELagrange_Trac::CommonFunctions::hMat |
( |
VectorDouble |
face_normal, |
|
|
int |
rank, |
|
|
MatrixDouble & |
n_mat, |
|
|
MatrixDouble & |
h_mat |
|
) |
| |
|
inline |
Definition at line 58 of file BCs_RVELagrange_Trac.hpp.
71 if(face_normal[0]>0) {
75 }
else if(face_normal[0]<0) {
79 }
else if(face_normal[1]>0) {
83 }
else if(face_normal[1]<0) {
87 }
else if(face_normal[2]>0) {
91 }
else if(face_normal[2]<0) {
96 SETERRQ(PETSC_COMM_SELF,MOFEM_IMPOSIBLE_CASE,
"Can not be ?!");
99 int num_col = n_mat.size2();
100 h_mat.resize(6,num_col);
103 for(
int bb = 0; bb<num_col/3; bb++) {
105 for(
int rr = 0; rr<6; rr++) {
106 for(
int cc = 0; cc<3; cc++) {
119 if(face_normal[0]>0) {
122 if(face_normal[0]<0) {
125 if(face_normal[1]>0) {
128 if(face_normal[1]<0) {
131 if(face_normal[2]>0) {
134 if(face_normal[2]<0) {
138 int num_col = n_mat.size2();
139 h_mat.resize(3,num_col);
142 for(
int bb = 0; bb<num_col; bb++) {
144 for(
int rr = 0; rr<3; rr++) {
145 for(
int cc = 0; cc<1; cc++) {
157 PetscFunctionReturn(0);
◆ shapeMat()
Definition at line 33 of file BCs_RVELagrange_Trac.hpp.
38 int shape_size = col_data.getN().size2();
40 n.resize(rank,shape_size*rank);
44 for(
int ii=0; ii<shape_size; ii++){
45 double val = col_data.getN()(gg,ii);
46 for(
int jj=0; jj<rank; jj++){
52 PetscFunctionReturn(0);
◆ H_mat_1Node
MatrixDouble BCs_RVELagrange_Trac::CommonFunctions::H_mat_1Node |
The documentation for this struct was generated from the following file: