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} <: AbstractPhysicalSpace1D
1D physical space with structured mesh
Fields
x0
x1
nx
x
dx
KitBase.PSpace2D
— Typestruct PSpace2D{TR<:Real, TI<:Integer, TA<:(AbstractMatrix{<:Real}), TB<:(AbstractArray{<:Real, 4}), TC, TD} <: AbstractPhysicalSpace2D
2D physical space with structured mesh
Fields
x0
x1
nx
y0
y1
ny
x
y
dx
dy
vertices
areas
n
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})} <: AbstractPhysicalSpace
Physical space with unstructured mesh
Fields
cells
points
cellid
cellType
cellNeighbors
cellFaces
cellCenter
cellArea
cellNormals
facePoints
faceCells
faceCenter
faceType
faceArea
It can be created by the built-in mesh reader.
Missing docstring for read_mesh
. Check Documenter's build log for details.