#include <QuadratureValuesContainer.h>
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()) | |
~QuadratureValuesContainer ()=default | |
void | reinit (std::shared_ptr< const QuadratureRuleContainer > quadratureRuleContainer, const size_type numberComponents, const ValueType initVal=ValueType()) |
QuadratureValuesContainer (const QuadratureValuesContainer &u) | |
QuadratureValuesContainer (QuadratureValuesContainer &&u) | |
QuadratureValuesContainer & | operator= (const QuadratureValuesContainer &rhs) |
QuadratureValuesContainer & | operator= (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 quadId, 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 quadId, ValueType *values) const |
std::shared_ptr< const QuadratureRuleContainer > | getQuadratureRuleContainer () 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 SizeTypeVector & | getCellStartIds () const |
const SizeTypeVector & | getNumberCellEntries () 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 |
ValueType * | data () |
const ValueType * | data () const |
Private Attributes | |
size_type | d_numberComponents |
SizeTypeVector | d_cellStartIds |
SizeTypeVector | d_numCellEntries |
Storage | d_storage |
std::shared_ptr< const QuadratureRuleContainer > | d_quadratureRuleContainer |
using dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::const_iterator = typename dftefe::utils::MemoryStorage<ValueType, memorySpace>::const_iterator |
using dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::const_reference = typename dftefe::utils::MemoryStorage<ValueType, memorySpace>::const_reference |
using dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::iterator = typename dftefe::utils::MemoryStorage<ValueType, memorySpace>::iterator |
using dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::pointer = typename dftefe::utils::MemoryStorage<ValueType, memorySpace>::pointer |
using dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::reference = typename dftefe::utils::MemoryStorage<ValueType, memorySpace>::reference |
using dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::SizeTypeVector = utils::MemoryStorage<size_type, memorySpace> |
using dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::Storage = dftefe::utils::MemoryStorage<ValueType, memorySpace> |
dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::QuadratureValuesContainer |
dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::QuadratureValuesContainer | ( | std::shared_ptr< const QuadratureRuleContainer > | quadratureRuleContainer, |
const size_type | numberComponents, | ||
const ValueType | initVal = ValueType() |
||
) |
|
default |
dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::QuadratureValuesContainer | ( | const QuadratureValuesContainer< ValueType, memorySpace > & | u | ) |
dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::QuadratureValuesContainer | ( | QuadratureValuesContainer< ValueType, memorySpace > && | u | ) |
QuadratureValuesContainer< ValueType, memorySpace >::iterator dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::begin |
QuadratureValuesContainer< ValueType, memorySpace >::const_iterator dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::begin |
QuadratureValuesContainer< ValueType, memorySpace >::iterator dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::begin | ( | const size_type | cellId | ) |
QuadratureValuesContainer< ValueType, memorySpace >::const_iterator dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::begin | ( | const size_type | cellId | ) | const |
size_type dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::cellStartId | ( | const size_type | cellId | ) | const |
ValueType * dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::data |
const ValueType * dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::data |
QuadratureValuesContainer< ValueType, memorySpace >::iterator dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::end |
QuadratureValuesContainer< ValueType, memorySpace >::const_iterator dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::end |
QuadratureValuesContainer< ValueType, memorySpace >::iterator dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::end | ( | const size_type | cellId | ) |
QuadratureValuesContainer< ValueType, memorySpace >::const_iterator dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::end | ( | const size_type | cellId | ) | const |
void dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::getCellQuadValues | ( | const size_type | cellId, |
const size_type | quadId, | ||
ValueType * | values | ||
) | const |
const QuadratureValuesContainer< ValueType, memorySpace >::SizeTypeVector & dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::getCellStartIds |
void dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::getCellValues | ( | const size_type | cellId, |
ValueType * | values | ||
) | const |
const QuadratureValuesContainer< ValueType, memorySpace >::SizeTypeVector & dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::getNumberCellEntries |
size_type dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::getNumberComponents |
std::shared_ptr< const QuadratureRuleContainer > dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::getQuadratureRuleContainer |
size_type dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::nCellEntries | ( | const size_type | cellId | ) | const |
size_type dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::nCellQuadraturePoints | ( | const size_type | cellId | ) | const |
size_type dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::nCells |
size_type dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::nEntries |
size_type dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::nQuadraturePoints |
QuadratureValuesContainer< ValueType, memorySpace > & dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::operator= | ( | const QuadratureValuesContainer< ValueType, memorySpace > & | rhs | ) |
QuadratureValuesContainer< ValueType, memorySpace > & dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::operator= | ( | QuadratureValuesContainer< ValueType, memorySpace > && | rhs | ) |
void dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::reinit | ( | std::shared_ptr< const QuadratureRuleContainer > | quadratureRuleContainer, |
const size_type | numberComponents, | ||
const ValueType | initVal = ValueType() |
||
) |
void dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::setCellQuadValues | ( | const size_type | cellId, |
const size_type | quadId, | ||
const ValueType * | values | ||
) |
void dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::setCellValues | ( | const size_type | cellId, |
const ValueType * | values | ||
) |
void dftefe::quadrature::QuadratureValuesContainer< ValueType, memorySpace >::setValue | ( | const ValueType | value | ) |
|
private |
|
private |
|
private |
|
private |
|
private |