v0.16.0
Loading...
Searching...
No Matches
Static Public Member Functions | Static Private Attributes | List of all members
NonlinearElasticExample::TSElasticPostStep Struct Reference

#include "tutorials/vec-2_nonlinear_elasticity/src/NonlinearElasticExample.hpp"

Collaboration diagram for NonlinearElasticExample::TSElasticPostStep:
[legend]

Static Public Member Functions

static MoFEMErrorCode postStepInitialise (NonlinearElasticExample *example_ptr)
 
static MoFEMErrorCode postStepDestroy ()
 
static MoFEMErrorCode preStepFun (TS ts)
 
static MoFEMErrorCode postStepFun (TS ts)
 

Static Private Attributes

static NonlinearElasticExampleelasticExamplePtr
 

Detailed Description

Definition at line 46 of file NonlinearElasticExample.hpp.

Member Function Documentation

◆ postStepDestroy()

static MoFEMErrorCode NonlinearElasticExample::TSElasticPostStep::postStepDestroy ( )
inlinestatic
Examples
mofem/tutorials/vec-2_nonlinear_elasticity/src/NonlinearElasticExample.hpp.

Definition at line 53 of file NonlinearElasticExample.hpp.

53 {
54 elasticExamplePtr = nullptr;
55 return 0;
56 }
static NonlinearElasticExample * elasticExamplePtr

◆ postStepFun()

static MoFEMErrorCode NonlinearElasticExample::TSElasticPostStep::postStepFun ( TS  ts)
inlinestatic
Examples
mofem/tutorials/vec-2_nonlinear_elasticity/src/NonlinearElasticExample.hpp.

Definition at line 58 of file NonlinearElasticExample.hpp.

58 {
60 (void)ts;
62 auto dm = simple->getDM();
64 CHKERR DMoFEMLoopFiniteElements(dm, simple->getDomainFEName(),
66 }
68 }
void simple(double P1[], double P2[], double P3[], double c[], const int N)
Definition acoustic.cpp:69
#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()
#define CHKERR
Inline error check.
PetscErrorCode DMoFEMLoopFiniteElements(DM dm, const char fe_name[], MoFEM::FEMethod *method, CacheTupleWeakPtr cache_ptr=CacheTupleSharedPtr())
Executes FEMethod for finite elements in DM.
Definition DMMoFEM.cpp:576
MoFEMErrorCode getInterface(IFACE *&iface) const
Get interface reference to pointer of interface.
boost::shared_ptr< DomainEle > updateFe

◆ postStepInitialise()

static MoFEMErrorCode NonlinearElasticExample::TSElasticPostStep::postStepInitialise ( NonlinearElasticExample example_ptr)
inlinestatic
Examples
mofem/tutorials/vec-2_nonlinear_elasticity/src/NonlinearElasticExample.hpp.

Definition at line 49 of file NonlinearElasticExample.hpp.

49 {
50 elasticExamplePtr = example_ptr;
51 return 0;
52 }

◆ preStepFun()

static MoFEMErrorCode NonlinearElasticExample::TSElasticPostStep::preStepFun ( TS  ts)
inlinestatic

Member Data Documentation

◆ elasticExamplePtr

NonlinearElasticExample* NonlinearElasticExample::TSElasticPostStep::elasticExamplePtr
inlinestaticprivate

The documentation for this struct was generated from the following file: