deal.II version GIT relicensing-2287-g6548a49e0a 2024-12-20 18:30:00+00:00
|
#include <deal.II/matrix_free/fe_evaluation_data.h>
Classes | |
struct | InitializationData |
Public Types | |
using | NumberType = Number |
using | ScalarNumber = typename internal::VectorizedArrayTrait< Number >::value_type |
using | shape_info_number_type = ScalarNumber |
Public Member Functions | |
FEEvaluationData (const ShapeInfoType &shape_info, const bool is_interior_face=true) | |
FEEvaluationData (const FEEvaluationData &other)=default | |
FEEvaluationData & | operator= (const FEEvaluationData &other) |
virtual | ~FEEvaluationData ()=default |
void | set_data_pointers (AlignedVector< Number > *scratch_data, const unsigned int n_components) |
void | reinit_face (const internal::MatrixFreeFunctions::FaceToCellTopology< n_lanes > &face) |
Access to geometry data at quadrature points | |
ArrayView< Number > | get_scratch_data () const |
Number | JxW (const unsigned int q_point) const |
Point< dim, Number > | quadrature_point (const unsigned int q) const |
Tensor< 2, dim, Number > | inverse_jacobian (const unsigned int q_point) const |
Tensor< 1, dim, Number > | normal_vector (const unsigned int q_point) const |
Tensor< 1, dim, Number > | get_normal_vector (const unsigned int q_point) const |
Access to internal data arrays | |
const Number * | begin_dof_values () const |
Number * | begin_dof_values () |
const Number * | begin_values () const |
Number * | begin_values () |
const Number * | begin_gradients () const |
Number * | begin_gradients () |
const Number * | begin_hessians () const |
Number * | begin_hessians () |
Information about the current cell this class operates on | |
unsigned int | get_mapping_data_index_offset () const |
internal::MatrixFreeFunctions::GeometryType | get_cell_type () const |
const ShapeInfoType & | get_shape_info () const |
const internal::MatrixFreeFunctions::DoFInfo & | get_dof_info () const |
const std::vector< unsigned int > & | get_internal_dof_numbering () const |
unsigned int | get_quadrature_index () const |
unsigned int | get_current_cell_index () const |
unsigned int | get_active_fe_index () const |
unsigned int | get_active_quadrature_index () const |
unsigned int | get_first_selected_component () const |
std::uint8_t | get_face_no (const unsigned int v=0) const |
unsigned int | get_subface_index () const |
std::uint8_t | get_face_orientation (const unsigned int v=0) const |
internal::MatrixFreeFunctions::DoFInfo::DoFAccessIndex | get_dof_access_index () const |
bool | is_interior_face () const |
const std::array< unsigned int, n_lanes > & | get_cell_ids () const |
const std::array< unsigned int, n_lanes > & | get_face_ids () const |
unsigned int | get_cell_or_face_batch_id () const |
const std::array< unsigned int, n_lanes > & | get_cell_or_face_ids () const |
std_cxx20::ranges::iota_view< unsigned int, unsigned int > | quadrature_point_indices () const |
Functions to access cell- and face-data vectors. | |
template<typename T > | |
T | read_cell_data (const AlignedVector< T > &array) const |
template<typename T > | |
void | set_cell_data (AlignedVector< T > &array, const T &value) const |
template<typename T > | |
T | read_face_data (const AlignedVector< T > &array) const |
template<typename T > | |
void | set_face_data (AlignedVector< T > &array, const T &value) const |
Static Public Attributes | |
static constexpr unsigned int | dimension = dim |
static constexpr unsigned int | n_lanes |
Protected Member Functions | |
FEEvaluationData (const InitializationData &initialization_data, const bool is_interior_face, const unsigned int quad_no, const unsigned int first_selected_component) | |
FEEvaluationData (const std::shared_ptr< internal::MatrixFreeFunctions::MappingDataOnTheFly< dim, Number > > &mapping_data, const unsigned int n_fe_components, const unsigned int first_selected_component) | |
Private Types | |
using | ShapeInfoType = internal::MatrixFreeFunctions::ShapeInfo< typename internal::VectorizedArrayTrait< Number >::value_type > |
using | MappingInfoStorageType = internal::MatrixFreeFunctions::MappingInfoStorage<(is_face ? dim - 1 :dim), dim, Number > |
using | DoFInfo = internal::MatrixFreeFunctions::DoFInfo |
Friends | |
template<int , int , typename , bool , typename > | |
class | FEEvaluationBase |
template<int , int , int , int , typename , typename > | |
class | FEEvaluation |
This base class of the FEEvaluation and FEFaceEvaluation classes handles mapping-related information independent of the degrees of freedom and finite element in use. This class provides access functionality for user code. The main usage is through the class FEEvaluation. However, there is functionality to construct an object of type FEEvaluationData given suitable data pointers to internal data, which allows usage in some scenarios where no full MatrixFree object is available.
This class has four template arguments:
dim | Dimension in which this class is to be used |
Number | Number format, usually double or float |
is_face | Whether the class is used for a cell integrator (with quadrature dimension the same as the space dimension) or for a face integrator (with quadrature dimension one less) |
VectorizedArrayType | Type of array to be woked on in a vectorized fashion, defaults to VectorizedArray<Number> |
Definition at line 113 of file fe_evaluation_data.h.
|
private |
Definition at line 115 of file fe_evaluation_data.h.
|
private |
Definition at line 117 of file fe_evaluation_data.h.
|
private |
Definition at line 119 of file fe_evaluation_data.h.
using FEEvaluationData< dim, Number, is_face >::NumberType = Number |
Definition at line 124 of file fe_evaluation_data.h.
using FEEvaluationData< dim, Number, is_face >::ScalarNumber = typename internal::VectorizedArrayTrait<Number>::value_type |
Definition at line 125 of file fe_evaluation_data.h.
using FEEvaluationData< dim, Number, is_face >::shape_info_number_type = ScalarNumber |
Definition at line 127 of file fe_evaluation_data.h.
FEEvaluationData< dim, Number, is_face >::FEEvaluationData | ( | const ShapeInfoType & | shape_info, |
const bool | is_interior_face = true |
||
) |
Constructor, taking a single ShapeInfo object to inject the capability for evaluation and set up some data containers, compatible with the internal evaluation kernels of FEEvaluationImpl and friends. For actual use, select one of the derived classes FEEvaluation or FEFaceEvaluation with their respective arguments.
|
default |
Copy constructor.
|
virtualdefault |
Destructor.
|
protected |
Constructor filling information available from a MatrixFree class, collected in an internal data structure to reduce overhead of initialization. Used in derived classes when this class is initialized from a MatrixFree object.
|
protected |
Constructor that comes with reduced functionality and works similarly as FEValues.
FEEvaluationData & FEEvaluationData< dim, Number, is_face >::operator= | ( | const FEEvaluationData< dim, Number, is_face > & | other | ) |
Copy assignment operator.
void FEEvaluationData< dim, Number, is_face >::set_data_pointers | ( | AlignedVector< Number > * | scratch_data, |
const unsigned int | n_components | ||
) |
Sets the pointers for values, gradients, hessians to the central scratch_data_array inside the given scratch array, for a given number of components as provided by one of the derived classes.
void FEEvaluationData< dim, Number, is_face >::reinit_face | ( | const internal::MatrixFreeFunctions::FaceToCellTopology< n_lanes > & | face | ) |
Initialize the indices related to the given face description. Used during the reinit() call of the FEFaceEvaluation class.
ArrayView< Number > FEEvaluationData< dim, Number, is_face >::get_scratch_data | ( | ) | const |
Return an ArrayView to internal memory for temporary use. Note that some of this memory is overwritten during evaluate() and integrate() calls so do not assume it to be stable over those calls. The maximum size you can write into is 3*dofs_per_cell+2*n_q_points.
Number FEEvaluationData< dim, Number, is_face >::JxW | ( | const unsigned int | q_point | ) | const |
Return the determinant of the Jacobian from the unit to the real cell times the quadrature weight.
Point< dim, Number > FEEvaluationData< dim, Number, is_face >::quadrature_point | ( | const unsigned int | q | ) | const |
Returns the q-th quadrature point on the face in real coordinates stored in MappingInfo.
Tensor< 2, dim, Number > FEEvaluationData< dim, Number, is_face >::inverse_jacobian | ( | const unsigned int | q_point | ) | const |
Return the inverse and transposed version \(J^{-\mathrm T}\) of the Jacobian of the mapping between the unit to the real cell defined as \(J_{ij} = d x_i / d\hat x_j\). The \((i,j)\) entry of the returned tensor contains \(d\hat x_j/dx_i\), i.e., columns refer to reference space coordinates and rows to real cell coordinates. Thus, the returned tensor represents a covariant transformation, which is used in the FEEvaluationBase::get_gradient() function to transform the unit cell gradients to gradients on the real cell by a multiplication \(J^{-\mathrm T} \hat{\nabla} u_h\).
Tensor< 1, dim, Number > FEEvaluationData< dim, Number, is_face >::normal_vector | ( | const unsigned int | q_point | ) | const |
Return the unit normal vector on a face. Note that both sides of a face use the same orientation of the normal vector: For the faces enumerated as interior
in FaceToCellTopology and selected with the is_interior_face=true
flag of the constructor, this corresponds to the outer normal vector, whereas for faces enumerated as exterior
in FaceToCellTopology and selected with the is_interior_face=false
flag of the constructor, the normal points into the element as a consequence of the single normal vector.
is_face == true
. Tensor< 1, dim, Number > FEEvaluationData< dim, Number, is_face >::get_normal_vector | ( | const unsigned int | q_point | ) | const |
Same as normal_vector(const unsigned int q_point)
.
const Number * FEEvaluationData< dim, Number, is_face >::begin_dof_values | ( | ) | const |
Return a read-only pointer to the first field of the dof values. This is the data field the read_dof_values() functions write into. First come the dof values for the first component, then all values for the second component, and so on. This is related to the internal data structures used in this class. In general, it is safer to use the get_dof_value() function instead.
Number * FEEvaluationData< dim, Number, is_face >::begin_dof_values | ( | ) |
Return a read and write pointer to the first field of the dof values. This is the data field the read_dof_values() functions write into. First come the dof values for the first component, then all values for the second component, and so on. This is related to the internal data structures used in this class. In general, it is safer to use the get_dof_value() function instead.
const Number * FEEvaluationData< dim, Number, is_face >::begin_values | ( | ) | const |
Return a read-only pointer to the first field of function values on quadrature points. First come the function values on all quadrature points for the first component, then all values for the second component, and so on. This is related to the internal data structures used in this class. The raw data after a call to evaluate
only contains unit cell operations, so possible transformations, quadrature weights etc. must be applied manually. In general, it is safer to use the get_value() function instead, which does all the transformation internally.
Number * FEEvaluationData< dim, Number, is_face >::begin_values | ( | ) |
Return a read and write pointer to the first field of function values on quadrature points. First come the function values on all quadrature points for the first component, then all values for the second component, and so on. This is related to the internal data structures used in this class. The raw data after a call to evaluate
only contains unit cell operations, so possible transformations, quadrature weights etc. must be applied manually. In general, it is safer to use the get_value() function instead, which does all the transformation internally.
const Number * FEEvaluationData< dim, Number, is_face >::begin_gradients | ( | ) | const |
Return a read-only pointer to the first field of function gradients on quadrature points. First comes the x-component of the gradient for the first component on all quadrature points, then the y-component, and so on. Next comes the x-component of the second component, and so on. This is related to the internal data structures used in this class. The raw data after a call to evaluate
only contains unit cell operations, so possible transformations, quadrature weights etc. must be applied manually. In general, it is safer to use the get_gradient() function instead, which does all the transformation internally.
Number * FEEvaluationData< dim, Number, is_face >::begin_gradients | ( | ) |
Return a read and write pointer to the first field of function gradients on quadrature points. First comes the x-component of the gradient for the first component on all quadrature points, then the y-component, and so on. Next comes the x-component of the second component, and so on. This is related to the internal data structures used in this class. The raw data after a call to evaluate
only contains unit cell operations, so possible transformations, quadrature weights etc. must be applied manually. In general, it is safer to use the get_gradient() function instead, which does all the transformation internally.
const Number * FEEvaluationData< dim, Number, is_face >::begin_hessians | ( | ) | const |
Return a read-only pointer to the first field of function hessians on quadrature points. First comes the xx-component of the hessian for the first component on all quadrature points, then the yy-component, zz-component in (3d), then the xy-component, and so on. Next comes the xx-component of the second component, and so on. This is related to the internal data structures used in this class. The raw data after a call to evaluate
only contains unit cell operations, so possible transformations, quadrature weights etc. must be applied manually. In general, it is safer to use the get_laplacian() or get_hessian() functions instead, which does all the transformation internally.
Number * FEEvaluationData< dim, Number, is_face >::begin_hessians | ( | ) |
Return a read and write pointer to the first field of function hessians on quadrature points. First comes the xx-component of the hessian for the first component on all quadrature points, then the yy-component, zz-component in (3d), then the xy-component, and so on. Next comes the xx-component of the second component, and so on. This is related to the internal data structures used in this class. The raw data after a call to evaluate
only contains unit cell operations, so possible transformations, quadrature weights etc. must be applied manually. In general, it is safer to use the get_laplacian() or get_hessian() functions instead, which does all the transformation internally.
unsigned int FEEvaluationData< dim, Number, is_face >::get_mapping_data_index_offset | ( | ) | const |
Return the index offset within the geometry fields for the cell the reinit()
function has been called for. This index can be used to access an index into a field that has the same compression behavior as the Jacobian of the geometry, e.g., to store an effective coefficient tensors that combines a coefficient with the geometry for lower memory transfer as the available data fields.
internal::MatrixFreeFunctions::GeometryType FEEvaluationData< dim, Number, is_face >::get_cell_type | ( | ) | const |
Return the type of the cell the reinit()
function has been called for. Valid values are cartesian
for Cartesian cells (which allows for considerable data compression), affine
for cells with affine mappings, and general
for general cells without any compressed storage applied.
const ShapeInfoType & FEEvaluationData< dim, Number, is_face >::get_shape_info | ( | ) | const |
Return a reference to the ShapeInfo object currently in use.
const internal::MatrixFreeFunctions::DoFInfo & FEEvaluationData< dim, Number, is_face >::get_dof_info | ( | ) | const |
Return a reference to the DoFInfo object currently in use.
const std::vector< unsigned int > & FEEvaluationData< dim, Number, is_face >::get_internal_dof_numbering | ( | ) | const |
Return the numbering of local degrees of freedom within the evaluation routines of FEEvaluation in terms of the standard numbering on finite elements.
unsigned int FEEvaluationData< dim, Number, is_face >::get_quadrature_index | ( | ) | const |
Return the number of the quadrature formula of the present cell.
unsigned int FEEvaluationData< dim, Number, is_face >::get_current_cell_index | ( | ) | const |
Return index of the current cell or face.
unsigned int FEEvaluationData< dim, Number, is_face >::get_active_fe_index | ( | ) | const |
Return the active FE index for this class for efficient indexing in the hp-case.
unsigned int FEEvaluationData< dim, Number, is_face >::get_active_quadrature_index | ( | ) | const |
Return the active quadrature index for this class for efficient indexing in the hp-case.
unsigned int FEEvaluationData< dim, Number, is_face >::get_first_selected_component | ( | ) | const |
Return the first selected component in a multi-component system.
std::uint8_t FEEvaluationData< dim, Number, is_face >::get_face_no | ( | const unsigned int | v = 0 | ) | const |
If is_face is true, this function returns the face number of the given lane within a cell for the face this object was initialized to. On cells where the face makes no sense, an exception is thrown.
dof_access_index == dof_access_cell
and is_interior_face == false
.unsigned int FEEvaluationData< dim, Number, is_face >::get_subface_index | ( | ) | const |
If is_face is true, this function returns the index of a subface along a face in case this object was initialized to a face with hanging nodes. On faces On cells where the face makes no sense, an exception is thrown.
std::uint8_t FEEvaluationData< dim, Number, is_face >::get_face_orientation | ( | const unsigned int | v = 0 | ) | const |
If is_face is true, this function returns for a given lane the orientation index within an array of orientations as stored in ShapeInfo for unknowns and quadrature points.
dof_access_index == dof_access_cell
and is_interior_face == false
. internal::MatrixFreeFunctions::DoFInfo::DoFAccessIndex FEEvaluationData< dim, Number, is_face >::get_dof_access_index | ( | ) | const |
Return the current index in the access to compressed indices.
bool FEEvaluationData< dim, Number, is_face >::is_interior_face | ( | ) | const |
Return whether this object was set up to work on what is called "interior" faces in the evaluation context.
|
inline |
Return the id of the cells this FEEvaluation or FEFaceEvaluation is associated with.
Definition at line 496 of file fe_evaluation_data.h.
|
inline |
Return the id of the faces this FEFaceEvaluation is associated with.
Definition at line 510 of file fe_evaluation_data.h.
|
inline |
Return the id of the cell/face batch this FEEvaluation/FEFaceEvaluation is associated with.
Definition at line 524 of file fe_evaluation_data.h.
|
inline |
Return the id of the cells/faces this FEEvaluation/FEFaceEvaluation is associated with.
Definition at line 539 of file fe_evaluation_data.h.
std_cxx20::ranges::iota_view< unsigned int, unsigned int > FEEvaluationData< dim, Number, is_face >::quadrature_point_indices | ( | ) | const |
Return an object that can be thought of as an array containing all indices from zero to n_quadrature_points
. This allows to write code using range-based for loops.
T FEEvaluationData< dim, Number, is_face >::read_cell_data | ( | const AlignedVector< T > & | array | ) | const |
Provides a unified interface to access data in a vector of VectorizedArray fields of length MatrixFree::n_cell_batches() + MatrixFree::n_ghost_cell_batches() for cell data. It is implemented both for cells and faces (access data to the associated cell).
The underlying type can be both the Number type as given by the class template (i.e., VectorizedArrayType) as well as std::array with as many entries as n_lanes.
void FEEvaluationData< dim, Number, is_face >::set_cell_data | ( | AlignedVector< T > & | array, |
const T & | value | ||
) | const |
Provides a unified interface to set data in a vector of VectorizedArray fields of length MatrixFree::n_cell_batches() + MatrixFree::n_ghost_cell_batches() for cell data. It is implemented both for cells and faces (access data to the associated cell).
T FEEvaluationData< dim, Number, is_face >::read_face_data | ( | const AlignedVector< T > & | array | ) | const |
Provides a unified interface to access data in a vector of VectorizedArray fields of length MatrixFree::n_inner_face_batches() + MatrixFree::n_boundary_face_batches() + MatrixFree::n_ghost_inner_face_batches() for face data.
void FEEvaluationData< dim, Number, is_face >::set_face_data | ( | AlignedVector< T > & | array, |
const T & | value | ||
) | const |
Provides a unified interface to set data in a vector of VectorizedArray fields of length MatrixFree::n_inner_face_batches() + MatrixFree::n_boundary_face_batches() + MatrixFree::n_ghost_inner_face_batches() for face data.
|
friend |
Definition at line 1001 of file fe_evaluation_data.h.
|
friend |
Definition at line 1004 of file fe_evaluation_data.h.
|
staticconstexpr |
Definition at line 122 of file fe_evaluation_data.h.
|
staticconstexpr |
Definition at line 129 of file fe_evaluation_data.h.
|
protected |
A pointer to the unit cell shape data, i.e., values, gradients and Hessians in 1d at the quadrature points that constitute the tensor product. Also contained in matrix_info, but it simplifies code if we store a reference to it.
Definition at line 661 of file fe_evaluation_data.h.
|
protected |
A pointer to the underlying DoF indices and constraint description for the component specified at construction. Also contained in matrix_info, but it simplifies code if we store a reference to it.
Definition at line 668 of file fe_evaluation_data.h.
|
protected |
A pointer to the underlying transformation data from unit to real cells for the given quadrature formula specified at construction. Also contained in matrix_info, but it simplifies code if we store a reference to it.
Definition at line 676 of file fe_evaluation_data.h.
|
protected |
The number of the quadrature formula of the present cell among all quadrature formulas available in the MatrixFree objects pass to derived classes.
Definition at line 683 of file fe_evaluation_data.h.
|
protected |
Stores the number of components in the finite element as detected in the MatrixFree storage class for comparison with the template argument.
Definition at line 689 of file fe_evaluation_data.h.
|
protected |
For a FiniteElement with more than one base element, select at which component this data structure should start.
Definition at line 695 of file fe_evaluation_data.h.
|
protected |
The active FE index for this class for efficient indexing in the hp-case.
Definition at line 700 of file fe_evaluation_data.h.
|
protected |
The active quadrature index for this class for efficient indexing in the hp-case.
Definition at line 706 of file fe_evaluation_data.h.
|
protected |
A pointer to the underlying quadrature formula specified at construction. Also contained in mapping_data, but it simplifies code if we store a reference to it.
Definition at line 713 of file fe_evaluation_data.h.
|
protected |
The number of quadrature points in the current evaluation context.
Definition at line 718 of file fe_evaluation_data.h.
|
protected |
A pointer to the quadrature-point information of the present cell. Only set to a useful value if on a non-Cartesian cell.
Definition at line 724 of file fe_evaluation_data.h.
|
protected |
A pointer to the inverse transpose Jacobian information of the present cell. Only the first inverse transpose Jacobian (q_point = 0) is set for Cartesian/affine cells, and the actual Jacobian is stored at index 1 instead. For faces on hypercube elements, the derivatives are reorder s.t. the derivative orthogonal to the face is stored last, i.e for dim = 3 and face_no = 0 or 1, the derivatives are ordered as [dy, dz, dx], face_no = 2 or 3: [dz, dx, dy], and face_no = 5 or 6: [dx, dy, dz]. If the Jacobian also is stored, the components are instead reordered in the same way. Filled from MappingInfoStorage.jacobians in include/deal.II/matrix_free/mapping_info.templates.h
Definition at line 738 of file fe_evaluation_data.h.
|
protected |
A pointer to the gradients of the inverse Jacobian transformation of the present cell.
Definition at line 745 of file fe_evaluation_data.h.
|
protected |
A pointer to the gradients of the Jacobian transformation of the present cell.
Definition at line 752 of file fe_evaluation_data.h.
|
protected |
A pointer to the Jacobian determinant of the present cell. If on a Cartesian cell or on a cell with constant Jacobian, this is just the Jacobian determinant, otherwise the Jacobian determinant times the quadrature weight.
Definition at line 760 of file fe_evaluation_data.h.
|
protected |
A pointer to the normal vectors at faces.
Definition at line 765 of file fe_evaluation_data.h.
|
protected |
A pointer to the normal vectors times the Jacobian at faces.
Definition at line 770 of file fe_evaluation_data.h.
|
protected |
A pointer to the quadrature weights of the underlying quadrature formula.
Definition at line 775 of file fe_evaluation_data.h.
|
mutableprotected |
This is the user-visible part of FEEvaluationBase::scratch_data_array, only showing the part that can be consumed by various users. It is set during the allocation of the internal data structures in FEEvaluationBase.
Definition at line 783 of file fe_evaluation_data.h.
|
protected |
This field stores the values for local degrees of freedom (e.g. after reading out from a vector but before applying unit cell transformations or before distributing them into a result vector). The methods get_dof_value() and submit_dof_value() read from or write to this field.
The values of this array are stored in the start section of scratch_data_array
. Due to its access as a thread local memory, the memory can get reused between different calls.
Definition at line 795 of file fe_evaluation_data.h.
|
protected |
This field stores the values of the finite element function on quadrature points after applying unit cell transformations or before integrating. The methods get_value() and submit_value() access this field.
The values of this array are stored in the start section of scratch_data_array
. Due to its access as a thread local memory, the memory can get reused between different calls.
Definition at line 806 of file fe_evaluation_data.h.
|
protected |
This field stores the values of the finite element function on quadrature points after applying unit cell transformations or before integrating. This field is accessed when performing the contravariant Piola transform for gradients on general cells. This is done by the functions get_gradient() and submit_gradient() when using a H(div)- conforming finite element such as FE_RaviartThomasNodal.
The values of this array are stored in the start section of scratch_data_array
. Due to its access as a thread local memory, the memory can get reused between different calls.
Definition at line 820 of file fe_evaluation_data.h.
|
protected |
This field stores the gradients of the finite element function on quadrature points after applying unit cell transformations or before integrating. The methods get_gradient() and submit_gradient() (as well as some specializations like get_symmetric_gradient() or get_divergence()) access this field.
The values of this array are stored in the start section of scratch_data_array
. Due to its access as a thread local memory, the memory can get reused between different calls.
Definition at line 833 of file fe_evaluation_data.h.
|
protected |
This field stores the gradients of the finite element function on quadrature points after applying unit cell transformations or before integrating. The methods get_hessian() and submit_hessian() (as well as some specializations like get_hessian_diagonal() or get_laplacian()) access this field for general cell/face types.
The values of this array are stored in the start section of scratch_data_array
. Due to its access as a thread local memory, the memory can get reused between different calls.
Definition at line 846 of file fe_evaluation_data.h.
|
protected |
This field stores the Hessians of the finite element function on quadrature points after applying unit cell transformations. The methods get_hessian(), get_laplacian(), get_hessian_diagonal() access this field.
The values of this array are stored in the start section of scratch_data_array
. Due to its access as a thread local memory, the memory can get reused between different calls.
Definition at line 857 of file fe_evaluation_data.h.
|
protected |
Debug information to track whether the reinit() function of derived classes was called.
Definition at line 863 of file fe_evaluation_data.h.
|
protected |
Debug information to track whether dof values have been initialized before accessed. Used to control exceptions when uninitialized data is used.
Definition at line 870 of file fe_evaluation_data.h.
|
protected |
Debug information to track whether values on quadrature points have been initialized before accessed. Used to control exceptions when uninitialized data is used.
Definition at line 877 of file fe_evaluation_data.h.
|
protected |
Debug information to track whether gradients on quadrature points have been initialized before accessed. Used to control exceptions when uninitialized data is used.
Definition at line 884 of file fe_evaluation_data.h.
|
protected |
Debug information to track whether Hessians on quadrature points have been initialized before accessed. Used to control exceptions when uninitialized data is used.
Definition at line 891 of file fe_evaluation_data.h.
|
protected |
Debug information to track whether values on quadrature points have been submitted for integration before the integration is actually stared. Used to control exceptions when uninitialized data is used.
Definition at line 898 of file fe_evaluation_data.h.
|
protected |
Debug information to track whether gradients on quadrature points have been submitted for integration before the integration is actually stared. Used to control exceptions when uninitialized data is used.
Definition at line 905 of file fe_evaluation_data.h.
|
protected |
Debug information to track whether hessians on quadrature points have been submitted for integration before the integration is actually stared. Used to control exceptions when uninitialized data is used.
Definition at line 912 of file fe_evaluation_data.h.
|
protected |
After a call to reinit(), stores the number of the cell we are currently working with.
Definition at line 918 of file fe_evaluation_data.h.
|
protected |
Flag holding information whether a face is an interior or exterior face according to the defined direction of the normal. For cells it defines if the dof values should be read from the actual cell corresponding to the interior face or the neighboring cell corresponding to the exterior face.
Definition at line 926 of file fe_evaluation_data.h.
|
protected |
Stores the index an FEFaceEvaluation object is currently pointing into (interior face, exterior face, data associated with cell).
Definition at line 932 of file fe_evaluation_data.h.
|
protected |
Stores the (non-vectorized) number of faces within cells in case of ECL for the exterior cells where the single number face_no
is not enough to cover all cases.
dof_access_index == dof_access_cell
and is_interior_face == false
. Definition at line 942 of file fe_evaluation_data.h.
|
protected |
Store the orientation of the neighbor's faces with respect to the current cell for the case of exterior faces on ECL with possibly different orientations behind different cells.
dof_access_index == dof_access_cell
and is_interior_face == false
. Definition at line 952 of file fe_evaluation_data.h.
|
protected |
Stores the subface index of the given face. Usually, this variable takes the value numbers::invalid_unsigned_int to indicate integration over the full face, but in case the current physical face has a neighbor that is more refined, it is a subface and must scale the entries in ShapeInfo appropriately.
Definition at line 961 of file fe_evaluation_data.h.
|
protected |
Stores the type of the cell we are currently working with after a call to reinit(). Valid values are cartesian
, affine
and general
, which have different implications on how the Jacobian transformations are stored internally in MappingInfo.
Definition at line 969 of file fe_evaluation_data.h.
|
protected |
Stores the (non-vectorized) id of the cells or faces this object is initialized to. Relevant for ECL.
Definition at line 975 of file fe_evaluation_data.h.
|
protected |
Stores the (non-vectorized) id of the cells or faces this object is initialized to. Relevant for ECL.
Definition at line 981 of file fe_evaluation_data.h.
|
protected |
Geometry data that can be generated FEValues on the fly with the respective constructor, as an alternative to the entry point with MatrixFree.
Definition at line 990 of file fe_evaluation_data.h.
|
protected |
Bool indicating if the divergence is requested. Used internally in the case of the Piola transform.
Definition at line 996 of file fe_evaluation_data.h.