DFT-EFE
 
Loading...
Searching...
No Matches
dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace > Class Template Reference

#include <QuadratureValuesContainer.h>

Collaboration diagram for dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >:

Public Types

using Storage = dftefe::utils::MemoryStorage< ValueType, memorySpace >
 
using SizeTypeVector = utils::MemoryStorage< size_type, memorySpace >
 
using pointer = typename dftefe::utils::MemoryStorage< ValueType, memorySpace >::pointer
 
using reference = typename dftefe::utils::MemoryStorage< ValueType, memorySpace >::reference
 
using const_reference = typename dftefe::utils::MemoryStorage< ValueType, memorySpace >::const_reference
 
using iterator = typename dftefe::utils::MemoryStorage< ValueType, memorySpace >::iterator
 
using const_iterator = typename dftefe::utils::MemoryStorage< ValueType, memorySpace >::const_iterator
 

Public Member Functions

 QuadratureValuesContainer ()
 
 QuadratureValuesContainer (std::shared_ptr< const QuadratureRuleContainer > quadratureRuleContainer, const size_type numberComponents, const ValueType initVal=ValueType())
 
void reinit (std::shared_ptr< const QuadratureRuleContainer > quadratureRuleContainer, const size_type numberComponents, const ValueType initVal=ValueType())
 
 QuadratureValuesContainer (const QuadratureValuesContainer &u)
 
 QuadratureValuesContainer (QuadratureValuesContainer &&u)
 
QuadratureValuesContaineroperator= (const QuadratureValuesContainer &rhs)
 
QuadratureValuesContaineroperator= (QuadratureValuesContainer &&rhs)
 
template<utils::MemorySpace memorySpaceSrc>
void setCellValues (const size_type cellId, const ValueType *values)
 
template<utils::MemorySpace memorySpaceSrc>
void setCellQuadValues (const size_type cellId, const size_type componentId, const ValueType *values)
 
void setValue (const ValueType value)
 
template<utils::MemorySpace memorySpaceDst>
void getCellValues (const size_type cellId, ValueType *values) const
 
template<utils::MemorySpace memorySpaceDst>
void getCellQuadValues (const size_type cellId, const size_type componentId, ValueType *values) const
 
std::shared_ptr< const QuadratureRuleContainergetQuadratureRuleContainer () const
 
size_type getNumberComponents () const
 
size_type nCells () const
 
size_type nQuadraturePoints () const
 
size_type nEntries () const
 
size_type nCellQuadraturePoints (const size_type cellId) const
 
size_type nCellEntries (const size_type cellId) const
 
size_type cellStartId (const size_type cellId) const
 
const SizeTypeVectorgetCellStartIds () const
 
const SizeTypeVectorgetNumberCellEntries () const
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
iterator begin (const size_type cellId)
 
const_iterator begin (const size_type cellId) const
 
iterator end (const size_type cellId)
 
const_iterator end (const size_type cellId) const
 

Private Attributes

size_type d_numberComponents
 
SizeTypeVector d_cellStartIds
 
SizeTypeVector d_numCellEntries
 
Storage d_storage
 
std::shared_ptr< const QuadratureRuleContainerd_quadratureRuleContainer
 

Member Typedef Documentation

◆ const_iterator

template<typename ValueType , utils::MemorySpace memorySpace>
using dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::const_iterator = typename dftefe::utils::MemoryStorage<ValueType, memorySpace>::const_iterator

◆ const_reference

template<typename ValueType , utils::MemorySpace memorySpace>
using dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::const_reference = typename dftefe::utils::MemoryStorage<ValueType, memorySpace>::const_reference

◆ iterator

template<typename ValueType , utils::MemorySpace memorySpace>
using dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::iterator = typename dftefe::utils::MemoryStorage<ValueType, memorySpace>::iterator

◆ pointer

template<typename ValueType , utils::MemorySpace memorySpace>
using dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::pointer = typename dftefe::utils::MemoryStorage<ValueType, memorySpace>::pointer

◆ reference

template<typename ValueType , utils::MemorySpace memorySpace>
using dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::reference = typename dftefe::utils::MemoryStorage<ValueType, memorySpace>::reference

◆ SizeTypeVector

template<typename ValueType , utils::MemorySpace memorySpace>
using dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::SizeTypeVector = utils::MemoryStorage<size_type, memorySpace>

◆ Storage

template<typename ValueType , utils::MemorySpace memorySpace>
using dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::Storage = dftefe::utils::MemoryStorage<ValueType, memorySpace>

Constructor & Destructor Documentation

◆ QuadratureValuesContainer() [1/4]

template<typename ValueType , utils::MemorySpace memorySpace>
dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::QuadratureValuesContainer

◆ QuadratureValuesContainer() [2/4]

template<typename ValueType , utils::MemorySpace memorySpace>
dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::QuadratureValuesContainer ( std::shared_ptr< const QuadratureRuleContainer quadratureRuleContainer,
const size_type  numberComponents,
const ValueType  initVal = ValueType() 
)

◆ QuadratureValuesContainer() [3/4]

template<typename ValueType , utils::MemorySpace memorySpace>
dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::QuadratureValuesContainer ( const QuadratureValuesContainer< ValueType, memorySpace > &  u)

◆ QuadratureValuesContainer() [4/4]

template<typename ValueType , utils::MemorySpace memorySpace>
dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::QuadratureValuesContainer ( QuadratureValuesContainer< ValueType, memorySpace > &&  u)

Member Function Documentation

◆ begin() [1/4]

template<typename ValueType , utils::MemorySpace memorySpace>
QuadratureValuesContainer< ValueType, memorySpace >::iterator dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::begin
Here is the caller graph for this function:

◆ begin() [2/4]

