![]() |
deal.II version GIT relicensing-6834-g5b78e6bcdf 2026-10-01 11:20:01+00:00
|
#include <deal.II/matrix_free/fe_remote_evaluation.h>
A class helps to access PecomputedEvaluationData in a thread-safe manner. Each thread has to create this wrapper class on its own to avoid race-conditions during reinit().
Definition at line 111 of file fe_remote_evaluation.h.
Public Member Functions | |
| PrecomputedEvaluationDataAccessor (const PrecomputedEvaluationData< dim, n_components, value_type_ > &data, const PrecomputedEvaluationDataView &view) | |
| const value_type | get_value (const unsigned int q) const |
| const gradient_type | get_gradient (const unsigned int q) const |
| void | reinit (const unsigned int index) |
| void | reinit (const unsigned int index_0, const unsigned int index_1) |
Private Types | |
| using | value_type = typename PrecomputedEvaluationData< dim, n_components, value_type_ >::value_type |
| using | gradient_type = typename PrecomputedEvaluationData< dim, n_components, value_type_ >::gradient_type |
Private Attributes | |
| const PrecomputedEvaluationDataView & | view |
| const PrecomputedEvaluationData< dim, n_components, value_type_ > & | data |
| unsigned int | data_offset |
|
private |
Definition at line 113 of file fe_remote_evaluation.h.
|
private |
Definition at line 116 of file fe_remote_evaluation.h.
| internal::PrecomputedEvaluationDataAccessor< dim, n_components, value_type_ >::PrecomputedEvaluationDataAccessor | ( | const PrecomputedEvaluationData< dim, n_components, value_type_ > & | data, |
| const PrecomputedEvaluationDataView & | view | ||
| ) |
Constructor.
Definition at line 677 of file fe_remote_evaluation.h.
| const PrecomputedEvaluationData< dim, n_components, value_type_ >::value_type internal::PrecomputedEvaluationDataAccessor< dim, n_components, value_type_ >::get_value | ( | const unsigned int | q | ) | const |
Get the value at quadrature point q. The entity on which the values are defined is set via reinit().
| [in] | q | Quadrature point at which the value is queried. |
Definition at line 690 of file fe_remote_evaluation.h.
| const PrecomputedEvaluationData< dim, n_components, value_type_ >::gradient_type internal::PrecomputedEvaluationDataAccessor< dim, n_components, value_type_ >::get_gradient | ( | const unsigned int | q | ) | const |
Get the gradients at quadrature point q. The entity on which the gradients are defined is set via reinit().
| [in] | q | Quadrature point at which the gradient is queried. |
Definition at line 702 of file fe_remote_evaluation.h.
| void internal::PrecomputedEvaluationDataAccessor< dim, n_components, value_type_ >::reinit | ( | const unsigned int | index | ) |
This function has to be called before get_value() and/or get_gradient().
| [in] | index | Entity index at which quadrature points are accessed. This can be, e.g., a cell index, a cell batch index, or a face batch index. |
Definition at line 713 of file fe_remote_evaluation.h.
| void internal::PrecomputedEvaluationDataAccessor< dim, n_components, value_type_ >::reinit | ( | const unsigned int | index_0, |
| const unsigned int | index_1 | ||
| ) |
Set cell and face number at which quadrature points are accessed.
| [in] | index_0 | cell index. |
| [in] | index_1 | cell-local face number. |
Definition at line 721 of file fe_remote_evaluation.h.
|
private |
PrecomputedEvaluationDataView provides information where values are located.
Definition at line 171 of file fe_remote_evaluation.h.
|
private |
PrecomputedEvaluationData stores the actual values.
Definition at line 176 of file fe_remote_evaluation.h.
|
private |
Offset to data after last call of reinit().
Definition at line 181 of file fe_remote_evaluation.h.