![]() |
Lethe Open-Source Library version 1.2.0
Developer Guide
|
#include <interface_tools.h>
Public Member Functions | |
| CellWiseFunction (const unsigned int p_fe_degree) | |
| void | set_active_cell (const VectorType &in_local_dof_values) |
| double | value (const Point< dim > &point, const unsigned int component=0) const override |
| Tensor< 1, dim > | gradient (const Point< dim > &point, const unsigned int component=0) const override |
| SymmetricTensor< 2, dim > | hessian (const Point< dim > &point, const unsigned int component=0) const override |
Private Attributes | |
| FEType | fe |
| unsigned int | n_cell_wise_dofs |
| VectorType | cell_dof_values |
Scalar function defined by the DOF values of a single cell. Based on the CellWiseFunction and RefSpaceFEFieldFunction of dealii.
| dim | An integer that denotes the dimension of the space in which the problem is solved. |
| VectorType | The vector type of the solution vector. |
| FEType | The finite element type used to discretize the problem. |
Definition at line 50 of file interface_tools.h.
|
inline |
Constructor.
| [in] | p_fe_degree | Finite element degree discretizing the field we want to convert to a CellWiseFunction. |
Definition at line 60 of file interface_tools.h.
References fe, and n_cell_wise_dofs.
|
inlineoverride |
Return the function gradient of the specified component at the given point in the reference cell.
| [in] | point | Coordinates of the point in the reference cell |
| [in] | component | Index of the component of the function for which the gradient is computed |
Definition at line 151 of file interface_tools.h.
References cell_dof_values, fe, gradient(), and n_cell_wise_dofs.
|
inlineoverride |
Return the function Hessian of the specified component at the given point in the reference cell.
| [in] | point | Coordinates of the point in the reference cell |
| [in] | component | Index of the component of the function for which the Hessian is computed |
Definition at line 165 of file interface_tools.h.
References cell_dof_values, fe, hessian(), and n_cell_wise_dofs.
|
inline |
Set the cell that the function should be evaluated on.
| [in] | in_local_dof_values | Cell's DOF values |
Definition at line 72 of file interface_tools.h.
References cell_dof_values.
|
inlineoverride |
Return the value of the function at the given point in the reference cell.
| [in] | point | Coordinates of the point in the reference cell |
| [in] | component | Index of the component of the function for which the value is computed |
Definition at line 137 of file interface_tools.h.
References cell_dof_values, fe, n_cell_wise_dofs, and value().
|
private |
Value of the level-set field at the DoFs of the cell.
Definition at line 131 of file interface_tools.h.
|
private |
Finite element discretizing the field of interest.
Definition at line 125 of file interface_tools.h.
|
private |
Number of DoFs per element.
Definition at line 128 of file interface_tools.h.