
Public Member Functions | |
| MGVectorData () | |
| MGVectorData (const VectorSelector &) | |
| void | initialize (const NamedData< MGLevelObject< VECTOR > * > &) |
| void | initialize (const MGLevelObject< VECTOR > *, const std::string &name) |
| virtual void | mg_fill (std::vector< std::vector< std::vector< double > > > &values, std::vector< std::vector< std::vector< Tensor< 1, dim > > > > &gradients, std::vector< std::vector< std::vector< Tensor< 2, dim > > > > &hessians, const FEValuesBase< dim, spacedim > &fe, unsigned int level, const std::vector< unsigned int > &index, unsigned int component, unsigned int n_comp, unsigned int start, unsigned int size) const |
| std::size_t | memory_consumption () const |
Private Attributes | |
| NamedData< SmartPointer< const MGLevelObject< VECTOR > , MGVectorData< VECTOR, dim, spacedim > > > | data |
Based on VectorSelector, this is the class that implements the function VectorDataBase::fill() for a certain type of multilevel vectors, using NamedData to identify vectors by name.
Definition at line 410 of file vector_selector.h.
| MeshWorker::MGVectorData< VECTOR, dim, spacedim >::MGVectorData | ( | ) |
Constructor.
| MeshWorker::MGVectorData< VECTOR, dim, spacedim >::MGVectorData | ( | const VectorSelector & | ) |
Constructor using a prefilled VectorSelector
| void MeshWorker::MGVectorData< VECTOR, dim, spacedim >::initialize | ( | const NamedData< MGLevelObject< VECTOR > * > & | ) |
Initialize with a NamedData object and cache the indices in the VectorSelector base class.
| void MeshWorker::MGVectorData< VECTOR, dim, spacedim >::initialize | ( | const MGLevelObject< VECTOR > * | , |
| const std::string & | name | ||
| ) |
Initialize with a single vector and cache the indices in the VectorSelector base class.
| virtual void MeshWorker::MGVectorData< VECTOR, dim, spacedim >::mg_fill | ( | std::vector< std::vector< std::vector< double > > > & | values, |
| std::vector< std::vector< std::vector< Tensor< 1, dim > > > > & | gradients, | ||
| std::vector< std::vector< std::vector< Tensor< 2, dim > > > > & | hessians, | ||
| const FEValuesBase< dim, spacedim > & | fe, | ||
| unsigned int | level, | ||
| const std::vector< unsigned int > & | index, | ||
| unsigned int | component, | ||
| unsigned int | n_comp, | ||
| unsigned int | start, | ||
| unsigned int | size | ||
| ) | const [virtual] |
Fill the local data vector from level vectors. Performs exactly what the other fill() does, but uses the cell level to access a single level out of a hierarchy of level vectors, instead of a global data vector on the active cells.
Reimplemented from MeshWorker::VectorDataBase< dim, spacedim >.
| std::size_t MeshWorker::MGVectorData< VECTOR, dim, spacedim >::memory_consumption | ( | ) | const |
The memory used by this object.
Reimplemented from MeshWorker::VectorDataBase< dim, spacedim >.
NamedData<SmartPointer<const MGLevelObject<VECTOR>,MGVectorData<VECTOR,dim,spacedim> > > MeshWorker::MGVectorData< VECTOR, dim, spacedim >::data [private] |
Definition at line 470 of file vector_selector.h.
documentation generated on Fri Feb 3 2012 06:04:15 by
doxygen
1.7.2