v0.16.3
Loading...
Searching...
No Matches
Functions | Variables
neohookean_direct_logarithmic_atom.cpp File Reference

Direct six-coefficient constitutive law and coupled Jacobian checks. More...

#include <MoFEM.hpp>
#include "AuxiliaryLogarithmicStressTestSetup.hpp"

Go to the source code of this file.

Functions

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

Variables

static char help []
 

Detailed Description

Direct six-coefficient constitutive law and coupled Jacobian checks.

Definition in file neohookean_direct_logarithmic_atom.cpp.

Function Documentation

◆ main()

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

Definition at line 416 of file neohookean_direct_logarithmic_atom.cpp.

416 {
417 MoFEM::Core::Initialize(&argc, &argv, nullptr, help);
418 auto core_log = logging::core::get();
419 core_log->add_sink(LogManager::createSink(LogManager::getStrmWorld(), "EP"));
420 LogManager::setLog("EP");
421 core_log->add_sink(
423 LogManager::setLog("EPSELF");
424 core_log->add_sink(
426 LogManager::setLog("EPSYNC");
427 try {
429 }
432 return 0;
433}
#define CATCH_ERRORS
Catch errors.
#define CHKERR
Inline error check.
static LoggerType & setLog(const std::string channel)
Set ans resset chanel logger.
MoFEMErrorCode runAuxiliaryLogarithmicStressTest(const std::function< MoFEMErrorCode(EshelbianCore &)> &test)
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 > getStrmWorld()
Get the strm world object.
static boost::shared_ptr< std::ostream > getStrmSync()
Get the strm sync object.
static boost::shared_ptr< std::ostream > getStrmSelf()
Get the strm self object.

Variable Documentation

◆ help

char help[]
static
Initial value:
=
"Check direct logarithmic Neo-Hookean material equations.\n"

Definition at line 413 of file neohookean_direct_logarithmic_atom.cpp.