v0.14.0
Public Member Functions | List of all members
Example::ScaledTimeScale Struct Reference
Inheritance diagram for Example::ScaledTimeScale:
[legend]
Collaboration diagram for Example::ScaledTimeScale:
[legend]

Public Member Functions

double getScale (const double time)
 Get scaling at a given time. More...
 
double getScale (const double time)
 Get scaling at a given time. More...
 
- Public Member Functions inherited from MoFEM::TimeScale
 TimeScale (std::string file_name="", bool error_if_file_not_given=false)
 TimeScale constructor. More...
 
 TimeScale (std::string file_name, std::string delimiter, bool error_if_file_not_given=false)
 TimeScale constructor. More...
 
- Public Member Functions inherited from MoFEM::ScalingMethod
 ScalingMethod ()=default
 
virtual ~ScalingMethod ()=default
 

Detailed Description

Definition at line 198 of file plastic.cpp.

Member Function Documentation

◆ getScale() [1/2]

double Example::ScaledTimeScale::getScale ( const double  time)
inlinevirtual

Get scaling at a given time.

Parameters
time
Returns
double

Reimplemented from MoFEM::TimeScale.

Definition at line 200 of file plastic.cpp.

200  {
201  return scale * MoFEM::TimeScale::getScale(time);
202  };

◆ getScale() [2/2]

double Example::ScaledTimeScale::getScale ( const double  time)
inlinevirtual

Get scaling at a given time.

Parameters
time
Returns
double

Reimplemented from MoFEM::TimeScale.

Definition at line 251 of file plasticity_old_schur.cpp.

251  {
252  return scale * MoFEM::TimeScale::getScale(time);
253  };

The documentation for this struct was generated from the following files:
scale
double scale
Definition: plastic.cpp:119
scale
double scale
Definition: plasticity_old_schur.cpp:170
MoFEM::TimeScale::getScale
double getScale(const double time)
Get scaling at a given time.
Definition: ScalingMethod.cpp:133