Toby,
> > 2/ You'd do this for your two triangulations separately. Then you'd
> > need a function, say
> > GridTools::merge_coarse_cell_information
> > that would merge these two data sets.
>
> I like this option. Say, after creating sub_triangulations:
>
> GridTools::merge_coarse_cell_information
> (std::vector<dealii::Triangulation> coarse_grids,
> bool destroy_coarse_grids = false);
I meant something different. The first of the functions mentioned before
returned a std::vector<CellData> and a SubcellData. You get one of these
objects from each triangulation you want to merge, so we need a function
GridTools::merge_coarse_cell_information
(const std::vector<CellData> &cell_data_1,
const SubcellData &subcell_data_1,
const std::vector<CellData> &cell_data_2,
const SubcellData &subcell_data_2,
std::vector<CellData> &result_cell_data,
SubcellData &result_subcell_data);
that takes the first two sets of objects and merges them into the result_*
variables.
W.
-------------------------------------------------------------------------
Wolfgang Bangerth email: [email protected]
www: http://www.math.tamu.edu/~bangerth/
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii