/**
- * @brief The EvaluationFlags enum
+ * @brief The namespace for the EvaluationFlags enum
+ *
+ * This namespace contains the enum EvaluationFlags used in FEEvaluation
+ * to control evaluation and integration of values, gradients, etc..
*/
namespace EvaluationFlags
{
/**
- * @brief The type enum
+ * @brief The EvaluationFlags enum
+ *
+ * This enum contains a set of flags used by FEEvaluation::integrate(),
+ * FEEvaluation::evaluate() and others to determine if values, gradients,
+ * hessians, or a combination of them is being used.
*/
enum EvaluationFlags
{
/**
- *
+ * Do not use or compute anything.
*/
nothing = 0,
/**
- *
+ * Use or evaluate values.
*/
values = 0x1,
/**
- *
+ * Use or evaluate gradients.
*/
gradients = 0x2,
/**
- *
+ * Use or evaluate hessians.
*/
hessians = 0x4
};
* integer which would in turn trigger a compiler warning when we tried to
* assign it to an object of type UpdateFlags.
*
- * @ref type
+ * @ref EvaluationFlags
*/
inline EvaluationFlags
operator|(const EvaluationFlags f1, const EvaluationFlags f2)
* Global operator which sets the bits from the second argument also in the
* first one.
*
- * @ref type
+ * @ref EvaluationFlags
*/
inline EvaluationFlags &
operator|=(EvaluationFlags &f1, const EvaluationFlags f2)
* an integer which would in turn trigger a compiler warning when we tried to
* assign it to an object of type UpdateFlags.
*
- * @ref UpdateFlags
+ * @ref EvaluationFlags
*/
inline EvaluationFlags operator&(const EvaluationFlags f1,
const EvaluationFlags f2)
* Global operator which clears all the bits in the first argument if they are
* not also set in the second argument.
*
- * @ref UpdateFlags
+ * @ref EvaluationFlags
*/
inline EvaluationFlags &
operator&=(EvaluationFlags &f1, const EvaluationFlags f2)
/**
* The loop does only involve FEFaceEvaluation access into neighbors by
- * function values, such as `FEFaceEvaluation::gather_evaluate() with
+ * function values, such as FEFaceEvaluation::gather_evaluate() with
* argument EvaluationFlags::values, but no access to shape function
* derivatives (which typically need to access more data). For FiniteElement
* types where only some of the shape functions have support on a face, such