Mesh

Mesh

Mesh structure

Modifying mesh

Defining new mesh parsers

Whould work somehow like this:

mutable struct DemoReader <: AbstractMeshReader
    handle :: String
end

function read_mesh!(m::Mesh, r::DemoReader)
    # parse file and insert results to `m`.
end

mesh = Mesh()
reader = DemoReader("file.inp")
read_mesh!(mesh, reader)