#include <users_modules/softmech/chemo_mech/src/rd_stdOperators.hpp>
Definition at line 647 of file rd_stdOperators.hpp.
◆ Monitor()
StdRDOperators::Monitor::Monitor |
( |
MPI_Comm & |
comm, |
|
|
const int & |
rank, |
|
|
SmartPetscObj< DM > & |
dm, |
|
|
boost::shared_ptr< PostProcFaceOnRefinedMesh > & |
post_proc, |
|
|
double & |
err |
|
) |
| |
◆ operator()()
MoFEMErrorCode StdRDOperators::Monitor::operator() |
( |
| ) |
|
◆ postProcess()
MoFEMErrorCode StdRDOperators::Monitor::postProcess |
( |
| ) |
|
Definition at line 654 of file rd_stdOperators.hpp.
661 "out_level_" + boost::lexical_cast<std::string>(ts_step) +
".h5m");
664 CHKERR VecCreateMPI(
cOmm, 1, PETSC_DECIDE, &error_per_proc);
665 auto get_global_error = [&]() {
670 CHKERR get_global_error();
671 CHKERR VecAssemblyBegin(error_per_proc);
672 CHKERR VecAssemblyEnd(error_per_proc);
674 CHKERR VecSum(error_per_proc, &error_sum);
675 CHKERR PetscPrintf(PETSC_COMM_WORLD,
"Error : %3.4e \n", error_sum);
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
#define CHKERR
Inline error check.
PetscErrorCode DMoFEMLoopFiniteElements(DM dm, const char fe_name[], MoFEM::FEMethod *method, CacheTupleWeakPtr cache_ptr=CacheTupleSharedPtr())
Executes FEMethod for finite elements in DM.
const FTensor::Tensor2< T, Dim, Dim > Vec
PetscErrorCode PetscOptionsGetInt(PetscOptions *, const char pre[], const char name[], PetscInt *ivalue, PetscBool *set)
◆ preProcess()
MoFEMErrorCode StdRDOperators::Monitor::preProcess |
( |
| ) |
|
◆ cOmm
MPI_Comm StdRDOperators::Monitor::cOmm |
|
private |
◆ dM
SmartPetscObj<DM> StdRDOperators::Monitor::dM |
|
private |
◆ eRror
double& StdRDOperators::Monitor::eRror |
◆ postProc
◆ rAnk
const int StdRDOperators::Monitor::rAnk |
|
private |
The documentation for this struct was generated from the following file: