ROL
ROL::TimeStamp< Real > Class Template Reference

Contains local time step information. More...

#include <ROL_TimeStamp.hpp>

Public Types

using size_type = typename std::vector<Real>::size_type

Public Member Functions

TimeStampoperator= (const TimeStamp &ts)

Static Public Member Functions

static TimeStampsPtr< Real > make_uniform (Real t_initial, Real t_final, const std::vector< Real > &t_ref, size_type num_steps)
 Create a vector of uniform TimeStamp objects for the interval [t_initial,t_final] where each step has local time points based on t_ref defined on the standard interval [0,1].

Public Attributes

size_type k
std::vector< Real > t

Detailed Description

template<typename Real>
class ROL::TimeStamp< Real >

Contains local time step information.

Definition at line 35 of file ROL_TimeStamp.hpp.

Member Typedef Documentation

◆ size_type

template<typename Real>
using ROL::TimeStamp< Real >::size_type = typename std::vector<Real>::size_type

Definition at line 37 of file ROL_TimeStamp.hpp.

Member Function Documentation

◆ operator=()

template<typename Real>
TimeStamp & ROL::TimeStamp< Real >::operator= ( const TimeStamp< Real > & ts)
inline

Definition at line 42 of file ROL_TimeStamp.hpp.

References k, and t.

◆ make_uniform()

template<typename Real>
TimeStampsPtr< Real > ROL::TimeStamp< Real >::make_uniform ( Real t_initial,
Real t_final,
const std::vector< Real > & t_ref,
size_type num_steps )
inlinestatic

Create a vector of uniform TimeStamp objects for the interval [t_initial,t_final] where each step has local time points based on t_ref defined on the standard interval [0,1].

Definition at line 50 of file ROL_TimeStamp.hpp.

References k.

Member Data Documentation

◆ k

◆ t


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