Struct MeshMapping::CoarseMapping

Nested Relationships

This struct is a nested type of Class MeshMapping.

Struct Documentation

struct CoarseMapping

Helper struct for storing the mapping to a coarse cell from a fine cell.

Public Functions

explicit CoarseMapping(const Cell &coarse_cell)

Constructor. Sizes fine_faces based on the number of faces within the coarse cell.

Public Members

std::vector<const Cell*> fine_cells

The fine cells contained within a coarse cell.

std::vector<std::vector<std::pair<const Cell*, size_t>>> fine_faces

The fine cell faces contained within each coarse cell face. Outer index coarse cell face index (size == # of faces in coarse cell) Inner index is arbitrary and entries are fine Cell -> fine CellFace index