Hi,

It's been a while since I used InterGridMap so I forget the answer to this question - the doc states:

"This class provides a map between two grids which are derived from the same coarse grid."

Now, what is meant by "the same coarse grid"? Could, say, the two Triangulation objects corresponding to the two DoFHandlers be completely independent, as long as they have originated from two coarse grids that have the same dimensions and grid spacing?

i.e. would integrid_map below behave as i think it should:

Triangulation<2> tria1;
Triangulation<2> tria2;
DoFHandler<2> dof1;
DoFHandler<2> dof2;
dof1 (tria1);
dof2 (tria2);
GridGenerator::subdivided_hyper_rectangle(tria1, divisions, p1, p2);
GridGenerator::subdivided_hyper_rectangle(tria2, divisions, p1, p2);

... [adaptive refinement on both grids, independent of one another]

InterGridMap<DoFHandler<2> > intergrid_map;
intergrid_map.make_mapping (dof1, dof2);


_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to