Chi-Tech
test/framework/chi_math/SpatialDiscretization/CG/mesh_3dprism.lua
--############################################### Setup mesh
meshgen1 =
chi_mesh
.
ExtruderMeshGenerator
.Create
({
inputs =
{
chi_mesh
.
FromFileMeshGenerator
.Create
({
filename=
"../../../../../resources/TestMeshes/TriangleMesh2x2.obj"
}),
},
layers = {{z=0.4,n=2},{z=0.8,n=2},{z=1.2,n=2},{z=1.6,n=2}}, -- layers
})
chi_mesh
.
MeshGenerator
.
Execute
(meshgen1)
chi_mesh::ExtruderMeshGenerator
Definition:
ExtruderMeshGenerator.h:18
chi_mesh::FromFileMeshGenerator
Definition:
FromFileMeshGenerator.h:10
chi_mesh::MeshGenerator
Definition:
MeshGenerator.h:35
chi_mesh::MeshGenerator::Execute
virtual void Execute()
Definition:
MeshGenerator.cc:88
chi_mesh
Definition:
chi_runtime.h:13
Chi-Tech
User Tutorials
Lua Input Examples
Generated by
1.9.3