v0.16.0
Loading...
Searching...
No Matches
storakers_stress_to_stretch_atom.cpp
Go to the documentation of this file.
1#include <MoFEM.hpp>
2
3using namespace MoFEM;
4
5namespace EshelbianPlasticity {
7} // namespace EshelbianPlasticity
8
9static char help[] =
10 "Validate Storakers stress-to-stretch inversion and compliance.\n"
11 "Options:\n"
12 " -storakers_atom_fd_step <real>\n"
13 " -storakers_atom_stretch_tol <real>\n"
14 " -storakers_atom_compliance_tol <real>\n"
15 " -storakers_atom_solver_tol <real>\n"
16 "Reproduction options:\n"
17 " -storakers_atom_eta <real>\n"
18 " -storakers_atom_mu <real>\n"
19 " -storakers_atom_beta <real>\n"
20 " -storakers_atom_q <real>\n"
21 " -storakers_atom_initial_y <real>\n"
22 " -storakers_atom_biot_stress <s00,s01,s02,s11,s12,s22>\n";
23
24int main(int argc, char *argv[]) {
25 MoFEM::Core::Initialize(&argc, &argv, (char *)0, help);
26
27 auto core_log = logging::core::get();
28 core_log->add_sink(LogManager::createSink(LogManager::getStrmSelf(), "EP"));
30 MOFEM_LOG_TAG("EP", "storakers_stress_to_stretch_atom");
31
32 try {
34 }
36
38 return 0;
39}
int main()
#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 testHMHStorakersStressToStretch()
PetscErrorCode MoFEMErrorCode
MoFEM/PETSc error code.
implementation of Data Operators for Forces and Sources
Definition Common.hpp:10
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.