Public Member Functions | |
DataSetDescriptor () | |
operator unsigned int () const | |
Static Public Member Functions | |
static DataSetDescriptor | cell () |
static DataSetDescriptor | face (const unsigned int face_no, const bool face_orientation, const bool face_flip, const bool face_rotation, const unsigned int n_quadrature_points) |
static DataSetDescriptor | subface (const unsigned int face_no, const unsigned int subface_no, const bool face_orientation, const bool face_flip, const bool face_rotation, const unsigned int n_quadrature_points, const internal::SubfaceCase< dim > ref_case=internal::SubfaceCase< dim >::case_isotropic) |
Private Member Functions | |
DataSetDescriptor (const unsigned int dataset_offset) | |
Private Attributes | |
const unsigned int | dataset_offset |
QProjector< dim >::DataSetDescriptor::DataSetDescriptor | ( | ) |
Default constructor. This doesn't do much except generating an invalid index, since you didn't give a valid descriptor of the cell, face, or subface you wanted.
QProjector< dim >::DataSetDescriptor::DataSetDescriptor | ( | const unsigned int | dataset_offset | ) | [private] |
This is the real constructor, but it is private and thus only available to the static member functions above.
static DataSetDescriptor QProjector< dim >::DataSetDescriptor::cell | ( | ) | [static] |
Static function to generate the offset of a cell. Since we only have one cell per quadrature object, this offset is of course zero, but we carry this function around for consistency with the other static functions.
static DataSetDescriptor QProjector< dim >::DataSetDescriptor::face | ( | const unsigned int | face_no, | |
const bool | face_orientation, | |||
const bool | face_flip, | |||
const bool | face_rotation, | |||
const unsigned int | n_quadrature_points | |||
) | [static] |
Static function to generate an offset object for a given face of a cell with the given face orientation, flip and rotation. This function of course is only allowed if dim>=2
, and the face orientation, flip and rotation are ignored if the space dimension equals 2.
The last argument denotes the number of quadrature points the lower-dimensional face quadrature formula (the one that has been projected onto the faces) has.
static DataSetDescriptor QProjector< dim >::DataSetDescriptor::subface | ( | const unsigned int | face_no, | |
const unsigned int | subface_no, | |||
const bool | face_orientation, | |||
const bool | face_flip, | |||
const bool | face_rotation, | |||
const unsigned int | n_quadrature_points, | |||
const internal::SubfaceCase< dim > | ref_case = internal::SubfaceCase< dim >::case_isotropic | |||
) | [static] |
Static function to generate an offset object for a given subface of a cell with the given face orientation, flip and rotation. This function of course is only allowed if dim>=2
, and the face orientation, flip and rotation are ignored if the space dimension equals 2.
The last but one argument denotes the number of quadrature points the lower-dimensional face quadrature formula (the one that has been projected onto the faces) has.
Through the last argument anisotropic refinement can be respected.
QProjector< dim >::DataSetDescriptor::operator unsigned int | ( | ) | const |
Conversion operator to an integer denoting the offset of the first element of this dataset in the set of quadrature formulas all projected onto faces and subfaces. This conversion operator allows us to use offset descriptor objects in place of integer offsets.
const unsigned int QProjector< dim >::DataSetDescriptor::dataset_offset [private] |
Store the integer offset for a given cell, face, or subface.