Assembly support
API
ExtendableGrids.AT_NODES — Type
abstract type AT_NODES <: AssemblyTypecauses interpolation at vertices of the grid (only for H1-conforming interpolations)
ExtendableGrids.AssemblyType — Type
abstract type AssemblyTypeSupertype of types which steer where data lives and is assembled on, mainly on CELLs, FACEs or BFACEs.
ExtendableGrids.ON_BEDGES — Type
abstract type ON_BEDGES <: AssemblyTypecauses assembly/interpolation on boundary edges of the grid (only in 3D)
ExtendableGrids.ON_BFACES — Type
abstract type ON_BFACES <: AssemblyTypecauses assembly/interpolation on boundary faces of the grid
ExtendableGrids.ON_CELLS — Type
abstract type ON_CELLS <: AssemblyTypecauses assembly/interpolation on cells of the grid
ExtendableGrids.ON_EDGES — Type
abstract type ON_EDGES <: AssemblyTypecauses assembly/interpolation on edges of the grid (only in 3D)
ExtendableGrids.ON_FACES — Type
abstract type ON_FACES <: AssemblyTypecauses assembly/interpolation on faces of the grid
ExtendableGrids.ON_IFACES — Type
abstract type ON_IFACES <: ON_FACEScauses assembly/interpolation on interior faces of the grid
ExtendableGrids.GridComponentAssemblyGroups4AssemblyType — Method
GridComponentAssemblyGroups4AssemblyType(
AT::Type{<:AssemblyType}
) -> Any
Grid component type for assembly groups of items of the given AssemblyType, e.g. CellAssemblyGroups for ON_CELLS.
ExtendableGrids.GridComponentGeometries4AssemblyType — Method
GridComponentGeometries4AssemblyType(
AT::Type{<:AssemblyType}
) -> Any
Grid component type for geometry types of items of the given AssemblyType, e.g. EdgeGeometries for ON_EDGES.
ExtendableGrids.GridComponentNodes4AssemblyType — Method
GridComponentNodes4AssemblyType(
AT::Type{<:AssemblyType}
) -> Any
Grid component type for node adjacency of items of the given AssemblyType, e.g. CellNodes for ON_CELLS.
ExtendableGrids.GridComponentRegions4AssemblyType — Method
GridComponentRegions4AssemblyType(
AT::Type{<:AssemblyType}
) -> Any
Grid component type for region numbers of items of the given AssemblyType, e.g. CellRegions for ON_CELLS.
ExtendableGrids.GridComponentUniqueGeometries4AssemblyType — Method
GridComponentUniqueGeometries4AssemblyType(
AT::Type{<:AssemblyType}
) -> Any
Grid component type for unique geometry types of items of the given AssemblyType, e.g. UniqueCellGeometries for ON_CELLS.
ExtendableGrids.GridComponentVolumes4AssemblyType — Method
GridComponentVolumes4AssemblyType(
AT::Type{<:AssemblyType}
) -> Any
Grid component type for volumes of items of the given AssemblyType, e.g. FaceVolumes for ON_FACES.
ExtendableGrids.ItemType4AssemblyType — Method
ItemType4AssemblyType(
_::Type{ON_CELLS}
) -> Type{ITEMTYPE_CELL}
Determine the ItemType of grid items which correspond to the given AssemblyType.
ExtendableGrids.L2GTransformer — Type
L2GTransformerTransforms reference coordinates to global coordinates
ExtendableGrids.eval_trafo! — Method
eval_trafo!(x::AbstractArray, T::L2GTransformer, xref)Map reference coordinates xref to global coordinates x.
Uses the mapping data of the item which was last set by update_trafo!. Result is stored in x.
ExtendableGrids.mapderiv! — Method
mapderiv!(M::Matrix, T::L2GTransformer, xref)Store derivative of the inverse mapping in M.
M[j,k] holds dxref[k]/dx[j], i.e. the transposed inverse of the Jacobian of the affine map x = A*xref + b of the item which was last set by update_trafo!. Used for computation of derivatives of basis functions. For edges embedded in higher dimensions this is the tangential derivative.
ExtendableGrids.update_trafo! — Method
update_trafo!(T::L2GTransformer, item)Update mapping data of T for the current item.
Must be called when entering a new item (e.g. cell). It (re)computes the affine map x = A*xref + b of that item and its determinant T.det which are used by eval_trafo! and mapderiv!. Nothing is done if the item has not changed.