#include "tools/src/Smoother.hpp"
Definition at line 12 of file Smoother.hpp.
◆ SmootherBlockData() [1/2]
Smoother::SmootherBlockData::SmootherBlockData |
( |
| ) |
|
|
inline |
Definition at line 19 of file Smoother.hpp.
23 CHKERRABORT(PETSC_COMM_SELF,
ierr);
24 }
static PetscErrorCode ierr
MoFEMErrorCode getOptions()
◆ ~SmootherBlockData() [1/2]
virtual Smoother::SmootherBlockData::~SmootherBlockData |
( |
| ) |
|
|
inlinevirtual |
Definition at line 40 of file Smoother.hpp.
40 {
43 CHKERRABORT(PETSC_COMM_WORLD,
ierr);
45 CHKERRABORT(PETSC_COMM_WORLD,
ierr);
46 }
47 }
◆ SmootherBlockData() [2/2]
Smoother::SmootherBlockData::SmootherBlockData |
( |
| ) |
|
|
inline |
◆ ~SmootherBlockData() [2/2]
virtual Smoother::SmootherBlockData::~SmootherBlockData |
( |
| ) |
|
|
inlinevirtual |
Definition at line 40 of file Smoother.hpp.
40 {
43 CHKERRABORT(PETSC_COMM_WORLD,
ierr);
45 CHKERRABORT(PETSC_COMM_WORLD,
ierr);
46 }
47 }
◆ getOptions() [1/2]
MoFEMErrorCode Smoother::SmootherBlockData::getOptions |
( |
| ) |
|
|
inline |
Definition at line 26 of file Smoother.hpp.
26 {
28 PetscOptionsBegin(PETSC_COMM_WORLD, "",
29 "Get stabilisation element options", "none");
31 PetscBool smoothing_on =
sTabilised ? PETSC_TRUE : PETSC_FALSE;
32 CHKERR PetscOptionsBool(
"-smoothing_stabilise",
33 "all nodes controlled by smoothing element", "",
34 smoothing_on, &smoothing_on, PETSC_NULLPTR);
35 sTabilised = (smoothing_on == PETSC_TRUE) ?
true : false;
36 PetscOptionsEnd();
38 }
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
#define CHKERRG(n)
Check error code of MoFEM/MOAB/PETSc function.
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
#define CHKERR
Inline error check.
◆ getOptions() [2/2]
MoFEMErrorCode Smoother::SmootherBlockData::getOptions |
( |
| ) |
|
|
inline |
Definition at line 26 of file Smoother.hpp.
26 {
28 PetscOptionsBegin(PETSC_COMM_WORLD, "",
29 "Get stabilisation element options", "none");
31 PetscBool smoothing_on =
sTabilised ? PETSC_TRUE : PETSC_FALSE;
32 CHKERR PetscOptionsBool(
"-smoothing_stabilise",
33 "all nodes controlled by smoothing element", "",
34 smoothing_on, &smoothing_on, PETSC_NULLPTR);
35 sTabilised = (smoothing_on == PETSC_TRUE) ?
true : false;
36 PetscOptionsEnd();
38 }
◆ frontF
Vec Smoother::SmootherBlockData::frontF |
◆ ownVectors
bool Smoother::SmootherBlockData::ownVectors |
◆ sTabilised
bool Smoother::SmootherBlockData::sTabilised |
◆ tangentFrontF
Vec Smoother::SmootherBlockData::tangentFrontF |
The documentation for this struct was generated from the following files: