template<int DIM_0, int DIM_1>
struct OpCalculateDeformationGradient< DIM_0, DIM_1 >
- Examples
- mofem/tutorials/adv-4/dynamic_first_order_con_law.cpp.
Definition at line 338 of file dynamic_first_order_con_law.cpp.
◆ OpCalculateDeformationGradient()
template<int DIM_0, int DIM_1> 
 
 
◆ doWork()
template<int DIM_0, int DIM_1> 
 
- Examples
- mofem/tutorials/adv-4/dynamic_first_order_con_law.cpp.
Definition at line 346 of file dynamic_first_order_con_law.cpp.
  347                                                               {
  349    
  352 
  353    
  355 
  356    
  357    const size_t nb_gauss_pts = getGaussPts().size2();
  358 
  359    
  360    defGradPtr->resize(DIM_0 * DIM_1, nb_gauss_pts, 
false);
 
  362 
  363    
  364    auto t_F = getFTensor2FromMat<SPACE_DIM, SPACE_DIM>(*
defGradPtr);
 
  365    auto t_H = getFTensor2FromMat<SPACE_DIM, SPACE_DIM>(*
gradTensorPtr);
 
  366    for (auto gg = 0; gg != nb_gauss_pts; ++gg) {
  367 
  369 
  370      ++t_F;
  371      ++t_H;
  372    }
  373 
  375  }
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
FTensor::Index< 'i', SPACE_DIM > i
FTensor::Index< 'j', 3 > j
 
 
◆ defGradPtr
template<int DIM_0, int DIM_1> 
 
 
◆ gradTensorPtr
template<int DIM_0, int DIM_1> 
 
 
The documentation for this struct was generated from the following file: