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

Public Member Functions

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, 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 442 of file dynamic_first_order_con_law.cpp.

Member Function Documentation

◆ getScale()

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

Get scaling at a given time.

Parameters
time
Returns
double

Reimplemented from MoFEM::TimeScale.

Definition at line 444 of file dynamic_first_order_con_law.cpp.

444 { return 0.001; };

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