v0.16.0
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
neohookean_stretch_gradient_atom.cpp File Reference
#include <MoFEM.hpp>

Go to the source code of this file.

Namespaces

namespace  EshelbianPlasticity
 

Functions

MoFEMErrorCode EshelbianPlasticity::testHMHNeohookeanStretchGradient ()
 
int main (int argc, char *argv[])
 

Variables

static char help []
 

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 19 of file neohookean_stretch_gradient_atom.cpp.

19 {
20 MoFEM::Core::Initialize(&argc, &argv, (char *)0, help);
21
22 auto core_log = logging::core::get();
23 core_log->add_sink(LogManager::createSink(LogManager::getStrmSelf(), "EP"));
25 MOFEM_LOG_TAG("EP", "neohookean_stretch_gradient_atom");
26
27 try {
29 }
31
33 return 0;
34}
#define CATCH_ERRORS
Catch errors.
#define CHKERR
Inline error check.
static LoggerType & setLog(const std::string channel)
Set ans resset chanel logger.
#define MOFEM_LOG_TAG(channel, tag)
Tag channel.
MoFEMErrorCode testHMHNeohookeanStretchGradient()
static char help[]
static MoFEMErrorCode Initialize(int *argc, char ***args, const char file[], const char help[])
Initializes the MoFEM database PETSc, MOAB and MPI.
Definition Core.cpp:68
static MoFEMErrorCode Finalize()
Checks for options to be called at the conclusion of the program.
Definition Core.cpp:123
static boost::shared_ptr< SinkType > createSink(boost::shared_ptr< std::ostream > stream_ptr, std::string comm_filter)
Create a sink object.
static boost::shared_ptr< std::ostream > getStrmSelf()
Get the strm self object.

Variable Documentation

◆ help

char help[]
static
Initial value:
=
"Finite-difference check of HMHNeohookean dHenckyStretch/dBiotStress.\n"
"Reproduction options:\n"
" -nh_stretch_atom_c10 <real>\n"
" -nh_stretch_atom_k <real>\n"
" -nh_stretch_atom_q <real>\n"
" -nh_stretch_atom_max_it <int>\n"
" -nh_stretch_atom_tol <real>\n"
" -nh_stretch_atom_biot_stress <s00,s01,s02,s11,s12,s22>\n"

Definition at line 9 of file neohookean_stretch_gradient_atom.cpp.