Template Struct cache_face_areas

Inheritance Relationships

Base Type

Struct Documentation

template<typename TUnderlying>
struct cache_face_areas : public t8_crtp_operator<TUnderlying, cache_face_areas>

Competence to cache the area of a specific face at the first function call.

Template Parameters:

TUnderlying – Use the element with specified competences as template parameter.

Public Functions

inline bool face_area_cache_filled(int face) const

Function that checks if the cache for a face has been filled.

Parameters:

face[in] The face for which the cache should be checked.

Returns:

true if the cache has been filled, false otherwise.

Protected Attributes

mutable std::vector<std::optional<double>> m_face_areas

Vector with the face area for each face.