#include <users_modules/homogenisation/src/BCs_RVELagrange_Disp.hpp>
|
PetscErrorCode | shapeMat (int rank, unsigned int gg, DataForcesAndSourcesCore::EntData &col_data, MatrixDouble &N_mat) |
|
Definition at line 416 of file BCs_RVELagrange_Disp.hpp.
◆ shapeMat()
PetscErrorCode BCs_RVELagrange_Disp::CommonFunctions::shapeMat |
( |
int |
rank, |
|
|
unsigned int |
gg, |
|
|
DataForcesAndSourcesCore::EntData & |
col_data, |
|
|
MatrixDouble & |
N_mat |
|
) |
| |
|
inline |
Definition at line 417 of file BCs_RVELagrange_Disp.hpp.
417 {
418 PetscFunctionBegin;
419 int shape_size=col_data.getN().size2();
420
421
422 N_mat.resize(rank,shape_size*rank); N_mat.clear();
423 int gg1=0; int kk=0;
424 for(int ii=0; ii<shape_size; ii++){
425 for(int jj=0; jj<rank; jj++){
426
427 N_mat(jj,kk)=col_data.getN()(gg,gg1); kk++;
428 }
429 gg1++;
430 }
431 PetscFunctionReturn(0);
432 }
The documentation for this struct was generated from the following file: