ASPECT
|
Functions | |
unsigned int | n_interface_matrices (const ReferenceCell &reference_cell) |
unsigned int | nth_interface_matrix (const ReferenceCell &reference_cell, const unsigned int face) |
unsigned int | nth_interface_matrix (const ReferenceCell &reference_cell, const unsigned int face, const unsigned int sub_face) |
A namespace for the definition of assemblers for the various terms in the linear systems ASPECT solves.
unsigned int aspect::Assemblers::n_interface_matrices | ( | const ReferenceCell & | reference_cell | ) |
For a reference cell (which is typically obtained by asking the finite element to be used), determine how many interface matrices are needed. Since interface matrices are needed for as many neighbors as each cell can have, this is the number of faces for the given reference cell times the number of children each of these faces can have. This accommodates the fact that the neighbors of a cell can all be refined, though they can only be refined once.
unsigned int aspect::Assemblers::nth_interface_matrix | ( | const ReferenceCell & | reference_cell, |
const unsigned int | face | ||
) |
For a given reference cell, and a given face we are currently assembling on, return which element of an array of size n_interface_matrices(reference_cell)
to use.
unsigned int aspect::Assemblers::nth_interface_matrix | ( | const ReferenceCell & | reference_cell, |
const unsigned int | face, | ||
const unsigned int | sub_face | ||
) |
For a given reference cell, and a given face and sub-face we are currently assembling on, return which element of an array of size n_interface_matrices(reference_cell)
to use.