#include <users_modules/homogenisation/src/BCs_RVELagrange_Periodic.hpp>
◆ shapeMat()
PetscErrorCode BCs_RVELagrange_Periodic::CommonFunctionsPeriodic::shapeMat |
( |
int |
rank, |
|
|
unsigned int |
gg, |
|
|
DataForcesAndSourcesCore::EntData & |
col_data, |
|
|
MatrixDouble & |
N_mat, |
|
|
int |
div = 1 |
|
) |
| |
|
inline |
Definition at line 91 of file BCs_RVELagrange_Periodic.hpp.
97 int shape_size=col_data.getN().size2()/div;
100 N_mat.resize(rank,shape_size*rank); N_mat.clear();
102 for(
int ii=0; ii<shape_size; ii++){
103 for(
int jj=0; jj<rank; jj++){
105 N_mat(jj,kk)=col_data.getN()(gg,gg1); kk++;
109 PetscFunctionReturn(0);
◆ shapeMatNew()
PetscErrorCode BCs_RVELagrange_Periodic::CommonFunctionsPeriodic::shapeMatNew |
( |
int |
rank, |
|
|
unsigned int |
gg, |
|
|
MatrixDouble & |
RowN, |
|
|
MatrixDouble & |
N_mat, |
|
|
int |
div = 1 |
|
) |
| |
|
inline |
Definition at line 114 of file BCs_RVELagrange_Periodic.hpp.
120 int shape_size=RowN.size2()/div;
123 N_mat.resize(rank,shape_size*rank); N_mat.clear();
125 for(
int ii=0; ii<shape_size; ii++){
126 for(
int jj=0; jj<rank; jj++){
128 N_mat(jj,kk)=RowN(gg,gg1); kk++;
132 PetscFunctionReturn(0);
The documentation for this struct was generated from the following file: