Exporting data

Periodic Boundary Condition

LightMC.applybc!Method
applybc!(ed::Array{<:Float64,3},p::Param)

Applying the periodic boundary condition on our irradiance output grid ed if kbc sets to 1

source

Exporting data to .h5 file

Our data can be exported to .h5 file, with 3 modes: 2D, 3D, and full.

LightMC.exportedFunction
exported(ed::Array{<:Real,3},η::Array{<:Real,2},p::Param,
              fname::String,mode="2D"::String,nk=0::Int64)

exported the irradiance data into fname.h5 file.

There are 3 modes of exporting the data: 2D, 3D, and full. If not specified the mode will automatically set to 2D.

source