Useful tools
MaterialPointGenerator.fastvtp
— Methodfastvtp(coords; vtp_file="output.vtp", data::T=NamedTuple())
Description:
Generates a .vtp
file by passing custom fields.
MaterialPointGenerator.sortbycol
— Methodsortbycol(pts, col::T) where T <: Int
Description:
Sort the points in pts
according to the column col
.
MaterialPointGenerator.csv2geo2d
— Methodcsv2geo2d(csv_file::String, geo_file::String)
Description:
Convert the CSV file (.csv) to the Gmsh geo (.geo) file.
MaterialPointGenerator.sort_pts
— Methodsort_pts(pts::Matrix)
Description:
Sort the points in pts by the (z-), y-, and x-coordinates, in that order (2/3D).
MaterialPointGenerator.populate_pts
— Methodpopulate_pts(pts_cen, h)
Description:
Populate the points around the center points pts_cen
with the spacing h/4
(2/3D).