v0.14.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
LinMomTimeScale Struct Reference
Inheritance diagram for LinMomTimeScale:
[legend]
Collaboration diagram for LinMomTimeScale:
[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...
 
double getScale (const double time)
 Get scaling at a given time. More...
 
- Public Member Functions inherited from MoFEM::ScalingMethod
virtual double getScale (const double time)
 Get scaling at given time. More...
 
 ScalingMethod ()=default
 
virtual ~ScalingMethod ()=default
 

Detailed Description

Examples
dynamic_first_order_con_law.cpp.

Definition at line 407 of file dynamic_first_order_con_law.cpp.

Member Function Documentation

◆ getScale()

double LinMomTimeScale::getScale ( const double  time)
inlinevirtual

Get scaling at a given time.

Parameters
time
Returns
double

Reimplemented from MoFEM::TimeScale.

Examples
dynamic_first_order_con_law.cpp.

Definition at line 409 of file dynamic_first_order_con_law.cpp.

409 {
410 return sin(2. * M_PI * MoFEM::TimeScale::getScale(time));
411 };
double getScale(const double time)
Get scaling at a given time.

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