|
Peano
|
The action sets in this file are intended for use with new MG solvers. More...
Data Structures | |
| class | InitDofsCollocatedMG |
The action sets in this file are intended for use with new MG solvers.
We have a mix of behaviours to add in - namely determining max refinement level during our first descent, as well as standard stuff eg determining which facets are boundary / interior etc.
For the CG, we need to determine:
We need to add some bookkeeping to the abstract solver to keep track of these, because the solver level matters.
We need to associate an int "level" with each vertex, so we give each Vertex this attribute (Level) and set it to -1 initially. Then during touchVertexFirstTime, we set the "level" of the fineGridVertex to be one more than the level of the coarse vertex
Slight problem is that we don't have the coarse vertex in scope at this stage. So we need to maintain this hierarchy for the cells, as well as setting the level of the vertices to be one more than the coarse cells.