v0.16.3
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 NonlinearElasticExample * elasticExamplePtr
 

Detailed Description

Definition at line 54 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 61 of file NonlinearElasticExample.hpp.

61 {
62 elasticExamplePtr = nullptr;
63 return 0;
64 }
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 66 of file NonlinearElasticExample.hpp.

66 {
68 (void)ts;
70 auto dm = simple->getDM();
72 CHKERR DMoFEMLoopFiniteElements(dm, simple->getDomainFEName(),
74 }
76 }
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 57 of file NonlinearElasticExample.hpp.

57 {
58 elasticExamplePtr = example_ptr;
59 return 0;
60 }

◆ 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: