ROL
Public Types | Static Public Member Functions | Public Attributes | List of all members
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
 

Static Public Member Functions

static ROL::Ptr< std::vector
< TimeStamp< 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]. More...
 

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 60 of file ROL_TimeStamp.hpp.

Member Typedef Documentation

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

Definition at line 62 of file ROL_TimeStamp.hpp.

Member Function Documentation

template<typename Real>
static ROL::Ptr<std::vector<TimeStamp<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 69 of file ROL_TimeStamp.hpp.

References ROL::TimeStamp< Real >::k.

Member Data Documentation

template<typename Real>
size_type ROL::TimeStamp< Real >::k
template<typename Real>
std::vector<Real> ROL::TimeStamp< Real >::t

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