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

Check production output meanings and diagnostic state preservation. More...

#include <MoFEM.hpp>
#include "AuxiliaryLogarithmicStressTestSetup.hpp"
#include <MatrixFunction.hpp>
#include <NeoHookeanLogarithmicMaterial.hpp>
#include <array>
#include <cmath>

Go to the source code of this file.

Functions

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

Variables

static char help [] = "Check production auxiliary material diagnostic output.\n"
 

Detailed Description

Check production output meanings and diagnostic state preservation.

Definition in file auxiliary_logarithmic_stress_output_atom.cpp.

Function Documentation

◆ main()

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

Definition at line 292 of file auxiliary_logarithmic_stress_output_atom.cpp.

292 {
293 MoFEM::Core::Initialize(&argc, &argv, nullptr, help);
294 auto core_log = logging::core::get();
295 core_log->add_sink(LogManager::createSink(LogManager::getStrmWorld(), "EP"));
296 LogManager::setLog("EP");
297 core_log->add_sink(
299 LogManager::setLog("EPSELF");
300 core_log->add_sink(
302 LogManager::setLog("EPSYNC");
303 try {
305 }
308 return 0;
309}
#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[] = "Check production auxiliary material diagnostic output.\n"
static