FastIce.jl
Documentation for FastIce.jl
Information about the STREAM project can be found in the GPU4GEO website
diff --git a/previews/PR54/.documenter-siteinfo.json b/previews/PR54/.documenter-siteinfo.json index a838d4bb..3a99a589 100644 --- a/previews/PR54/.documenter-siteinfo.json +++ b/previews/PR54/.documenter-siteinfo.json @@ -1 +1 @@ -{"documenter":{"julia_version":"1.10.2","generation_timestamp":"2024-04-08T18:38:03","documenter_version":"1.3.0"}} \ No newline at end of file +{"documenter":{"julia_version":"1.10.2","generation_timestamp":"2024-04-10T21:22:49","documenter_version":"1.3.0"}} \ No newline at end of file diff --git a/previews/PR54/index.html b/previews/PR54/index.html index 5788a0c5..b39f4237 100644 --- a/previews/PR54/index.html +++ b/previews/PR54/index.html @@ -1,2 +1,2 @@ -
Documentation for FastIce.jl
Information about the STREAM project can be found in the GPU4GEO website
Settings
This document was generated with Documenter.jl version 1.3.0 on Monday 8 April 2024. Using Julia version 1.10.2.
Documentation for FastIce.jl
Information about the STREAM project can be found in the GPU4GEO website
Settings
This document was generated with Documenter.jl version 1.3.0 on Wednesday 10 April 2024. Using Julia version 1.10.2.
FastIce.Writers.write_h5
— Methodwrite_h5(arch, grid, path, fields)
Write output fields
in HDF5 format to a file on path
for global grid
.
FastIce.Writers.write_xdmf
— Functionwrite_xdmf(arch, grid, path, fields, h5_names, timesteps=Float64(0.0))
Write Xdmf metadata to path
for corresponding h5_names
and fields
for global grid
. Saving time-dependant data can be achieved upon passing a vector to h5_names
and timesteps
.
FastIce.LevelSets.compute_levelset_from_dem!
— Functioncompute_levelset_from_dem!(arch::Architecture, launch, Ψ::Field, dem::AbstractField, dem_grid2D::UniformGrid, grid::UniformGrid, R=LinearAlgebra.I)
Compute level sets from dem.
FastIce.LevelSets.compute_volfrac_from_levelset!
— Methodcompute_volfrac_from_levelset!(arch::Architecture, launch, wt, Ψ::Field, grid::UniformGrid)
Compute volume fractions from level sets.
FastIce.LevelSets.init_levelset!
— Methodinit_levelset!(Ψ::Field, dem::AbstractField, dem_grid::UniformGrid, Ψ_grid::UniformGrid, cutoff, R)
Initialize level sets.
FastIce.LevelSets.invert_levelset!
— Methodinvert_levelset!(arch::Architecture, launch, Ψ::Field, grid::UniformGrid)
Invert level set Ψ
to set what's below the surface as "inside".
Settings
This document was generated with Documenter.jl version 1.3.0 on Monday 8 April 2024. Using Julia version 1.10.2.
FastIce.Writers.write_h5
— Methodwrite_h5(arch, grid, path, fields)
Write output fields
in HDF5 format to a file on path
for global grid
.
FastIce.Writers.write_xdmf
— Functionwrite_xdmf(arch, grid, path, fields, h5_names, timesteps=Float64(0.0))
Write Xdmf metadata to path
for corresponding h5_names
and fields
for global grid
. Saving time-dependant data can be achieved upon passing a vector to h5_names
and timesteps
.
FastIce.LevelSets.compute_levelset_from_dem!
— Functioncompute_levelset_from_dem!(arch::Architecture, launch, Ψ::Field, dem::AbstractField, dem_grid2D::UniformGrid, grid::UniformGrid, R=LinearAlgebra.I)
Compute level sets from dem.
FastIce.LevelSets.compute_volfrac_from_levelset!
— Methodcompute_volfrac_from_levelset!(arch::Architecture, launch, wt, Ψ::Field, grid::UniformGrid)
Compute volume fractions from level sets.
FastIce.LevelSets.init_levelset!
— Methodinit_levelset!(Ψ::Field, dem::AbstractField, dem_grid::UniformGrid, Ψ_grid::UniformGrid, cutoff, R)
Initialize level sets.
FastIce.LevelSets.invert_levelset!
— Methodinvert_levelset!(arch::Architecture, launch, Ψ::Field, grid::UniformGrid)
Invert level set Ψ
to set what's below the surface as "inside".
Settings
This document was generated with Documenter.jl version 1.3.0 on Wednesday 10 April 2024. Using Julia version 1.10.2.
To run the FastIce test suite on the CPU, simple run test
from within the package mode or using Pkg
:
using Pkg
Pkg.test("FastIce")
To run the FastIce test suite on CUDA or ROC backend (Nvidia or AMD GPUs), respectively, run the tests using Pkg
adding following test_args
:
using Pkg
Pkg.test("FastIce"; test_args=["--backend=CUDA"])
using Pkg
-Pkg.test("FastIce"; test_args=["--backend=AMDGPU"])
Settings
This document was generated with Documenter.jl version 1.3.0 on Monday 8 April 2024. Using Julia version 1.10.2.
Settings
This document was generated with Documenter.jl version 1.3.0 on Wednesday 10 April 2024. Using Julia version 1.10.2.