template<typename ValueType , utils::MemorySpace memorySpace>
QuadratureValuesContainer< ValueType, memorySpace >::const_iterator dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::begin

◆ begin() [3/4]

template<typename ValueType , utils::MemorySpace memorySpace>
QuadratureValuesContainer< ValueType, memorySpace >::iterator dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::begin ( const size_type  cellId)

◆ begin() [4/4]

template<typename ValueType , utils::MemorySpace memorySpace>
QuadratureValuesContainer< ValueType, memorySpace >::const_iterator dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::begin ( const size_type  cellId) const

◆ cellStartId()

template<typename ValueType , utils::MemorySpace memorySpace>
size_type dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::cellStartId ( const size_type  cellId) const

◆ end() [1/4]

template<typename ValueType , utils::MemorySpace memorySpace>
QuadratureValuesContainer< ValueType, memorySpace >::iterator dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::end

◆ end() [2/4]

template<typename ValueType , utils::MemorySpace memorySpace>
QuadratureValuesContainer< ValueType, memorySpace >::const_iterator dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::end

◆ end() [3/4]

template<typename ValueType , utils::MemorySpace memorySpace>
QuadratureValuesContainer< ValueType, memorySpace >::iterator dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::end ( const size_type  cellId)

◆ end() [4/4]

template<typename ValueType , utils::MemorySpace memorySpace>
QuadratureValuesContainer< ValueType, memorySpace >::const_iterator dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::end ( const size_type  cellId) const

◆ getCellQuadValues()

template<typename ValueType , utils::MemorySpace memorySpace>
template<utils::MemorySpace memorySpaceDst>
void dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::getCellQuadValues ( const size_type  cellId,
const size_type  componentId,
ValueType *  values 
) const

◆ getCellStartIds()

template<typename ValueType , utils::MemorySpace memorySpace>
const QuadratureValuesContainer< ValueType, memorySpace >::SizeTypeVector & dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::getCellStartIds

◆ getCellValues()

template<typename ValueType , utils::MemorySpace memorySpace>
template<utils::MemorySpace memorySpaceDst>
void dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::getCellValues ( const size_type  cellId,
ValueType *  values 
) const

◆ getNumberCellEntries()

template<typename ValueType , utils::MemorySpace memorySpace>
const QuadratureValuesContainer< ValueType, memorySpace >::SizeTypeVector & dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::getNumberCellEntries

◆ getNumberComponents()

template<typename ValueType , utils::MemorySpace memorySpace>
size_type dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::getNumberComponents
Here is the caller graph for this function:

◆ getQuadratureRuleContainer()

template<typename ValueType , utils::MemorySpace memorySpace>
std::shared_ptr< const QuadratureRuleContainer > dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::getQuadratureRuleContainer
Here is the caller graph for this function:

◆ nCellEntries()

template<typename ValueType , utils::MemorySpace memorySpace>
size_type dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::nCellEntries ( const size_type  cellId) const

◆ nCellQuadraturePoints()

template<typename ValueType , utils::MemorySpace memorySpace>
size_type dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::nCellQuadraturePoints ( const size_type  cellId) const
Here is the caller graph for this function:

◆ nCells()

template<typename ValueType , utils::MemorySpace memorySpace>
size_type dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::nCells
Here is the caller graph for this function:

◆ nEntries()

template<typename ValueType , utils::MemorySpace memorySpace>
size_type dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::nEntries
Here is the caller graph for this function:

◆ nQuadraturePoints()

template<typename ValueType , utils::MemorySpace memorySpace>
size_type dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::nQuadraturePoints
Here is the caller graph for this function:

◆ operator=() [1/2]

template<typename ValueType , utils::MemorySpace memorySpace>
QuadratureValuesContainer< ValueType, memorySpace > & dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::operator= ( const QuadratureValuesContainer< ValueType, memorySpace > &  rhs)

◆ operator=() [2/2]

template<typename ValueType , utils::MemorySpace memorySpace>
QuadratureValuesContainer< ValueType, memorySpace > & dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::operator= ( QuadratureValuesContainer< ValueType, memorySpace > &&  rhs)

◆ reinit()

template<typename ValueType , utils::MemorySpace memorySpace>
void dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::reinit ( std::shared_ptr< const QuadratureRuleContainer quadratureRuleContainer,
const size_type  numberComponents,
const ValueType  initVal = ValueType() 
)
Here is the caller graph for this function:

◆ setCellQuadValues()

template<typename ValueType , utils::MemorySpace memorySpace>
template<utils::MemorySpace memorySpaceSrc>
void dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::setCellQuadValues ( const size_type  cellId,
const size_type  componentId,
const ValueType *  values 
)

◆ setCellValues()

template<typename ValueType , utils::MemorySpace memorySpace>
template<utils::MemorySpace memorySpaceSrc>
void dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::setCellValues ( const size_type  cellId,
const ValueType *  values 
)

◆ setValue()

template<typename ValueType , utils::MemorySpace memorySpace>
void dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::setValue ( const ValueType  value)

Member Data Documentation

◆ d_cellStartIds

template<typename ValueType , utils::MemorySpace memorySpace>
SizeTypeVector dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::d_cellStartIds
private

◆ d_numberComponents

template<typename ValueType , utils::MemorySpace memorySpace>
size_type dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::d_numberComponents
private

◆ d_numCellEntries

template<typename ValueType , utils::MemorySpace memorySpace>
SizeTypeVector dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::d_numCellEntries
private

◆ d_quadratureRuleContainer

template<typename ValueType , utils::MemorySpace memorySpace>
std::shared_ptr<const QuadratureRuleContainer> dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::d_quadratureRuleContainer
private

◆ d_storage

template<typename ValueType , utils::MemorySpace memorySpace>
Storage dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::d_storage
private

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