Flow123d  JS_before_hm-2150-g5e4b4b118
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
OutputTimeSet Class Reference

#include <output_time_set.hh>

Public Member Functions

void read_from_input (Input::Array in_array, const TimeGovernor &tg)
 
void read_from_input (Input::Array in_array, const TimeGovernor &tg, TimeMark::Type mark_type)
 
bool contains (TimeMark mark) const
 
void add (double begin, TimeMark::Type mark_type)
 
void add (double begin, double step, double end, TimeMark::Type mark_type)
 

Static Public Member Functions

static const Input::Type::Array get_input_type ()
 

Private Attributes

std::set< double > times_
 

Detailed Description

Set of times. Simple extension of std::set<double> providing initialization by an array of time grids. TODO: replace by std::set with non-member read and initialize functions.

Finally we store just doubles, since it is like a set of the time marks with same type. So we need not to save the type.

Definition at line 28 of file output_time_set.hh.

Member Function Documentation

◆ add() [1/2]

void OutputTimeSet::add ( double  begin,
double  step,
double  end,
TimeMark::Type  mark_type 
)

Definition at line 87 of file output_time_set.cc.

◆ add() [2/2]

void OutputTimeSet::add ( double  begin,
TimeMark::Type  mark_type 
)

Definition at line 77 of file output_time_set.cc.

Here is the caller graph for this function:

◆ contains()

bool OutputTimeSet::contains ( TimeMark  mark) const

Definition at line 72 of file output_time_set.cc.

◆ get_input_type()

const IT::Array OutputTimeSet::get_input_type ( )
static

Definition at line 17 of file output_time_set.cc.

Here is the caller graph for this function:

◆ read_from_input() [1/2]

void OutputTimeSet::read_from_input ( Input::Array  in_array,
const TimeGovernor tg 
)

Definition at line 35 of file output_time_set.cc.

Here is the caller graph for this function:

◆ read_from_input() [2/2]

void OutputTimeSet::read_from_input ( Input::Array  in_array,
const TimeGovernor tg,
TimeMark::Type  mark_type 
)

Definition at line 40 of file output_time_set.cc.

Member Data Documentation

◆ times_

std::set<double> OutputTimeSet::times_
private

Definition at line 52 of file output_time_set.hh.


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