Extrude a Geometry from 2D to 3D


Extrude a 2D domain into 3D, allowing users to define the extrusion direction and extent. Additionally, users have the flexibility to specify the boundary conditions for the extruded domain.

Example usage:

C++

ps::Extrude<double>(domain2D, domain3D, 
                    {0., 1.}, // min and max extent in the extruded dim
                    2, // extrude in z-direction
                    {viennals::BoundaryConditionEnum::REFLECTIVE,
                     viennals::BoundaryConditionEnum::REFLECTIVE,
                     viennals::BoundaryConditionEnum::INFINITE_BOUNDARY}).apply();

Since the ViennaPS 2D and 3D libraries cannot be used together in Python, this feature is currently not available in the Python bindings.