Thank you very much, Wolfgang, crystal clear as always.

It is still unclear to me, though, how to reinit() the FEFaceValues
for the cell making use of the
map returned by the extract_boundary_mesh() function. I learned to reinit
FEFaceValues as:

fe_face_values.reinit (cell, face_number);

Is there a "simple way" to get the (volume) cell iterator and the
face_number from the
parallel::shared::Triangulation<dim>::face_iterator in the map returned by
the extract_boundary_mesh() function?

Or shall I use a different way to reinit FEFaceValues?

Thank you

Alberto



*Alberto Salvadori* Dipartimento di Ingegneria Meccanica e Industriale
(DIMI)
 Universita` di Brescia, via Branze 43, 25123 Brescia
 Italy
 tel 030 3711239
 fax 030 3711312

e-mail:
 alberto.salvad...@unibs.it
web-page:
 http://m4lab.unibs.it/faculty.html



On Mon, Sep 9, 2019 at 7:09 PM Wolfgang Bangerth <bange...@colostate.edu>
wrote:

>
> > In solving a Laplace-Beltrami problem on an advecting surface one should
> > identify the Gauss points on the manifold dim-1 cell and retrieve at
> > such locations relevant information from the solution of the advection
> > problem, using the dim dof_handler of the volume. I wonder how to
> > connect a manifold dim-1 cell to the volumetric cell it was extracted
> > from. The GridGenerator::extract_boundary_mesh method seem to provide
> > some information, since "it returns A map that for each cell of the
> > surface mesh (key) returns an iterator to the corresponding face of a
> > cell of the volume mesh (value). " . I am not sure how I can use this
> > map to link a manifold cell to the corresponding volume cell.
>
> Alberto,
> the way this is supposed to be used is as follows:
>
> When you are assembling the linear system for the surface problem, you
> will have an FEValues<dim-1,dim> object for the surface shape functions.
> You initialize it with a Quadrature<dim-1>.
>
> But then you also need to evaluate the volume solution on the same
> quadrature points. You do this by creating an FEFaceValues<dim> object,
> which requires you to also provide a Quadrature<dim-1> object -- which
> you want to choose the same as above.
>
> Now, if you need the volume solution when assembling something for the
> surface problem, you are sitting on a cell of the surface mesh; use the
> map returned by the extract_boundary_mesh() function to obtain what the
> corresponding face of the volume mesh is and reinit() the FEFaceValues
> for that cell. You can then use the FEFaceValues object to evaluate the
> volume solution at the same quadrature points as you use for the
> FEValues object of the surface mesh. The only thing you may have to pay
> attention to is that the surface cell may be inverted compared to the
> volume cell's face -- in which case the quadrature points of the two
> objects match, but are in a different order. You'll have to translate
> between these permutations then.
>
> Best
>   W.
>
> --
> ------------------------------------------------------------------------
> Wolfgang Bangerth          email:                 bange...@colostate.edu
>                             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 dealii+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dealii/a60b9b5e-fef3-fd88-5e54-65bed698a5bc%40colostate.edu
> .
>

-- 


Informativa sulla Privacy: http://www.unibs.it/node/8155 
<http://www.unibs.it/node/8155>

-- 
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 dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/CABcATpdDUXf0bY%3DLW9%2BCeBe7JEGZR2dn2-hxLqTushwT2a0zJw%40mail.gmail.com.

Reply via email to