v0.13.0
Public Member Functions | Public Attributes | List of all members
LoadScale Struct Reference

#include <users_modules/multifield_plasticity/src/BasicFeTools.hpp>

Inheritance diagram for LoadScale:
[legend]
Collaboration diagram for LoadScale:
[legend]

Public Member Functions

 LoadScale (double &my_scale)
 
MoFEMErrorCode scaleNf (const FEMethod *fe, VectorDouble &nf)
 
- Public Member Functions inherited from MethodForForceScaling
virtual MoFEMErrorCode getForceScale (const double ts_t, double &scale)
 
virtual ~MethodForForceScaling ()
 

Public Attributes

double & scale
 

Additional Inherited Members

- Static Public Member Functions inherited from MethodForForceScaling
static MoFEMErrorCode applyScale (const FEMethod *fe, boost::ptr_vector< MethodForForceScaling > &methods_op, VectorDouble &nf)
 
static MoFEMErrorCode applyScale (const FEMethod *fe, boost::shared_ptr< MethodForForceScaling > method_op, VectorDouble &nf)
 

Detailed Description

Examples
NavierStokesElement.hpp.

Definition at line 308 of file BasicFeTools.hpp.

Constructor & Destructor Documentation

◆ LoadScale()

LoadScale::LoadScale ( double &  my_scale)

Definition at line 310 of file BasicFeTools.hpp.

310 : scale(my_scale){};
double & scale

Member Function Documentation

◆ scaleNf()

MoFEMErrorCode LoadScale::scaleNf ( const FEMethod fe,
VectorDouble &  nf 
)
virtual

Implements MethodForForceScaling.

Definition at line 311 of file BasicFeTools.hpp.

311  {
313  nf *= scale;
315  }
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:359
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:429

Member Data Documentation

◆ scale

double& LoadScale::scale

Definition at line 309 of file BasicFeTools.hpp.


The documentation for this struct was generated from the following file: