v0.16.3
Loading...
Searching...
No Matches
Macros | Functions
symmetric_deviator_field_values.cpp File Reference

Check planar and spatial deviator interpolation and vector sources. More...

#include <MoFEM.hpp>
#include <array>
#include <cmath>

Go to the source code of this file.

Macros

#define FTENSOR_DEBUG
 

Functions

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

Detailed Description

Check planar and spatial deviator interpolation and vector sources.

Definition in file symmetric_deviator_field_values.cpp.

Macro Definition Documentation

◆ FTENSOR_DEBUG

#define FTENSOR_DEBUG

Definition at line 5 of file symmetric_deviator_field_values.cpp.

Function Documentation

◆ main()

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

Definition at line 139 of file symmetric_deviator_field_values.cpp.

139 {
140 MoFEM::Core::Initialize(&argc, &argv, nullptr,
141 "Check symmetric deviator field interpolation\n");
142 try {
143 moab::Core moab;
144 MoFEM::Core core(moab);
145 CHKERR checkField<2>(core);
146 CHKERR checkField<3>(core);
147 }
150 return 0;
151}
#define CATCH_ERRORS
Catch errors.
#define CHKERR
Inline error check.
Core (interface) class.
Definition Core.hpp:83
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