SpECTRE  v2024.03.19
domain::FunctionsOfTime Namespace Reference

Contains functions of time to support the dual frame system. More...

Classes

class  FixedSpeedCubic
 Sets \(f(t)\) and derivatives using cubic rational functions, such that the first derivative approaches a constant and the second derivative approaches zero. More...
 
class  FunctionOfTime
 Base class for FunctionsOfTime. More...
 
class  PiecewisePolynomial
 A function that has a piecewise-constant MaxDerivth derivative. More...
 
class  QuaternionFunctionOfTime
 A FunctionOfTime that stores quaternions for the rotation map. More...
 
class  SettleToConstant
 Given an initial function of time, transitions the map to a constant-in-time value. More...
 
class  SettleToConstantQuaternion
 Given an initial function of time that is a unit quaternion, transitions to a constant-in-time unit quaternion. More...
 

Functions

bool operator!= (const FixedSpeedCubic &lhs, const FixedSpeedCubic &rhs)
 
std::string output_time_bounds (const std::unordered_map< std::string, std::unique_ptr< domain::FunctionsOfTime::FunctionOfTime > > &functions_of_time)
 Put time bounds for all functions of time in a nicely formatted string. More...
 
template<size_t MaxDeriv>
bool operator!= (const PiecewisePolynomial< MaxDeriv > &lhs, const PiecewisePolynomial< MaxDeriv > &rhs)
 
template<size_t MaxDeriv>
bool operator!= (const QuaternionFunctionOfTime< MaxDeriv > &lhs, const QuaternionFunctionOfTime< MaxDeriv > &rhs)
 
void register_derived_with_charm ()
 
bool operator!= (const SettleToConstant &lhs, const SettleToConstant &rhs)
 
bool operator!= (const SettleToConstantQuaternion &lhs, const SettleToConstantQuaternion &rhs)
 

Detailed Description

Contains functions of time to support the dual frame system.

Function Documentation

◆ output_time_bounds()

std::string domain::FunctionsOfTime::output_time_bounds ( const std::unordered_map< std::string, std::unique_ptr< domain::FunctionsOfTime::FunctionOfTime > > &  functions_of_time)

Put time bounds for all functions of time in a nicely formatted string.

All time bounds are printed in the following format:

FunctionsOfTime time bounds:
Name1: (0.0000000000000000e+00,1.0000000000000000e+00)
Name2: (3.0000000000000000e+00,4.0000000000000000e+00)
...