
Public Member Functions | |
| DataEntry (const VectorType *data, const std::vector< std::string > &names, const std::vector< DataComponentInterpretation::DataComponentInterpretation > &data_component_interpretation) | |
| DataEntry (const VectorType *data, const DataPostprocessor< DH::space_dimension > *data_postprocessor) | |
| virtual double | get_cell_data_value (const unsigned int cell_number) const |
| virtual void | get_function_values (const FEValuesBase< DH::dimension, DH::space_dimension > &fe_patch_values, std::vector< double > &patch_values) const |
| virtual void | get_function_values (const FEValuesBase< DH::dimension, DH::space_dimension > &fe_patch_values, std::vector< Vector< double > > &patch_values_system) const |
| virtual void | get_function_gradients (const FEValuesBase< DH::dimension, DH::space_dimension > &fe_patch_values, std::vector< Tensor< 1, DH::space_dimension > > &patch_gradients) const |
| virtual void | get_function_gradients (const FEValuesBase< DH::dimension, DH::space_dimension > &fe_patch_values, std::vector< std::vector< Tensor< 1, DH::space_dimension > > > &patch_gradients_system) const |
| virtual void | get_function_hessians (const FEValuesBase< DH::dimension, DH::space_dimension > &fe_patch_values, std::vector< Tensor< 2, DH::space_dimension > > &patch_hessians) const |
| virtual void | get_function_hessians (const FEValuesBase< DH::dimension, DH::space_dimension > &fe_patch_values, std::vector< std::vector< Tensor< 2, DH::space_dimension > > > &patch_hessians_system) const |
| virtual void | clear () |
| virtual std::size_t | memory_consumption () const |
Private Attributes | |
| const VectorType * | vector |
Class that stores a pointer to a vector of type equal to the template argument, and provides the functions to extract data from it.
Definition at line 915 of file data_out.h.
| DataOut_DoFData< DH, patch_dim, patch_space_dim >::DataEntry< VectorType >::DataEntry | ( | const VectorType * | data, |
| const std::vector< std::string > & | names, | ||
| const std::vector< DataComponentInterpretation::DataComponentInterpretation > & | data_component_interpretation | ||
| ) |
Constructor. Give a list of names for the individual components of the vector and their interpretation as scalar or vector data. This constructor assumes that no postprocessor is going to be used.
| DataOut_DoFData< DH, patch_dim, patch_space_dim >::DataEntry< VectorType >::DataEntry | ( | const VectorType * | data, |
| const DataPostprocessor< DH::space_dimension > * | data_postprocessor | ||
| ) |
Constructor when a data postprocessor is going to be used. In that case, the names and vector declarations are going to be aquired from the postprocessor.
| virtual double DataOut_DoFData< DH, patch_dim, patch_space_dim >::DataEntry< VectorType >::get_cell_data_value | ( | const unsigned int | cell_number ) | const [virtual] |
Assuming that the stored vector is a cell vector, extract the given element from it.
Implements DataOut_DoFData< DH, patch_dim, patch_space_dim >::DataEntryBase.
| virtual void DataOut_DoFData< DH, patch_dim, patch_space_dim >::DataEntry< VectorType >::get_function_values | ( | const FEValuesBase< DH::dimension, DH::space_dimension > & | fe_patch_values, |
| std::vector< double > & | patch_values | ||
| ) | const [virtual] |
Given a FEValuesBase object, extract the values on the present cell from the vector we actually store.
Implements DataOut_DoFData< DH, patch_dim, patch_space_dim >::DataEntryBase.
| virtual void DataOut_DoFData< DH, patch_dim, patch_space_dim >::DataEntry< VectorType >::get_function_values | ( | const FEValuesBase< DH::dimension, DH::space_dimension > & | fe_patch_values, |
| std::vector< Vector< double > > & | patch_values_system | ||
| ) | const [virtual] |
Given a FEValuesBase object, extract the values on the present cell from the vector we actually store. This function does the same as the one above but for vector-valued finite elements.
Implements DataOut_DoFData< DH, patch_dim, patch_space_dim >::DataEntryBase.
| virtual void DataOut_DoFData< DH, patch_dim, patch_space_dim >::DataEntry< VectorType >::get_function_gradients | ( | const FEValuesBase< DH::dimension, DH::space_dimension > & | fe_patch_values, |
| std::vector< Tensor< 1, DH::space_dimension > > & | patch_gradients | ||
| ) | const [virtual] |
Given a FEValuesBase object, extract the gradients on the present cell from the vector we actually store.
Implements DataOut_DoFData< DH, patch_dim, patch_space_dim >::DataEntryBase.
| virtual void DataOut_DoFData< DH, patch_dim, patch_space_dim >::DataEntry< VectorType >::get_function_gradients | ( | const FEValuesBase< DH::dimension, DH::space_dimension > & | fe_patch_values, |
| std::vector< std::vector< Tensor< 1, DH::space_dimension > > > & | patch_gradients_system | ||
| ) | const [virtual] |
Given a FEValuesBase object, extract the gradients on the present cell from the vector we actually store. This function does the same as the one above but for vector-valued finite elements.
Implements DataOut_DoFData< DH, patch_dim, patch_space_dim >::DataEntryBase.
| virtual void DataOut_DoFData< DH, patch_dim, patch_space_dim >::DataEntry< VectorType >::get_function_hessians | ( | const FEValuesBase< DH::dimension, DH::space_dimension > & | fe_patch_values, |
| std::vector< Tensor< 2, DH::space_dimension > > & | patch_hessians | ||
| ) | const [virtual] |
Given a FEValuesBase object, extract the second derivatives on the present cell from the vector we actually store.
Implements DataOut_DoFData< DH, patch_dim, patch_space_dim >::DataEntryBase.
| virtual void DataOut_DoFData< DH, patch_dim, patch_space_dim >::DataEntry< VectorType >::get_function_hessians | ( | const FEValuesBase< DH::dimension, DH::space_dimension > & | fe_patch_values, |
| std::vector< std::vector< Tensor< 2, DH::space_dimension > > > & | patch_hessians_system | ||
| ) | const [virtual] |
Given a FEValuesBase object, extract the second derivatives on the present cell from the vector we actually store. This function does the same as the one above but for vector-valued finite elements.
Implements DataOut_DoFData< DH, patch_dim, patch_space_dim >::DataEntryBase.
| virtual void DataOut_DoFData< DH, patch_dim, patch_space_dim >::DataEntry< VectorType >::clear | ( | ) | [virtual] |
Clear all references to the vectors.
Implements DataOut_DoFData< DH, patch_dim, patch_space_dim >::DataEntryBase.
| virtual std::size_t DataOut_DoFData< DH, patch_dim, patch_space_dim >::DataEntry< VectorType >::memory_consumption | ( | ) | const [virtual] |
Determine an estimate for the memory consumption (in bytes) of this object.
Implements DataOut_DoFData< DH, patch_dim, patch_space_dim >::DataEntryBase.
const VectorType* DataOut_DoFData< DH, patch_dim, patch_space_dim >::DataEntry< VectorType >::vector [private] |
Pointer to the data vector. Note that ownership of the vector pointed to remains with the caller of this class.
Definition at line 1043 of file data_out.h.
documentation generated on Fri Feb 3 2012 06:04:06 by
doxygen
1.7.2