v0.14.0
Public Member Functions | List of all members
Example::DynamicFirstOrderConsSinusTimeScale Struct Reference
Inheritance diagram for Example::DynamicFirstOrderConsSinusTimeScale:
[legend]
Collaboration diagram for Example::DynamicFirstOrderConsSinusTimeScale:
[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)
 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 437 of file dynamic_first_order_con_law.cpp.

Member Function Documentation

◆ getScale()

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

Get scaling at a given time.

Parameters
time
Returns
double

Reimplemented from MoFEM::TimeScale.

Definition at line 439 of file dynamic_first_order_con_law.cpp.

439 { return 0.001 * sin(0.1 * time); };

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