openPMD.jl
openPMD.AbstractOpenPMDType — TypeAbstractOpenPMDType = Union{...}openPMD.OpenPMDType — TypeOpenPMDType = Union{...}openPMD.Access — Type@enum Access begin
ACCESS_READ_ONLY
ACCESS_READ_WRITE
ACCESS_CREATE
endopenPMD.Allocation — Type@enum Allocation begin
ALLOCATION_USER
ALLOCATION_API
ALLOCATION_AUTO
endopenPMD.Attributable — Typeabstract type Attributable endopenPMD.BaseRecordComponent — Typeabstract type BaseRecordComponent <: Attributable end
openPMD.ChunkInfo — Typestruct ChunkInfo{D}
offset::NTuple{D,Int}
extent::NTuple{D,Int}
endopenPMD.DataOrder — Type@enum DataOrder begin
DATAORDER_C
DATAORDER_F
endopenPMD.Dataset — Typemutable struct Dataset
...
end
Dataset(::Type{<:OpenPMDType}, extent::Extent, options::AbstractString="{}")
Dataset(extent::Extent)Datasets only describe a dataset, they do not hold any data. Datasets are value objects that can be copied.
openPMD.Datatype — Type@enum Datatype begin
CHAR => CxxChar
UCHAR => CxxUChar
SHORT => CxxShort
INT => CxxInt
LONG => CxxLong,
LONGLONG => CxxLongLong
USHORT => CxxUShort
UINT => CxxUInt
ULONG => CxxULong,
ULONGLONG => CxxULongLong
FLOAT => CxxFloat
DOUBLE => CxxDouble,
CFLOAT => Complex{CxxFloat}
CDOUBLE => Complex{CxxDouble}
STRING => String,
VEC_CHAR => Vector{CxxChar}
VEC_UCHAR => Vector{CxxUChar}
VEC_SHORT => Vector{CxxShort},
VEC_INT => Vector{CxxInt}
VEC_LONG => Vector{CxxLong}
VEC_LONGLONG => Vector{CxxLongLong},
VEC_USHORT => Vector{CxxUShort}
VEC_UINT => Vector{CxxUInt}
VEC_ULONG => Vector{CxxULong},
VEC_ULONGLONG => Vector{CxxULongLong}
VEC_FLOAT => Vector{CxxFloat},
VEC_DOUBLE => Vector{CxxDouble}
VEC_CFLOAT => Vector{Complex{CxxFloat}},
VEC_CDOUBLE => Vector{Complex{CxxDouble}}
VEC_STRING => Vector{String}
BOOL => CxxBool,
ARR_DBL_7 => SVector{7,CxxDouble})
endopenPMD.Extent — Typeconst Extent = NTuple{D,Int}Extent describes the size (shape) of a dataset. See Offset.
openPMD.Format — Type@enum Format begin
FORMAT_HDF5
FORMAT_ADIOS2_BP
FORMAT_ADIOS2_BP4
FORMAT_ADIOS2_BP5
FORMAT_ADIOS2_SST
FORMAT_ADIOS2_SSC
FORMAT_JSON
FORMAT_DUMMY
endopenPMD.Geometry — Type@enum Geometry begin
GEOMETRY_cartesian
GEOMETRY_theta_mode
GEOMETRY_cylindrical
GEOMETRY_spherical
GEOMETRY_other
endopenPMD.Iteration — Typestruct Iteration <: Attributable
...
endopenPMD.Iterations — Typestruct Iterations # <: AbstractDict{Int,Iteration}
...
endopenPMD.Mesh — Typestruct Mesh <: Attributable
...
endopenPMD.MeshRecordComponent — Typemutable struct MeshRecordComponent <: RecordComponent
...
endThis holds (a pointer to) a C++ MeshRecordComponent.
openPMD.Meshes — Typestruct Meshes # <: AbstractDict{AbstractString,Mesh}
...
endopenPMD.Offset — Typeconst Offset = NTuple{D,Int}Offset describes the location of a dataset in the containing mesh's index space. See Extent.
openPMD.RecordComponent — Typeabstract type RecordComponent <: BaseRecordComponent endopenPMD.Series — Typemutable struct Series <: Attributable
...
end
Series()
Series(filepath::AbstractString, access::Access, comm::MPI.Comm, options::AbstractString="{}")
Series(filepath::AbstractString, access::Access, options::AbstractString="{}")openPMD.UnitDimension — Type@enum UnitDimension begin
UNITDIMENSION_L # length
UNITDIMENSION_M # mass
UNITDIMENSION_T # time
UNITDIMENSION_I # electric current
UNITDIMENSION_θ # thermodynamic temperature
UNITDIMENSION_N # amount of substance
UNITDIMENSION_J # luminous intensity
endopenPMD.WriteIterations — Typemutable struct WriteIterations ... end
Base.Libc.time — Methodtime(iter::Iteration)::CxxDoubleBase.close — Methodclose(iter::Iteration; flush::Bool=true)Base.count — Methodcount(iters::Iterations, n::Integer)::IntBase.count — Methodcount(mesh::Mesh, name::AbstractString)::IntBase.count — Methodcount(meshes::Meshes, name::AbstractString)::IntBase.delete! — Methoddelete!(iters::Iterations, n::Integer)Base.delete! — Methoddelete!(mesh::Mesh, name::AbstractString)Base.delete! — Methoddelete!(meshes::Meshes, name::AbstractString)Base.eltype — Methodeltype(comp::BaseRecordComponent)::TypeBase.eltype — Methodeltype(::Type{Iterations})::Type
eltype(::Iterations)::TypeBase.eltype — Methodeltype(::Type{Meshes})::Type
eltype(::Meshes)::TypeBase.eltype — Methodeltype(::Type{Mesh})::Type
eltype(::Mesh)::TypeBase.eltype — Methodeltype(dset::Dataset)Base.empty! — Methodempty!(iters::Iterations)Base.empty! — Methodempty!(meshes::Meshes)Base.empty! — Methodempty!(mesh::Mesh)Base.flush — Functionflush(series::Series, backendConfig::AbstractString="{}")::NothingBase.getindex — Functiongetindex(iters::WriteIterations, key)::Iteration
iters[key]::IterationThis function inserts a new Iteration into the WriteIterations object if they key does not yet exist. This is the proper way to create a new Iteration.
There is no corresponding setindex! method since Iteration objects cannot exist independent of a Series.
Base.getindex — Methodgetindex(iters::Iterations, n::Integer)::IterationsRecordComponent
iters[n]Base.getindex — Methodgetindex(mesh::Mesh, name::AbstractString)::MeshRecordComponent
mesh[name]Base.getindex — Methodgetindex(meshes::Meshes, name::AbstractString)::MeshesRecordComponent
meshes[name]Base.in — Methodin(name::AbstractString, meshes::Meshes)::Bool
name in meshBase.in — Methodin(name::AbstractString, mesh::Mesh)::Bool
name in meshBase.in — Methodin(n::Integer, iters::Iterations)::Bool
n in itersBase.isempty — Methodisempty(iters::Iterations)Base.isempty — Methodisempty(meshes::Meshes)Base.isempty — Methodisempty(mesh::Mesh)Base.isempty — Methodisempty(comp::RecordComponent)::BoolBase.isopen — Methodisopen(iter::Iteration)::BoolBase.isvalid — Methodisvalid(series::Series)::BoolBase.keys — Methodkeys(iters::Iterations)::AbstractVector{Int}Base.keys — Methodkeys(meshes::Meshes)::AbstractVector{<:AbstractString}Base.keys — Methodkeys(mesh::Mesh)::AbstractVector{<:AbstractString}Base.keytype — Methodkeytype(::Type{Iterations})::Type
keytype(::Iterations)::TypeBase.keytype — Methodkeytype(::Type{Meshes})::Type
keytype(::Meshes)::TypeBase.keytype — Methodkeytype(::Type{Mesh})::Type
keytype(::Mesh)::TypeBase.length — Methodlength(iters::Iterations)Base.length — Methodlength(meshes::Meshes)Base.length — Methodlength(mesh::Mesh)Base.ndims — Methodndims(comp::RecordComponent)Base.ndims — Methodndims(dset::Dataset)Base.position — Methodposition(comp::MeshRecordComponent)::NTuple{D,CxxDouble}Base.setindex! — Methodsetindex!(iters::Iterations, iter::Iteration, n::Integer)
iters[n] = iterBase.setindex! — Methodsetindex!(mesh::Mesh, comp::MeshRecordComponent, name::AbstractString)
mesh[name] = compBase.setindex! — Methodsetindex!(meshes::Meshes, comp::MeshesRecordComponent, name::AbstractString)
meshes[name] = meshBase.size — Methodsize(comp::RecordComponent)Base.size — Methodsize(dset::Dataset)openPMD.SCALAR — MethodSCALAR()::AbstractStringopenPMD.attributes — Methodattributes(attr::Attributable)::AbstractVector{<:AbstractString}openPMD.author — Methodauthor(series::Series)::AbstractStringopenPMD.available_chunks — Methodavailable_chunks(comp::BaseRecordComponent)::Vector{ChunkInfo{D}}openPMD.axis_labels — Methodaxis_labels(mesh::Mesh)::AbstractVector{<:AbstractString}openPMD.backend — Methodbackend(series::Series)::AbstractStringopenPMD.base_path — Methodbase_path(series::Series)::AbstractStringopenPMD.basic_datatype — Methodbasic_datatype(::Type)::TypeopenPMD.closed — Methodclosed(iter::Iteration)::BoolopenPMD.comment — Methodcomment(attr::Attributable)::AbstractStringopenPMD.contains_attribute — Methodcontains_attribute(attr::Attributable, key::AbstractString)::BoolopenPMD.data_order — Methoddata_order(mesh::Mesh)::DataOrderopenPMD.datatype_to_string — Methoddatatype_to_string(::Type)::AbstractStringopenPMD.date — Methoddate(series::Series)::AbstractStringopenPMD.delete_attribute! — Methoddelete_attribute!(attr::Attributable, key::AbstractString)openPMD.determine_datatype — Methoddetermine_datatype(::Type)::DatatypeopenPMD.determine_format — Functiondetermine_format(filename::AbstractString)::FormatopenPMD.dt — Methoddt(iter::Iteration)::CxxDoubleopenPMD.extend! — Methodextend!(dset::Dataset, newextent::Extent)openPMD.geometry — Methodgeometry(mesh::Mesh)::GeometryopenPMD.geometry_parameters — Methodgeometry_parameters(mesh::Mesh)::AbstractStringopenPMD.get_attribute — Methodget_attribute(attr::Attributable, key::AbstractString)::OpenPMDTypeopenPMD.get_file_extensions — Functionget_file_extensions()::AbstractVector{<:AbstractString}openPMD.get_standard — Functionget_standard()::AbstractStringopenPMD.get_standard_minimum — Functionget_standard_minimum()::AbstractStringopenPMD.get_variants — Methodget_variants()::Dict{String,Bool}openPMD.get_version — Functionget_version()::AbstractStringopenPMD.grid_global_offset — Methodgrid_global_offset(mesh::Mesh)::AbstractVector{CxxDouble}openPMD.grid_spacing — Methodgrid_spacing(mesh::Mesh)::AbstractVector{CxxDouble}openPMD.grid_unit_SI — Methodgrid_unit_SI(mesh::Mesh)::CxxDoubleopenPMD.is_complex_floating_point — Methodis_complex_floating_point(::Type)::BoolopenPMD.is_floating_point — Methodis_floating_point(::Type)::BoolopenPMD.is_integer — Methodis_integer(::Type)::Tuple{Bool,Bool}Whether the type is an integer (first tuple element), and if so, whether it is signed (second tuple element).
openPMD.is_same — Methodis_same(::Type, ::Type)::BoolopenPMD.is_vector — Methodis_vector(::Type)::BoolopenPMD.isconstant — Methodisconstant(comp::BaseRecordComponent)::BoolopenPMD.isscalar — Methodisscalar(mesh::Mesh)::BoolopenPMD.iteration_format — Methoditeration_format(series::Series)::AbstractStringopenPMD.iterations — Method iterations(series::Series)::IterationsopenPMD.load_chunk — FunctionTODO: update
data = load_chunk(comp::RecordComponent, offset::Offset, extent::Extent)openPMD.machine — Methodmachine(series::Series)::AbstractStringopenPMD.make_constant — Functionmake_constant(comp::RecordComponent, value::OpenMPType)openPMD.make_empty — Methodmake_empty(T::Type, comp::RecordComponent, ndims::Int)openPMD.meshes — Method meshes(iter::Iteration)::MeshesopenPMD.meshes_path — Methodmeshes_path(series::Series)::AbstractStringopenPMD.name — Methodname(series::Series)::AbstractStringopenPMD.num_attributes — Methodnum_attributes(attr::Attributable)::IntopenPMD.openPMD_extension — MethodopenPMD_extension(series::Series)::UInt32openPMD.openPMD_version — MethodopenPMD_version(series::Series)::AbstractStringopenPMD.openpmd_datatypes — Methodopenpmd_datatypes()::AbstractVector{Datatype}openPMD.options — Functionoptions(dset::Dataset)::AbstractStringopenPMD.particles_path — Methodparticles_path(series::Series)::AbstractStringopenPMD.reset_dataset! — Methodreset_dataset!(comp::RecordComponent, dset::Dataset)openPMD.reset_datatype! — Methodreset_datatype!(comp::BaseRecordComponent, T::Type)openPMD.series_flush — Methodseries_flush(attr::Attributable)openPMD.set_attribute! — Methodset_attribute!(attr::Attributable, key::AbstractString, value::OpenPMDType)openPMD.set_author! — Methodset_author!(series::Series, author::AbstractString)openPMD.set_axis_labels! — Methodset_axis_labels!(mesh::Mesh, labels::AbstractVector{<:AbstractString})openPMD.set_base_path! — Methodset_base_path!(series::Series, path::AbstractString)openPMD.set_comment! — Methodset_comment!(attr::Attributable, comment::AbstractString)openPMD.set_data_order! — Methodset_data_order!(mesh::Mesh, order::DataOrder)openPMD.set_date! — Methodset_date!(series::Series, date::AbstractString)openPMD.set_dt! — Methodset_dt!(iter::Iteration, dt::CxxDouble)openPMD.set_geometry! — Methodset_geometry!(mesh::Mesh, geom::Geometry)openPMD.set_geometry_parameters! — Methodset_geometry_parameters!(mesh::Mesh, params::AbstractString)openPMD.set_grid_global_offset! — Methodset_grid_global_offset!(mesh::Mesh, offset::AbstractVector{CxxDouble})openPMD.set_grid_spacing! — Methodset_grid_spacing!(mesh::Mesh, spacing::AbstractVector{CxxDouble})openPMD.set_grid_unit_SI! — Methodset_grid_unit_SI!(mesh::Mesh, unit::CxxDouble)openPMD.set_iteration_format! — Methodset_iteration_format!(series::Series, format::AbstractString)openPMD.set_machine! — Methodset_machine!(series::Series, machine::AbstractString)openPMD.set_meshes_path! — Methodset_meshes_path!(series::Series, path::AbstractString)openPMD.set_name! — Methodset_name!(series::Series, name::AbstractString)openPMD.set_openPMD_extension! — Methodset_openPMD_extension!(series::Series, extension::AbstractString)openPMD.set_openPMD_version! — Methodset_openPMD_version!(series::Series, version::AbstractString)openPMD.set_particles_path! — Methodset_particles_path!(series::Series, path::AbstractString)openPMD.set_position! — Methodset_position!(comp::MeshRecordComponent, newpos::Union{NTuple{D,CxxDouble}, AbstractVector{CxxDouble}})openPMD.set_software! — Functionset_software!(series::Series, software::AbstractString, version::AbstractString="unspecified")openPMD.set_software_dependencies! — Methodset_software_dependencies!(series::Series, dependencies::AbstractString)openPMD.set_time! — Methodset_time!(iter::Iteration, time::CxxDouble)openPMD.set_time_offset! — Methodset_time_offset!(mesh::Mesh, unit::CxxDouble)openPMD.set_time_unit_SI! — Methodset_time_unit_SI!(iter::Iteration, time_unit_SI::CxxDouble)openPMD.set_unit_SI! — Methodset_unit_SI!(comp::RecordComponent, unit::CxxDouble)openPMD.set_unit_dimension! — Methodset_unit_dimension!(mesh::Mesh, unit_dim::Dict{UnitDimension,<:AbstractFloat})openPMD.software — Methodsoftware(series::Series)::AbstractStringopenPMD.software_dependencies — Methodsoftware_dependencies(series::Series)::AbstractStringopenPMD.software_version — Methodsoftware_version(series::Series)::AbstractStringopenPMD.store_chunk — FunctionTODO: update
store_chunk(comp::RecordComponent, data::AbstractArray, offset::Offset, extent::Extent)openPMD.string_to_datatype — Methodstring_to_datatype(str::AbstractString)::OpenPMDTypeopenPMD.suffix — Functionsuffix(format::Format)::AbstractStringopenPMD.time_offset — Methodtime_offset(mesh::Mesh)::CxxDoubleopenPMD.time_unit_SI — Methodtime_unit_SI(iter::Iteration)::CxxDoubleopenPMD.to_bits — Methodto_bits(::Type)::IntopenPMD.to_bytes — Methodto_bytes(::Type)::IntopenPMD.to_vector_type — Methodto_vector_type(::Type)::TypeopenPMD.unit_SI — Methodunit_SI(comp::BaseRecordComponent)::CxxDoubleopenPMD.unit_dimension — Methodunit_dimension(mesh::Mesh)::SVector{7,Double}openPMD.warn_wrong_dtype — Methodwarn_wrong_dtype(key::AbstractString, ::Type{Store}, ::Type{Request}) where {Store,Request}