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

Public Member Functions

double getScale (const double time) override
 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, ScalingFun def_scaling_fun=[](double time) { return time;})
 TimeScale constructor. More...
 
 TimeScale (std::string file_name, std::string delimiter, bool error_if_file_not_given=false, ScalingFun def_scaling_fun=[](double time) { return time;})
 TimeScale constructor. More...
 
- Public Member Functions inherited from MoFEM::ScalingMethod
 ScalingMethod ()=default
 
virtual ~ScalingMethod ()=default
 

Additional Inherited Members

- Public Types inherited from MoFEM::TimeScale
using ScalingFun = std::function< double(double)>
 
- Public Attributes inherited from MoFEM::TimeScale
std::string fileName = ""
 
PetscBool argFileScale = PETSC_FALSE
 

Detailed Description

Definition at line 319 of file EshelbianPlasticity.cpp.

Member Function Documentation

◆ getScale()

double EshelbianPlasticity::DynamicRelaxationTimeScale::getScale ( const double  time)
inlineoverridevirtual

Get scaling at a given time.

Parameters
time
Returns
double

Reimplemented from MoFEM::TimeScale.

Definition at line 323 of file EshelbianPlasticity.cpp.

323  {
325  return TimeScale::getScale(EshelbianCore::dynamicTime);
326  } else {
327  return TimeScale::getScale(time);
328  }
329  }

The documentation for this struct was generated from the following file:
EshelbianCore::dynamicRelaxation
static PetscBool dynamicRelaxation
Definition: EshelbianCore.hpp:20
EshelbianCore::dynamicTime
static double dynamicTime
Definition: EshelbianCore.hpp:23