Its v0.5.0.
julia> versioninfo()
Julia Version 0.5.0
Commit 3c9d753 (2016-09-19 18:14 UTC)
Platform Info:
System: NT (x86_64-w64-mingw32)
CPU: AMD A10-8700P Radeon R6, 10 Compute Cores 4C+6G
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Excavator)
LAPACK: libopenblas64_
LIBM: libopenlibm
LLVM: libLLVM-3.7.1 (ORCJIT, bdver4)
Here is the type definition.
type VTKMultiblockData <: AbstractVTKMultiblockData
blocks::Vector{AbstractStaticVTKData}
end
And here is the whole file of types.
abstract AbstractVTKData
abstract AbstractStaticVTKData <: AbstractVTKData
abstract AbstractTimeSeriesVTKData <: AbstractVTKData
abstract AbstractVTKSimpleData <: AbstractStaticVTKData
abstract AbstractVTKAMRData <: AbstractStaticVTKData
abstract AbstractVTKMultiblockData <: AbstractStaticVTKData
abstract AbstractVTKUnstructuredData <: AbstractVTKSimpleData
abstract AbstractVTKStructuredData <: AbstractVTKSimpleData
abstract AbstractVTKRectilinearData <: AbstractVTKStructuredData
type VTKUnstructuredData{T} <: AbstractVTKUnstructuredData
point_coords::Matrix{T}
cell_types::Vector{Int}
cell_connectivity::Vector{Vector{Int}}
point_data::Dict{String, Array{T}}
cell_data::Dict{String, Array{T}}
function VTKUnstructuredData(point_coords, cell_types, cell_connectivity, point_data, cell_data)
dataset = new(point_coords, cell_types, cell_connectivity, point_data, cell_data)
valid, _error = is_valid(dataset)
valid ? (return dataset) : throw(_error)
end
end
VTKUnstructuredData{T}(point_coords::Matrix{T}, cell_types::Vector{Int},
cell_connectivity::Vector{Vector{Int}}, point_data::Dict{String, Array{T}},
cell_data::Dict{String, Array{T}}) = VTKUnstructuredData{T}(point_coords, cell_types,
cell_connectivity, point_data, cell_data)
type VTKPolyData{T} <: AbstractVTKUnstructuredData
point_coords::Matrix{T}
cell_types::Vector{Int}
cell_connectivity::Vector{Vector{Int}}
point_data::Dict{String, Array{T}}
cell_data::Dict{String, Array{T}}
function VTKPolyData(point_coords, cell_types, cell_connectivity, point_data, cell_data)
dataset = new(point_coords, cell_types, cell_connectivity, point_data, cell_data)
valid, _error = is_valid(dataset)
valid ? (return dataset) : throw(_error)
end
end
VTKPolyData{T}(point_coords::Matrix{T}, cell_types::Vector{Int},
cell_connectivity::Vector{Vector{Int}}, point_data::Dict{String, Array{T}},
cell_data::Dict{String, Array{T}}) = VTKPolyData{T}(point_coords, cell_types,
cell_connectivity, point_data, cell_data)
type VTKStructuredData{T} <: AbstractVTKStructuredData
point_coords::Array{T}
point_data::Dict{String, Array{T}}
cell_data::Dict{String, Array{T}}
function VTKStructuredData(point_coords, point_data, cell_data)
dataset = new(point_coords, point_data, cell_data)
valid, _error = is_valid(dataset)
valid ? (return dataset) : throw(_error)
end
end
VTKStructuredData{T}(point_coords::Array{T}, point_data::Dict{String, Array{T}},
cell_data::Dict{String, Array{T}}) = VTKStructuredData{T}(point_coords, point_data, cell_data)
type VTKRectilinearData{T} <: AbstractVTKRectilinearData
point_coords::Vector{Vector{T}}
point_data::Dict{String, Array{T}}
cell_data::Dict{String, Array{T}}
function VTKRectilinearData(point_coords, point_data, cell_data)
dataset = new(point_coords, point_data, cell_data)
valid, _error = is_valid(dataset)
valid ? (return dataset) : throw(_error)
end
end
VTKRectilinearData{T}(point_coords::Vector{Vector{T}}, point_data::Dict{String, Array{T}},
cell_data::Dict{String, Array{T}}) = VTKRectilinearData{T}(point_coords, point_data, cell_data)
type VTKUniformRectilinearData{T} <: AbstractVTKRectilinearData
origin::Vector{T}
spacing::Vector{T}
extents::Vector{Int}
point_data::Dict{String, Array{T}}
cell_data::Dict{String, Array{T}}
function VTKUniformRectilinearData(origin, spacing, extents, point_data, cell_data)
dataset = new(origin, spacing, extents, point_data, cell_data)
valid, _error = is_valid(dataset)
valid ? (return dataset) : throw(_error)
end
end
VTKUniformRectilinearData{T}(origin::Vector{T}, spacing::Vector{T}, extents::Vector{Int},
point_data::Dict{String, Array{T}}, cell_data::Dict{String, Array{T}}) =
VTKUniformRectilinearData{T}(origin, spacing, extents, point_data, cell_data)
#=
type VTKBergerOligerAMRData <: AbstractVTKAMRData
data::VTKUniformRectilinearData
children::Vector{VTKBergerOligerAMRData}
children_boundary_cells::Matrix{Int}
end
=#
type VTKMultiblockData <: AbstractVTKMultiblockData
blocks::Vector{AbstractStaticVTKData}
end
type VTKTimeSeriesData{T, S<:AbstractStaticVTKData} <: AbstractTimeSeriesVTKData
timemarkers::Vector{T}
data::Array{S}
function VTKTimeSeriesData(timemarkers, data)
dataset = new(timemarkers, data)
valid, _error = is_valid(dataset)
valid ? (return dataset) : throw(_error)
end
end