#include "users_modules/mofem_um_homogenisation/src/BCs_RVELagrange_Disp.hpp"
|
| PetscErrorCode | shapeMat (int rank, unsigned int gg, DataForcesAndSurcesCore::EntData &col_data, MatrixDouble &N_mat) |
| |
Definition at line 398 of file BCs_RVELagrange_Disp.hpp.
◆ shapeMat()
| PetscErrorCode BCs_RVELagrange_Disp::CommonFunctions::shapeMat |
( |
int |
rank, |
|
|
unsigned int |
gg, |
|
|
DataForcesAndSurcesCore::EntData & |
col_data, |
|
|
MatrixDouble & |
N_mat |
|
) |
| |
|
inline |
Definition at line 399 of file BCs_RVELagrange_Disp.hpp.
399 {
400 PetscFunctionBegin;
401 int shape_size=col_data.getN().size2();
402
403
404 N_mat.resize(rank,shape_size*rank); N_mat.clear();
405 int gg1=0; int kk=0;
406 for(int ii=0; ii<shape_size; ii++){
407 for(int jj=0; jj<rank; jj++){
408
409 N_mat(jj,kk)=col_data.getN()(gg,gg1); kk++;
410 }
411 gg1++;
412 }
413 PetscFunctionReturn(0);
414 }
The documentation for this struct was generated from the following file: