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 11 of file MethodForForceScaling.hpp.
◆ ~MethodForForceScaling()
virtual MethodForForceScaling::~MethodForForceScaling |
( |
| ) |
|
|
inlinevirtual |
◆ applyScale() [1/2]
static MoFEMErrorCode MethodForForceScaling::applyScale |
( |
const FEMethod * |
fe, |
|
|
boost::ptr_vector< MethodForForceScaling > & |
methods_op, |
|
|
VectorDouble & |
nf |
|
) |
| |
|
inlinestatic |
Definition at line 21 of file MethodForForceScaling.hpp.
23 {
25 for (auto vit = methods_op.begin(); vit != methods_op.end(); vit++)
26 CHKERR vit->scaleNf(fe, nf);
28 }
#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]
static MoFEMErrorCode MethodForForceScaling::applyScale |
( |
const FEMethod * |
fe, |
|
|
boost::shared_ptr< MethodForForceScaling > |
method_op, |
|
|
VectorDouble & |
nf |
|
) |
| |
|
inlinestatic |
◆ getForceScale()
virtual MoFEMErrorCode MethodForForceScaling::getForceScale |
( |
const double |
ts_t, |
|
|
double & |
scale |
|
) |
| |
|
inlinevirtual |
Reimplemented in TimeForceScale.
Definition at line 14 of file MethodForForceScaling.hpp.
14 {
18 }
#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: