EarthBox.Parameters.ParameterFloat — Type
ParameterFloatA mutable struct representing a parameter with a Float64 value.
Fields
value::Float64: The numerical value of the parametername::String: The name of the parameterunits::String: The units of the parameterdescription::String: A description of what the parameter representsparser::Function: A function to parse the parameter value from a string
EarthBox.Parameters.ParameterInt — Type
ParameterIntA mutable struct representing a parameter with an Int64 value.
Fields
value::Int64: The numerical value of the parametername::String: The name of the parameterunits::String: The units of the parameterdescription::String: A description of what the parameter representsparser::Function: A function to parse the parameter value from a string
EarthBox.Parameters.ParameterStr — Type
ParameterStrA mutable struct representing a parameter with a String value.
Fields
value::String: The string value of the parametername::String: The name of the parameterunits::String: The units of the parameterdescription::String: A description of what the parameter representsparser::Function: A function to parse the parameter value from a string
EarthBox.Arrays.ArrayTypes.Array1DInt.Array1DIntState — Type
Array1DIntStateMutable struct representing a 1D integer array with associated metadata.
Fields
array::Vector{Int}: The 1D integer array dataname::String: Name of the arrayunits::String: Physical units of the array valuesdescription::String: Description of the array's purpose
EarthBox.Arrays.ArrayTypes.Array1DFloat.Array1DFloatState — Type
Array1DFloatStateMutable struct representing a 1D float array with associated metadata.
Fields
array::Vector{Float64}: The 1D float array dataname::String: Name of the arrayunits::String: Physical units of the array valuesdescription::String: Description of the array's purpose
EarthBox.Arrays.ArrayTypes.GridArray1D.GridArray1DState — Type
GridArray1DStateStruct representing a 1D grid array with associated metadata.
Fields
array: the actual array data (Vector{Float64})name: identifier for the arrayunits: physical units of the array valuesdescription: detailed description of what the array represents
EarthBox.Arrays.ArrayTypes.RhsHeatArray1D.RhsHeatArray1DState — Type
RhsHeatArray1DStateStruct containing 1D array for heat equation right-hand side.
Fields
array: 1D array of float64 valuesname: Name of the arrayunits: Units of the array valuesdescription: Description of what the array represents
EarthBox.Arrays.ArrayTypes.RhsStokesArray1D.RhsStokesArray1DState — Type
RhsStokesArray1DStateStruct containing a 1D array for Stokes equation right-hand side.
Fields
array: the 1D array dataname: name of the arrayunits: physical units of the array valuesdescription: description of the array's purpose
EarthBox.Arrays.ArrayTypes.SolutionArray1D.SolutionArray1DState — Type
SolutionArray1DStateMutable struct representing a 1D solution array with associated metadata.
Fields
array::Vector{Float64}: The 1D array dataname::String: Name of the arrayunits::String: Physical units of the array valuesgrid_type::String: Type of grid (always "solution")description::String: Description of the array's purposeoutform::OutputFormat: Output formatting specifications
EarthBox.Arrays.ArrayTypes.MaterialArrayFloat1D.MaterialArrayFloat1DState — Type
MaterialArrayFloat1DStateMutable struct representing a 1D material array with associated metadata.
Fields
array::Vector{Float64}: The 1D array dataname::String: Name of the arrayunits::Vector{String}: List of physical unitsdescription::Vector{String}: List of descriptions
EarthBox.Arrays.ArrayTypes.MaterialArrayInt1D.MaterialArrayInt1DState — Type
MaterialArrayInt1DStateMutable struct representing a 1D material array with associated metadata.
Fields
array::Vector{Int64}: The 1D array dataname::String: Name of the arrayunits::Vector{String}: List of physical unitsdescription::Vector{String}: List of descriptions
EarthBox.Arrays.ArrayTypes.MarkerArrayFloat1D.MarkerArrayFloat1DState — Type
MarkerArrayFloat1DState{T<:AbstractFloat}Mutable struct representing a 1D float marker array with associated metadata.
Type Parameters
T<:AbstractFloat: The floating-point type for the array (e.g., Float64, Float32, Float16)
Fields
array::Vector{T}: The 1D float array data for markersname::String: Name of the arrayunits::String: Physical units of the array valuesdescription::String: Description of the array's purposeoutform::OutputFormat: Output formatting specifications
EarthBox.Arrays.ArrayTypes.MarkerArrayInt1D.MarkerArrayInt1DState — Type
MarkerArrayInt1DState{T<:Integer}Mutable struct representing a 1D integer marker array with associated metadata.
Type Parameters
T<:Integer: The integer type for the array (e.g., Int64, Int32, Int16)
Fields
array::Vector{T}: The 1D integer array data for markersname::String: Name of the arrayunits::String: Physical units of the array valuesdescription::String: Description of the array's purposeoutform::OutputFormat: Output formatting specifications
EarthBox.Arrays.ArrayTypes.InternalBcArrayFloat.InternalBcArrayFloatState — Type
InternalBcArrayFloatStateStruct representing a 1D internal boundary condition float array with associated metadata.
Fields
array: the actual array data (Vector{Float64})name: identifier for the arraydescription: array of detailed descriptions for each element
EarthBox.Arrays.ArrayTypes.InternalBcArrayInt.InternalBcArrayIntState — Type
InternalBcArrayIntStateStruct representing a 1D internal boundary condition integer array with associated metadata.
Fields
array: the actual array data (Vector{Int})name: identifier for the arraydescription: array of detailed descriptions for each element
EarthBox.Arrays.ArrayTypes.ScalarArray2D.ScalarArray2DState — Type
ScalarArray2DStateMutable struct representing a 2D scalar array with associated metadata.
Fields
ny::Int64: Number of nodes in the y-directionnx::Int64: Number of nodes in the x-directionarray::Matrix{Float64}: The 2D array dataname::String: Name of the arrayunits::String: Physical units of the array valuesgrid_type::String: Type of grid ("basic", "pressure", "vx", "vy")description::String: Description of the array's purposeoutform::OutputFormat: Output formatting specifications
EarthBox.Arrays.ArrayTypes.BcArrayFloat.BcArrayFloatState — Type
BcArrayFloatStateStruct representing a 2D boundary condition array with associated metadata.
Fields
array: the actual array data (Matrix{Float64})name: identifier for the arrayunits: physical units of the array valuesdescription: detailed description of what the array represents
EarthBox.Arrays.ArrayTypes.MaterialArrayFloat2D.MaterialArrayFloat2DState — Type
MaterialArrayFloat2DStateMutable struct representing a 2D material array with associated metadata.
Fields
array::Matrix{Float64}: The 2D array dataname::String: Name of the arrayunits::Vector{String}: List of physical unitsdescription::Vector{String}: List of descriptions
EarthBox.Arrays.ArrayTypes.MaterialArrayInt2D.MaterialArrayInt2DState — Type
MaterialArrayInt2DStateMutable struct representing a 2D material array with associated metadata.
Fields
array::Matrix{Int64}: The 2D array dataname::String: Name of the arrayunits::Vector{String}: List of physical unitsdescription::Vector{String}: List of descriptions
EarthBox.Arrays.ArrayTypes.TopoArray2D.TopoArray2DState — Type
TopoArray2DStateA struct for storing 2D topography data arrays with metadata.
Fields
array::Matrix{Float64}: The 2D array of float64 valuesname::String: Name of the arrayunits::Vector{String}: Units for the array valuesdescription::Vector{String}: Description of the array contents
EarthBox.Arrays.ArrayTypes.CarbArray2D.CarbArray2DState — Type
CarbArray2DStateA struct for storing 2D carbonate data arrays with metadata.
Fields
array::Matrix{Float64}: The 2D array of float64 valuesname::String: Name of the arrayunits::Vector{String}: Units for the array valuesdescription::Vector{String}: Description of the array contents
EarthBox.Arrays.ArrayTypes.ScalarArray3D.ScalarArray3DState — Type
ScalarArray3DStateMutable struct representing a 3D scalar array with associated metadata.
Fields
ny::Int64: Number of nodes in the y-directionnx::Int64: Number of nodes in the x-directionnz::Int64: Number of nodes in the z-directionarray::Matrix{Float64}: The 3D array dataname::String: Name of the arrayunits::String: Physical units of the array valuesgrid_type::String: Type of grid ("basic", "pressure", "vx", "vy")description::String: Description of the array's purposeoutform::OutputFormat: Output formatting specifications
EarthBox.MaterialColorsContainer.MaterialColors — Type
MaterialColorsStruct with material color information.
Fields
color_map::[Union{Any, Nothing}]:- Color map for material colors
n_bin::[Union{Int64, Nothing}]:- Number of material colors
labels::[Union{Vector{String}, Nothing}]:- Labels for material colors with format:
material type : material domain : (material name)
- Labels for material colors with format:
ticks::[Union{Vector{Float64}, Nothing}]:- Ticks for the colorbar
colorrange::[Union{Tuple{Float64, Float64}, Nothing}]:- Color range for the colorbar specifically for CairoMakie where for material ID's ranging from
1tonbinthe colorbar range should be from1 - 0.5tonbin + 0.5` to maintain proper spacing between the colorbar ticks.
- Color range for the colorbar specifically for CairoMakie where for material ID's ranging from