Physical space
A struct set <: AbstractPhysicalSpace defines the geometric setup of a simulation. For the structured topology, structs for 1 and 2 dimensional physical space are built.
KitBase.PSpace1D — Typestruct PSpace1D{TR<:Real, TI<:Integer, TA<:AbstractArray} <: AbstractPhysicalSpace1D1D physical space with structured mesh
Fields
x0x1nxxdx
KitBase.PSpace2D — Typestruct PSpace2D{TR<:Real, TI<:Integer, TA<:(AbstractMatrix{<:Real}), TB<:(AbstractArray{<:Real, 4}), TC, TD} <: AbstractPhysicalSpace2D2D physical space with structured mesh
Fields
x0x1nxy0y1nyxydxdyverticesareasn
It contains:
- x0 (y0): location of starting point
- x1 (y1): location of ending point
- nx (ny): number of cells in one direction
- x (y): locations of middle points of all cells
- dx (dy): intervals of all cell points
Besides, a unstrctured mesh struct is built, which supports 1-3 dimensional geometries.
KitBase.UnstructPSpace — Typestruct UnstructPSpace{A, B<:(AbstractMatrix{<:AbstractFloat}), C<:(AbstractMatrix{<:Integer}), D<:(AbstractVector{<:Integer}), E<:(AbstractVector{<:AbstractFloat}), F<:(AbstractArray{<:AbstractFloat, 3})} <: AbstractPhysicalSpacePhysical space with unstructured mesh
Fields
cellspointscellidcellTypecellNeighborscellFacescellCentercellAreacellNormalsfacePointsfaceCellsfaceCenterfaceTypefaceArea
It can be created by the built-in mesh reader.
Missing docstring for read_mesh. Check Documenter's build log for details.