Reference documentation for deal.II version 9.0.0
|
Public Member Functions | |
InternalData (const unsigned int n_base_elements) | |
~InternalData () | |
void | set_fe_data (const unsigned int base_no, std::unique_ptr< typename FiniteElement< dim, spacedim >::InternalDataBase >) |
FiniteElement< dim, spacedim >::InternalDataBase & | get_fe_data (const unsigned int base_no) const |
internal::FEValuesImplementation::FiniteElementRelatedData< dim, spacedim > & | get_fe_output_object (const unsigned int base_no) const |
Public Member Functions inherited from FiniteElement< dim, spacedim >::InternalDataBase | |
InternalDataBase () | |
virtual | ~InternalDataBase ()=default |
virtual std::size_t | memory_consumption () const |
Private Attributes | |
std::vector< std::unique_ptr< typename FiniteElement< dim, spacedim >::InternalDataBase > > | base_fe_datas |
std::vector< internal::FEValuesImplementation::FiniteElementRelatedData< dim, spacedim > > | base_fe_output_objects |
Additional Inherited Members | |
Public Attributes inherited from FiniteElement< dim, spacedim >::InternalDataBase | |
UpdateFlags | update_each |
Usually: Fields of cell-independent data.
However, here, this class does not itself store the data but only pointers to InternalData
objects for each of the base elements.
Definition at line 1099 of file fe_system.h.
FESystem< dim, spacedim >::InternalData::InternalData | ( | const unsigned int | n_base_elements | ) |
Constructor. Is called by the get_data
function. Sets the size of the base_fe_datas
vector to n_base_elements
.
Definition at line 53 of file fe_system.cc.
FESystem< dim, spacedim >::InternalData::~InternalData | ( | ) |
Destructor. Deletes all InternalDatas
whose pointers are stored by the base_fe_datas
vector.
Definition at line 62 of file fe_system.cc.
void FESystem< dim, spacedim >::InternalData::set_fe_data | ( | const unsigned int | base_no, |
std::unique_ptr< typename FiniteElement< dim, spacedim >::InternalDataBase > | ptr | ||
) |
Give write-access to the pointer to a InternalData
of the base_noth
base element.
Definition at line 85 of file fe_system.cc.
FiniteElement< dim, spacedim >::InternalDataBase & FESystem< dim, spacedim >::InternalData::get_fe_data | ( | const unsigned int | base_no | ) | const |
Give read-access to the pointer to a InternalData
of the base_noth
base element.
Definition at line 73 of file fe_system.cc.
internal::FEValuesImplementation::FiniteElementRelatedData< dim, spacedim > & FESystem< dim, spacedim >::InternalData::get_fe_output_object | ( | const unsigned int | base_no | ) | const |
Give read-access to the pointer to an object to which into which the base_no
th base element will write its output when calling FiniteElement::fill_fe_values() and similar functions.
Definition at line 98 of file fe_system.cc.
|
private |
Pointers to InternalData
objects for each of the base elements. They are accessed to by the set_
and get_fe_data
functions.
The size of this vector is set to n_base_elements
by the InternalData constructor. It is filled by the get_data
function. Note that since the data for each instance of a base class is necessarily the same, we only need as many of these objects as there are base elements, irrespective of their multiplicity.
Definition at line 1148 of file fe_system.h.
|
mutableprivate |
A collection of objects to which the base elements will write their output when we call FiniteElement::fill_fe_values() and related functions on them.
The size of this vector is set to n_base_elements
by the InternalData constructor.
Definition at line 1158 of file fe_system.h.