CsatiZoltan / CristalX

Identification and analysis of polycrystalline microstructures
https://cristalx.readthedocs.io
GNU Lesser General Public License v3.0
6 stars 7 forks source link

Extrude mesh #59

Open CsatiZoltan opened 3 years ago

CsatiZoltan commented 3 years ago

In "quasi-3D" simulations, columnar grains are assumed, i.e. a 2D grain is extruded in the third dimension. At the discrete level (grains discretized into cells, forming a mesh), it can be implemented by inserting additional cells along the third dimension. To implement this feature, let us define an extrude method for the TriMesh class that will construct a WedgeMesh object.