Class used to scale loads, f.e. in arc-length control.
More...
#include <users_modules/basic_finite_elements/src/MethodForForceScaling.hpp>
Class used to scale loads, f.e. in arc-length control.
- Examples
- NavierStokesElement.hpp.
Definition at line 23 of file MethodForForceScaling.hpp.
◆ ~MethodForForceScaling()
virtual MethodForForceScaling::~MethodForForceScaling |
( |
| ) |
|
|
virtual |
◆ applyScale() [1/2]
Definition at line 33 of file MethodForForceScaling.hpp.
37 for (
auto vit = methods_op.begin(); vit != methods_op.end(); vit++)
38 CHKERR vit->scaleNf(fe, nf);
#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.
◆ applyScale() [2/2]
◆ getForceScale()
virtual MoFEMErrorCode MethodForForceScaling::getForceScale |
( |
const double |
ts_t, |
|
|
double & |
scale |
|
) |
| |
|
virtual |
Reimplemented in TimeForceScale.
Definition at line 26 of file MethodForForceScaling.hpp.
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return()
#define MoFEMFunctionBeginHot
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
◆ scaleNf()
virtual MoFEMErrorCode MethodForForceScaling::scaleNf |
( |
const FEMethod * |
fe, |
|
|
VectorDouble & |
Nf |
|
) |
| |
|
pure virtual |
The documentation for this struct was generated from the following file: