Flow123d  DF_patch_fe_darcy_complete-579fe1e
Public Member Functions | Private Attributes | List of all members
RevertableListVector< Type > Struct Template Reference

#include <integral_data.hh>

Collaboration diagram for RevertableListVector< Type >:
Collaboration graph
[legend]

Public Member Functions

 RevertableListVector ()
 Default constructor. More...
 
 RevertableListVector (uint list_size)
 Constructor, initialize vec_list_. More...
 
void set_size (uint new_size)
 Set size of vec_list_. More...
 
void make_permanent ()
 Finalize temporary part of data. More...
 
void revert_temporary ()
 Erase temporary part of data. More...
 
void reset ()
 Clear the list. More...
 
RevertableList< Type > & operator[] (std::size_t item)
 
const RevertableList< Type > & operator[] (std::size_t item) const
 

Private Attributes

std::vector< RevertableList< Type > > vec_list_
 

Detailed Description

template<class Type>
struct RevertableListVector< Type >

Define vector of RevertableLists.

Used in IntegralData structure and in AssemblyBase for sorting integral data of integrals with different quadrature order of same type to separate RevertableLists

Definition at line 137 of file integral_data.hh.

Constructor & Destructor Documentation

◆ RevertableListVector() [1/2]

template<class Type >
RevertableListVector< Type >::RevertableListVector ( )
inline

Default constructor.

Definition at line 140 of file integral_data.hh.

◆ RevertableListVector() [2/2]

template<class Type >
RevertableListVector< Type >::RevertableListVector ( uint  list_size)
inline

Constructor, initialize vec_list_.

Definition at line 144 of file integral_data.hh.

Member Function Documentation

◆ make_permanent()

template<class Type >
void RevertableListVector< Type >::make_permanent ( )
inline

Finalize temporary part of data.

Definition at line 154 of file integral_data.hh.

Here is the caller graph for this function:

◆ operator[]() [1/2]

template<class Type >
RevertableList<Type>& RevertableListVector< Type >::operator[] ( std::size_t  item)
inline

Definition at line 171 of file integral_data.hh.

◆ operator[]() [2/2]

template<class Type >
const RevertableList<Type>& RevertableListVector< Type >::operator[] ( std::size_t  item) const
inline

Definition at line 175 of file integral_data.hh.

◆ reset()

template<class Type >
void RevertableListVector< Type >::reset ( )
inline

Clear the list.

Definition at line 166 of file integral_data.hh.

Here is the caller graph for this function:

◆ revert_temporary()

template<class Type >
void RevertableListVector< Type >::revert_temporary ( )
inline

Erase temporary part of data.

Definition at line 160 of file integral_data.hh.

Here is the caller graph for this function:

◆ set_size()

template<class Type >
void RevertableListVector< Type >::set_size ( uint  new_size)
inline

Set size of vec_list_.

Definition at line 148 of file integral_data.hh.

Here is the caller graph for this function:

Member Data Documentation

◆ vec_list_

template<class Type >
std::vector< RevertableList<Type> > RevertableListVector< Type >::vec_list_
private

Definition at line 180 of file integral_data.hh.


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