On 4/13/21 8:03 PM, Corbin Foucart wrote:
One thing I am still unclear on is if FEInterfaceValues is the best (or only)
way to access the face values of a field on a neighboring cell, or if this can
be done manually. Right now, I'm using an approach like
std::vector<double> field_at_qpts(sd.fe_interface_values.n_quadrature_points);
sd.fe_interface_values.get_fe_face_values(1).get_function_values(field,
field_at_qpts);
where 'sd' is a typical scratchdata object with an FEInterfaceValues instance
as a class attribute. Is this typically how neighboring data is accessed for
DG-like methods?
If you're only accessing data stored in FEInterfaceValues through one of the
two FEFaceValues objects, then you might as well initialize an FEFaceValues
object with the neighboring cell and the common face. In the same way as you
access information from the current face using only an FEFaceValues.
Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email: [email protected]
www: http://www.math.colostate.edu/~bangerth/
--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see
https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/dealii/fc16ad5e-678a-2cc5-fded-73470c4fc369%40colostate.edu.