ug4
|
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... | |
LocalVector & | solution (size_t i) |
returns the local vector for the i'th time point More... | |
const LocalVector & | solution (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< LocalVector > | m_vLocalVector |
vector of local vectors (one for each time point) More... | |
std::vector< number > | m_vTime |
time series More... | |
time series of local vectors
|
inline |
constructor
|
inline |
access dofs by map
References ug::LocalVector::access_by_map(), size(), and solution().
|
inline |
extract time points
References m_vTime.
Referenced by ug::LSGFGlobAssembler< TDomain, TAlgebra, TExtrapolation >::AssembleDefect(), ug::StdGlobAssembler< TDomain, TAlgebra >::AssembleDefect(), ug::StdGlobAssembler< TDomain, TAlgebra >::AssembleErrorEstimator(), ug::LSGFGlobAssembler< TDomain, TAlgebra, TExtrapolation >::AssembleJacobian(), ug::StdGlobAssembler< TDomain, TAlgebra >::AssembleJacobian(), ug::LSGFGlobAssembler< TDomain, TAlgebra, TExtrapolation >::AssembleLinear(), ug::StdGlobAssembler< TDomain, TAlgebra >::AssembleLinear(), ug::StdGlobAssembler< TDomain, TAlgebra >::AssembleRhs(), ug::LSGFGlobAssembler< TDomain, TAlgebra, TExtrapolation >::FinishTimestep(), ug::StdGlobAssembler< TDomain, TAlgebra >::FinishTimestep(), ug::LSGFGlobAssembler< TDomain, TAlgebra, TExtrapolation >::FinishTimestepElem(), ug::StdGlobAssembler< TDomain, TAlgebra >::FinishTimestepElem(), ug::LSGFGlobAssembler< TDomain, TAlgebra, TExtrapolation >::PrepareTimestep(), ug::StdGlobAssembler< TDomain, TAlgebra >::PrepareTimestep(), ug::LSGFGlobAssembler< TDomain, TAlgebra, TExtrapolation >::PrepareTimestepElem(), and ug::StdGlobAssembler< TDomain, TAlgebra >::PrepareTimestepElem().
|
inline |
extract local values from global vectors
References ug::GetLocalVector(), and m_vLocalVector.
Referenced by ug::LSGFGlobAssembler< TDomain, TAlgebra, TExtrapolation >::AssembleDefect(), ug::StdGlobAssembler< TDomain, TAlgebra >::AssembleDefect(), ug::StdGlobAssembler< TDomain, TAlgebra >::AssembleErrorEstimator(), ug::LSGFGlobAssembler< TDomain, TAlgebra, TExtrapolation >::AssembleJacobian(), ug::StdGlobAssembler< TDomain, TAlgebra >::AssembleJacobian(), ug::LSGFGlobAssembler< TDomain, TAlgebra, TExtrapolation >::AssembleLinear(), ug::StdGlobAssembler< TDomain, TAlgebra >::AssembleLinear(), ug::StdGlobAssembler< TDomain, TAlgebra >::AssembleRhs(), ug::LSGFGlobAssembler< TDomain, TAlgebra, TExtrapolation >::FinishTimestepElem(), ug::StdGlobAssembler< TDomain, TAlgebra >::FinishTimestepElem(), ug::LSGFGlobAssembler< TDomain, TAlgebra, TExtrapolation >::PrepareTimestepElem(), and ug::StdGlobAssembler< TDomain, TAlgebra >::PrepareTimestepElem().
|
inline |
returns number of time points
References m_vLocalVector.
Referenced by access_by_map(), and ug::LSGFGlobAssembler< TDomain, TAlgebra, TExtrapolation >::AssembleJacobian().
|
inline |
returns the local vector for the i'th time point
References m_vLocalVector.
|
inline |
returns the local vector for the i'th time point
References m_vLocalVector.
Referenced by access_by_map(), ug::LSGFGlobAssembler< TDomain, TAlgebra, TExtrapolation >::AssembleDefect(), ug::StdGlobAssembler< TDomain, TAlgebra >::AssembleDefect(), ug::StdGlobAssembler< TDomain, TAlgebra >::AssembleErrorEstimator(), ug::LSGFGlobAssembler< TDomain, TAlgebra, TExtrapolation >::AssembleJacobian(), ug::LSGFGlobAssembler< TDomain, TAlgebra, TExtrapolation >::AssembleLinear(), ug::StdGlobAssembler< TDomain, TAlgebra >::AssembleLinear(), ug::StdGlobAssembler< TDomain, TAlgebra >::AssembleRhs(), ug::StdExplicitGridFunctionData< TImpl, TData, TGridFunction >::eval(), ug::StdDataLinker< TImpl, TData, dim >::eval_deriv(), and ug::StdDependentUserData< TImpl, TData, dim >::eval_deriv().
|
inline |
returns time point i
References m_vTime.
Referenced by ug::LSGFGlobAssembler< TDomain, TAlgebra, TExtrapolation >::FinishTimestepElem(), ug::StdGlobAssembler< TDomain, TAlgebra >::FinishTimestepElem(), and ug::IElemDiscBase< TDomain >::time().
|
inline |
returns time points
References m_vTime.
|
protected |
vector of local vectors (one for each time point)
Referenced by read_values(), size(), and solution().
|
protected |
time series
Referenced by read_times(), time(), and times().