v0.14.0
Public Member Functions | Static Public Attributes | List of all members
NavierStokesElement::LoadScale Struct Reference

#include <users_modules/basic_finite_elements/src/NavierStokesElement.hpp>

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

Public Member Functions

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

Static Public Attributes

static double lambda = 1
 

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)
 
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
navier_stokes.cpp.

Definition at line 102 of file NavierStokesElement.hpp.

Member Function Documentation

◆ scaleNf()

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

Definition at line 106 of file NavierStokesElement.hpp.

106  {
108  nf *= lambda;
110  }

Member Data Documentation

◆ lambda

double NavierStokesElement::LoadScale::lambda = 1
static
Examples
navier_stokes.cpp.

Definition at line 104 of file NavierStokesElement.hpp.


The documentation for this struct was generated from the following files:
NavierStokesElement::LoadScale::lambda
static double lambda
Definition: NavierStokesElement.hpp:104
MoFEMFunctionReturn
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:429
MoFEMFunctionBegin
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:359