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

Check scaled joint gradient and hardening-sensitive slack acceptance. More...

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

Go to the source code of this file.

Functions

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

Variables

static char help [] = "Verify the two plastic acceptance criteria.\n"
 

Detailed Description

Check scaled joint gradient and hardening-sensitive slack acceptance.

Definition in file plastic_convergence_atom.cpp.

Function Documentation

◆ main()

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

Definition at line 115 of file plastic_convergence_atom.cpp.

115 {
116 MoFEM::Core::Initialize(&argc, &argv, nullptr, help);
117 auto core_log = logging::core::get();
118 core_log->add_sink(LogManager::createSink(LogManager::getStrmWorld(), "EP"));
119 LogManager::setLog("EP");
120 core_log->add_sink(
122 LogManager::setLog("EPSELF");
123 core_log->add_sink(
125 LogManager::setLog("EPSYNC");
126 try {
127 CHKERR runAuxiliaryLogarithmicStressTest(runConvergenceAtom);
128 }
131 return 0;
132}
#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 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 > 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[] = "Verify the two plastic acceptance criteria.\n"
static

Definition at line 113 of file plastic_convergence_atom.cpp.