deal.II version GIT relicensing-2206-gaa53ff9447 2024-12-02 09:10:00+00:00
|
#include <deal.II/matrix_free/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 |
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 113 of file fe_remote_evaluation.h.
|
private |
Definition at line 115 of file fe_remote_evaluation.h.
|
private |
Definition at line 118 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 679 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 692 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 704 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 715 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 723 of file fe_remote_evaluation.h.
|
private |
PrecomputedEvaluationDataView provides information where values are located.
Definition at line 173 of file fe_remote_evaluation.h.
|
private |
PrecomputedEvaluationData stores the actual values.
Definition at line 178 of file fe_remote_evaluation.h.
|
private |
Offset to data after last call of reinit()
.
Definition at line 183 of file fe_remote_evaluation.h.