ug4
ug::LocalVectorTimeSeries Class Reference

time series of local vectors More...

#include <solution_time_series.h>

Public Member Functions

void access_by_map (const FunctionIndexMapping &funcMap)
 access dofs by map More...
 
 LocalVectorTimeSeries ()
 constructor More...
 
template<typename TVector >
void read_times (ConstSmartPtr< VectorTimeSeries< TVector > > vecTimeSeries)
 extract time points More...
 
template<typename TVector >
void read_values (ConstSmartPtr< VectorTimeSeries< TVector > > vecTimeSeries, LocalIndices &ind)
 extract local values from global vectors More...
 
size_t size () const
 returns number of time points More...
 
LocalVectorsolution (size_t i)
 returns the local vector for the i'th time point More...
 
const LocalVectorsolution (size_t i) const
 returns the local vector for the i'th time point More...
 
number time (size_t i) const
 returns time point i More...
 
const std::vector< number > & times () const
 returns time points More...
 

Protected Attributes

std::vector< LocalVectorm_vLocalVector
 vector of local vectors (one for each time point) More...
 
std::vector< numberm_vTime
 time series More...
 

Detailed Description

time series of local vectors

Constructor & Destructor Documentation

◆ LocalVectorTimeSeries()

ug::LocalVectorTimeSeries::LocalVectorTimeSeries ( )
inline

constructor

Member Function Documentation

◆ access_by_map()

void ug::LocalVectorTimeSeries::access_by_map ( const FunctionIndexMapping funcMap)
inline

access dofs by map

References ug::LocalVector::access_by_map(), size(), and solution().

◆ read_times()

◆ read_values()

◆ size()

size_t ug::LocalVectorTimeSeries::size ( ) const
inline

◆ solution() [1/2]

LocalVector& ug::LocalVectorTimeSeries::solution ( size_t  i)
inline

returns the local vector for the i'th time point

References m_vLocalVector.

◆ solution() [2/2]

◆ time()

◆ times()

const std::vector<number>& ug::LocalVectorTimeSeries::times ( ) const
inline

returns time points

References m_vTime.

Member Data Documentation

◆ m_vLocalVector

std::vector<LocalVector> ug::LocalVectorTimeSeries::m_vLocalVector
protected

vector of local vectors (one for each time point)

Referenced by read_values(), size(), and solution().

◆ m_vTime

std::vector<number> ug::LocalVectorTimeSeries::m_vTime
protected

time series

Referenced by read_times(), time(), and times().


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