3. Technische Universität MünchenComputation in Engineering
18.11.2014 3
What is a Multilevel Grid ?
A Data Structure that ...
• is based on spacetree partitioning
• stores cells on separate grids at different levels
• is highly generic due to templetized cell data
• uses simple indexing to identify and navigate between cells
7. Technische Universität MünchenComputation in Engineering
18.11.2014 7
Storage of cells
• cells are stored on each separate grid with no direct connection to
their respective parent cells
• on each grid a hash table is used to enable a fast access to each
cell
12. Technische Universität MünchenComputation in Engineering
18.11.2014 12
General
Two major steps where needed to install real adaptivity
– Adaptive Topology: Implementing refinement strategies to
consciously steer the expanding and collapsing of cells
– Data Projection: preserve and extend data between time steps and
across the changing grids
13. Technische Universität MünchenComputation in Engineering
18.11.2014 13
Topology
Refinement Strategies
– Differentiates cells into cells to
expand and cells to collapse
– many different strategies of
refinement
– Implemented as a strategy pattern
15. Technische Universität MünchenComputation in Engineering
18.11.2014 15
Data Projection
• preserve data over changing grids
– history variables
• Generic structure
– strategy pattern
18. Technische Universität MünchenComputation in Engineering
18.11.2014 18
Integrated Legendre Projection
• based on integrated Legendre
polynomials
• cells are storing coefficients
– std::vector<double>
• local definition of basis
polynomials