From: Stogner, R. H <roy...@ic...> - 2018-10-04 13:09:27
|
On Wed, 3 Oct 2018, David Knezevic wrote: > On Wed, Oct 3, 2018 at 6:46 PM Salazar De Troya, Miguel > <sal...@ll...> wrote: > >> Would it be possible if you shared an example of how you use DGFEMContext? > > I don't have any example I can share easily, sorry. > > It's similar to how you use standard FEMContexts, but there is also space > for data from the neighbor element which is what you need in DG assembly... You've got a little bit of informative code in rb_construction.C, but none of the reduced_basis examples actually exercise the DG option. I'm sure you have a hundred higher priority items on your todo list, but even aside from the didactic benefits, it would be nice to get some test coverage there at some point. Paul has been working on a more arbitrary "FEMContext also initializes data from other elements" system for FSI codes, and when that's done I'll be tempted to refactor DGFEMContext to use it under the hood, and if that happens it'd be nice if you already had a "Roy can't break my stuff without noticing" safety net. --- Roy |