Build Status

SimplexGridFactory

Contains convenience interfaces to triangle (via Triangulate.jl) and (planned...) TetGen.

SimplexGridFactory.proto_simplexgridMethod
proto_simplexgrid(flags::String, input::Triangulate.TriangulateIO; unsuitable) -> ExtendableGrid{Float64,Int32}

Create Grid from Triangle input data.

SimplexGridFactory.proto_simplexgridMethod
function proto_simplexgrid(;flags::String="pAaqDQ",
                     points=Array{Cdouble,2}(undef,0,0),
                     bfaces=Array{Cint,2}(undef,0,0),
                     bfaceregions=Array{Cint,1}(undef,0),
                     regionpoints=Array{Cdouble,2}(undef,0,0),
                     regionnumbers=Array{Cint,1}(undef,0),
                     regionvolumes=Array{Cdouble,1}(undef,0),
                     unsuitable=nothing
                  )

Create Grid from a number of input arrays. The 2D input arrays are transposed if necessary and converted to the proper data types for Triangulate.

This conversion is not performed if the data types are thos indicated in the defaults and the leading dimension of 2D arrays corresponds to the space dimension.