qugar.cpp
QUGaR Python interface
Classes
Add functions |
|
Add functions |
|
Affine transformation |
|
Affine transformation |
|
Annulus class (non-Bezier version) |
|
Annulus class (Bezier version) |
|
BoundBox object |
|
BoundBox object |
|
CartGridTP object |
|
CartGridTP object |
|
Constant function (Bezier version) |
|
Constant function (Bezier version) |
|
Constant function (non-Bezier version) |
|
Constant function (non-Bezier version) |
|
CutCellsQuad object |
|
CutCellsQuad object |
|
CutIsoBoundsQuad object |
|
CutIsoBoundsQuad object |
|
CutUnfBoundsQuad object |
|
CutUnfBoundsQuad object |
|
Cylinder function (non-Bezier version) |
|
Cylinder function (Bezier version) |
|
Dim-linear function |
|
Dim-linear function |
|
Disk function (non-Bezier version) |
|
Disk function (Bezier version) |
|
Ellipse function (non-Bezier version) |
|
Ellipse function (Bezier version) |
|
Ellipsoid function (non-Bezier version) |
|
Ellipsoid function (Bezier version) |
|
Fischer-Koch S TPMS |
|
Fischer-Koch S TPMS |
|
|
|
Implicit function |
|
Implicit function |
|
Line function (non-Bezier version) |
|
Line function (Bezier version) |
|
Negative function |
|
Negative function |
|
Plane function (non-Bezier version) |
|
Plane function (Bezier version) |
|
Quadrature object |
|
Quadrature object |
|
Quadrature object |
|
Affine transformation |
|
Affine transformation |
|
ReparamMesh object |
|
ReparamMesh object |
|
ReparamMesh object |
|
ReparamMesh object |
|
Schoen F-RD TPMS |
|
Schoen F-RD TPMS |
|
Schoen I-WP TPMS |
|
Schoen I-WP TPMS |
|
Schoen gyroid TPMS |
|
Schoen gyroid TPMS |
|
Schwarz diamond TPMS |
|
Schwarz diamond TPMS |
|
Schwarz primitive TPMS |
|
Schwarz primitive TPMS |
|
Sphere function (non Bezier version) |
|
Sphere function (Bezier version) |
|
Square function |
|
Square function |
|
Subtract functions |
|
Subtract functions |
|
Torus class (non-Bezier version) |
|
Torus class (Bezier version) |
|
Affinely transformed function |
|
Affinely transformed function |
|
UnfittedDomain object |
|
UnfittedDomain object |
|
UnfittedImplDomain object |
|
UnfittedImplDomain object |
- class qugar.cpp.AddFunctions_2D
Bases:
ImplicitFunc_2DAdd functions
- class qugar.cpp.AddFunctions_3D
Bases:
ImplicitFunc_3DAdd functions
- class qugar.cpp.AffineTransf_2D
Bases:
objectAffine transformation
- class qugar.cpp.AffineTransf_3D
Bases:
objectAffine transformation
- class qugar.cpp.Annulus
Bases:
ImplicitFunc_2DAnnulus class (non-Bezier version)
- property center
(self) -> numpy.ndarray[dtype=float64, shape=(2), order=’C’, writable=False]
- property inner_radius
(self) -> float
- property outer_radius
(self) -> float
- class qugar.cpp.AnnulusBzr
Bases:
ImplicitFunc_2DAnnulus class (Bezier version)
- property center
(self) -> numpy.ndarray[dtype=float64, shape=(2), order=’C’, writable=False]
- property inner_radius
(self) -> float
- property outer_radius
(self) -> float
- class qugar.cpp.BoundBox_2D
Bases:
objectBoundBox object
- as_array
- length
- property max_corner
(self) -> numpy.ndarray[dtype=float64, shape=(2), order=’C’, writable=False]
- property mid_point
(self) -> numpy.ndarray[dtype=float64, shape=(2), order=’C’, writable=False]
- property min_corner
(self) -> numpy.ndarray[dtype=float64, shape=(2), order=’C’, writable=False]
- property volume
(self) -> float
- class qugar.cpp.BoundBox_3D
Bases:
objectBoundBox object
- as_array
- length
- property max_corner
(self) -> numpy.ndarray[dtype=float64, shape=(3), order=’C’, writable=False]
- property mid_point
(self) -> numpy.ndarray[dtype=float64, shape=(3), order=’C’, writable=False]
- property min_corner
(self) -> numpy.ndarray[dtype=float64, shape=(3), order=’C’, writable=False]
- property volume
(self) -> float
- class qugar.cpp.CartGridTP_2D
Bases:
objectCartGridTP object
- property cell_breaks
(self) -> list[numpy.ndarray[dtype=float64, shape=(*), order=’C’, writable=False]]
- property dim
(self) -> int
- property domain
(self) -> qugar.cpp.BoundBox_2D
- get_boundary_cells
- get_cell_domain
- property num_cells_dir
(self) -> numpy.ndarray[dtype=int32, shape=(2), order=’C’, writable=False]
- class qugar.cpp.CartGridTP_3D
Bases:
objectCartGridTP object
- property cell_breaks
(self) -> list[numpy.ndarray[dtype=float64, shape=(*), order=’C’, writable=False]]
- property dim
(self) -> int
- property domain
(self) -> qugar.cpp.BoundBox_3D
- get_boundary_cells
- get_cell_domain
- property num_cells_dir
(self) -> numpy.ndarray[dtype=int32, shape=(3), order=’C’, writable=False]
- class qugar.cpp.ConstantBzr_2D
Bases:
ImplicitFunc_2DConstant function (Bezier version)
- property value
(self) -> float
- class qugar.cpp.ConstantBzr_3D
Bases:
ImplicitFunc_3DConstant function (Bezier version)
- property value
(self) -> float
- class qugar.cpp.Constant_2D
Bases:
ImplicitFunc_2DConstant function (non-Bezier version)
- property value
(self) -> float
- class qugar.cpp.Constant_3D
Bases:
ImplicitFunc_3DConstant function (non-Bezier version)
- property value
(self) -> float
- class qugar.cpp.CutCellsQuad_2D
Bases:
objectCutCellsQuad object
- property cells
Cell ids.
- property n_pts_per_entity
Number of quadratures points per cell.
- property points
Quadrature point coordinates.
- property weights
Quadrature weights.
- class qugar.cpp.CutCellsQuad_3D
Bases:
objectCutCellsQuad object
- property cells
Cell ids.
- property n_pts_per_entity
Number of quadratures points per cell.
- property points
Quadrature point coordinates.
- property weights
Quadrature weights.
- class qugar.cpp.CutIsoBoundsQuad_1D
Bases:
objectCutIsoBoundsQuad object
- property cells
Cell ids.
- property facets
Local facet ids (referred to the cells).
- property n_pts_per_entity
Number of quadratures points per facet.
- property points
Quadrature point coordinates.
- property weights
Quadrature weights.
- class qugar.cpp.CutIsoBoundsQuad_2D
Bases:
objectCutIsoBoundsQuad object
- property cells
Cell ids.
- property facets
Local facet ids (referred to the cells).
- property n_pts_per_entity
Number of quadratures points per facet.
- property points
Quadrature point coordinates.
- property weights
Quadrature weights.
- class qugar.cpp.CutUnfBoundsQuad_2D
Bases:
objectCutUnfBoundsQuad object
- property cells
Cell ids.
- property n_pts_per_entity
Number of quadratures points per cell.
- property normals
Unit normal vectors at the quadrature points.
- property points
Quadrature point coordinates.
- property weights
Quadrature weights.
- class qugar.cpp.CutUnfBoundsQuad_3D
Bases:
objectCutUnfBoundsQuad object
- property cells
Cell ids.
- property n_pts_per_entity
Number of quadratures points per cell.
- property normals
Unit normal vectors at the quadrature points.
- property points
Quadrature point coordinates.
- property weights
Quadrature weights.
- class qugar.cpp.Cylinder
Bases:
ImplicitFunc_3DCylinder function (non-Bezier version)
- property axis
(self) -> numpy.ndarray[dtype=float64, shape=(3), order=’C’, writable=False]
- property origin
(self) -> numpy.ndarray[dtype=float64, shape=(3), order=’C’, writable=False]
- property radius
(self) -> float
- class qugar.cpp.CylinderBzr
Bases:
ImplicitFunc_3DCylinder function (Bezier version)
- property axis
(self) -> numpy.ndarray[dtype=float64, shape=(3), order=’C’, writable=False]
- property origin
(self) -> numpy.ndarray[dtype=float64, shape=(3), order=’C’, writable=False]
- property radius
(self) -> float
- class qugar.cpp.DimLinear_2D
Bases:
ImplicitFunc_2DDim-linear function
- class qugar.cpp.DimLinear_3D
Bases:
ImplicitFunc_3DDim-linear function
- class qugar.cpp.Disk
Bases:
ImplicitFunc_2DDisk function (non-Bezier version)
- property center
(self) -> numpy.ndarray[dtype=float64, shape=(2), order=’C’, writable=False]
- property radius
(self) -> float
- class qugar.cpp.DiskBzr
Bases:
ImplicitFunc_2DDisk function (Bezier version)
- property center
(self) -> numpy.ndarray[dtype=float64, shape=(2), order=’C’, writable=False]
- property radius
(self) -> float
- class qugar.cpp.Ellipse
Bases:
ImplicitFunc_2DEllipse function (non-Bezier version)
- property ref_system
(self) -> qugar.cpp.RefSystem_2D
- property semi_axes
(self) -> numpy.ndarray[dtype=float64, shape=(2), order=’C’, writable=False]
- class qugar.cpp.EllipseBzr
Bases:
ImplicitFunc_2DEllipse function (Bezier version)
- property ref_system
(self) -> qugar.cpp.RefSystem_2D
- property semi_axes
(self) -> numpy.ndarray[dtype=float64, shape=(2), order=’C’, writable=False]
- class qugar.cpp.Ellipsoid
Bases:
ImplicitFunc_3DEllipsoid function (non-Bezier version)
- property ref_system
(self) -> qugar.cpp.RefSystem_3D
- property semi_axes
(self) -> numpy.ndarray[dtype=float64, shape=(3), order=’C’, writable=False]
- class qugar.cpp.EllipsoidBzr
Bases:
ImplicitFunc_3DEllipsoid function (Bezier version)
- property ref_system
(self) -> qugar.cpp.RefSystem_3D
- property semi_axes
(self) -> numpy.ndarray[dtype=float64, shape=(3), order=’C’, writable=False]
- class qugar.cpp.FischerKochS_2D
Bases:
ImplicitFunc_2DFischer-Koch S TPMS
- class qugar.cpp.FischerKochS_3D
Bases:
ImplicitFunc_3DFischer-Koch S TPMS
- class qugar.cpp.ImplicitFunc_2D
Bases:
objectImplicit function
- property dim
(self) -> int
- eval
- grad
- class qugar.cpp.ImplicitFunc_3D
Bases:
objectImplicit function
- property dim
(self) -> int
- eval
- grad
- class qugar.cpp.Line
Bases:
ImplicitFunc_2DLine function (non-Bezier version)
- property normal
(self) -> numpy.ndarray[dtype=float64, shape=(2), order=’C’, writable=False]
- property origin
(self) -> numpy.ndarray[dtype=float64, shape=(2), order=’C’, writable=False]
- class qugar.cpp.LineBzr
Bases:
ImplicitFunc_2DLine function (Bezier version)
- property normal
(self) -> numpy.ndarray[dtype=float64, shape=(2), order=’C’, writable=False]
- property origin
(self) -> numpy.ndarray[dtype=float64, shape=(2), order=’C’, writable=False]
- class qugar.cpp.Negative_2D
Bases:
ImplicitFunc_2DNegative function
- class qugar.cpp.Negative_3D
Bases:
ImplicitFunc_3DNegative function
- class qugar.cpp.Plane
Bases:
ImplicitFunc_3DPlane function (non-Bezier version)
- property normal
(self) -> numpy.ndarray[dtype=float64, shape=(3), order=’C’, writable=False]
- property origin
(self) -> numpy.ndarray[dtype=float64, shape=(3), order=’C’, writable=False]
- class qugar.cpp.PlaneBzr
Bases:
ImplicitFunc_3DPlane function (Bezier version)
- property normal
(self) -> numpy.ndarray[dtype=float64, shape=(3), order=’C’, writable=False]
- property origin
(self) -> numpy.ndarray[dtype=float64, shape=(3), order=’C’, writable=False]
- class qugar.cpp.Quad_1D
Bases:
objectQuadrature object
- property points
Quadrature point coordinates.
- property weights
Quadrature weights.
- class qugar.cpp.Quad_2D
Bases:
objectQuadrature object
- property points
Quadrature point coordinates.
- property weights
Quadrature weights.
- class qugar.cpp.Quad_3D
Bases:
objectQuadrature object
- property points
Quadrature point coordinates.
- property weights
Quadrature weights.
- class qugar.cpp.RefSystem_2D
Bases:
objectAffine transformation
- class qugar.cpp.RefSystem_3D
Bases:
objectAffine transformation
- class qugar.cpp.ReparamMesh_1_2
Bases:
objectReparamMesh object
- property cells_conn
Mesh cells connectivity.
- property chebyshev
Whether Chebyshev nodes are used.
- property dim
Mesh parametric dimension.
- property order
Mesh order.
- property points
Mesh points.
- property range
Mesh geometric dimension.
- property wirebasket_conn
Wirebasket connectivity.
- class qugar.cpp.ReparamMesh_2_2
Bases:
objectReparamMesh object
- property cells_conn
Mesh cells connectivity.
- property chebyshev
Whether Chebyshev nodes are used.
- property dim
Mesh parametric dimension.
- property order
Mesh order.
- property points
Mesh points.
- property range
Mesh geometric dimension.
- property wirebasket_conn
Wirebasket connectivity.
- class qugar.cpp.ReparamMesh_2_3
Bases:
objectReparamMesh object
- property cells_conn
Mesh cells connectivity.
- property chebyshev
Whether Chebyshev nodes are used.
- property dim
Mesh parametric dimension.
- property order
Mesh order.
- property points
Mesh points.
- property range
Mesh geometric dimension.
- property wirebasket_conn
Wirebasket connectivity.
- class qugar.cpp.ReparamMesh_3_3
Bases:
objectReparamMesh object
- property cells_conn
Mesh cells connectivity.
- property chebyshev
Whether Chebyshev nodes are used.
- property dim
Mesh parametric dimension.
- property order
Mesh order.
- property points
Mesh points.
- property range
Mesh geometric dimension.
- property wirebasket_conn
Wirebasket connectivity.
- class qugar.cpp.SchoenFRD_2D
Bases:
ImplicitFunc_2DSchoen F-RD TPMS
- class qugar.cpp.SchoenFRD_3D
Bases:
ImplicitFunc_3DSchoen F-RD TPMS
- class qugar.cpp.SchoenIWP_2D
Bases:
ImplicitFunc_2DSchoen I-WP TPMS
- class qugar.cpp.SchoenIWP_3D
Bases:
ImplicitFunc_3DSchoen I-WP TPMS
- class qugar.cpp.Schoen_2D
Bases:
ImplicitFunc_2DSchoen gyroid TPMS
- class qugar.cpp.Schoen_3D
Bases:
ImplicitFunc_3DSchoen gyroid TPMS
- class qugar.cpp.SchwarzDiamond_2D
Bases:
ImplicitFunc_2DSchwarz diamond TPMS
- class qugar.cpp.SchwarzDiamond_3D
Bases:
ImplicitFunc_3DSchwarz diamond TPMS
- class qugar.cpp.SchwarzPrimitive_2D
Bases:
ImplicitFunc_2DSchwarz primitive TPMS
- class qugar.cpp.SchwarzPrimitive_3D
Bases:
ImplicitFunc_3DSchwarz primitive TPMS
- class qugar.cpp.Sphere
Bases:
ImplicitFunc_3DSphere function (non Bezier version)
- property center
(self) -> numpy.ndarray[dtype=float64, shape=(3), order=’C’, writable=False]
- property radius
(self) -> float
- class qugar.cpp.SphereBzr
Bases:
ImplicitFunc_3DSphere function (Bezier version)
- property center
(self) -> numpy.ndarray[dtype=float64, shape=(3), order=’C’, writable=False]
- property radius
(self) -> float
- class qugar.cpp.Square_2D
Bases:
ImplicitFunc_2DSquare function
- class qugar.cpp.Square_3D
Bases:
ImplicitFunc_3DSquare function
- class qugar.cpp.SubtractFunctions_2D
Bases:
ImplicitFunc_2DSubtract functions
- class qugar.cpp.SubtractFunctions_3D
Bases:
ImplicitFunc_3DSubtract functions
- class qugar.cpp.Torus
Bases:
ImplicitFunc_3DTorus class (non-Bezier version)
- property axis
(self) -> numpy.ndarray[dtype=float64, shape=(3), order=’C’, writable=False]
- property center
(self) -> numpy.ndarray[dtype=float64, shape=(3), order=’C’, writable=False]
- property major_radius
(self) -> float
- property minor_radius
(self) -> float
- class qugar.cpp.TorusBzr
Bases:
ImplicitFunc_3DTorus class (Bezier version)
- property axis
(self) -> numpy.ndarray[dtype=float64, shape=(3), order=’C’, writable=False]
- property center
(self) -> numpy.ndarray[dtype=float64, shape=(3), order=’C’, writable=False]
- property major_radius
(self) -> float
- property minor_radius
(self) -> float
- class qugar.cpp.TransformedFunction_2D
Bases:
ImplicitFunc_2DAffinely transformed function
- class qugar.cpp.TransformedFunction_3D
Bases:
ImplicitFunc_3DAffinely transformed function
- class qugar.cpp.UnfittedDomain_2D
Bases:
objectUnfittedDomain object
- property dim
(self) -> int
- get_cut_cells
- get_cut_facets
- get_empty_cells
- get_empty_facets
- get_full_cells
- get_full_facets
- get_full_unf_bdry_facets
- get_unf_bdry_facets
- property grid
(self) -> qugar.cpp.CartGridTP_2D
- property has_facets_with_unf_bdry
(self) -> bool
- property num_total_cells
(self) -> int
- class qugar.cpp.UnfittedDomain_3D
Bases:
objectUnfittedDomain object
- property dim
(self) -> int
- get_cut_cells
- get_cut_facets
- get_empty_cells
- get_empty_facets
- get_full_cells
- get_full_facets
- get_full_unf_bdry_facets
- get_unf_bdry_facets
- property grid
(self) -> qugar.cpp.CartGridTP_3D
- property has_facets_with_unf_bdry
(self) -> bool
- property num_total_cells
(self) -> int
- class qugar.cpp.UnfittedImplDomain_2D
Bases:
UnfittedDomain_2DUnfittedImplDomain object
- property impl_func
(self) -> qugar::impl::DomainFunc<2, 1>
- class qugar.cpp.UnfittedImplDomain_3D
Bases:
UnfittedDomain_3DUnfittedImplDomain object
- property impl_func
(self) -> qugar::impl::DomainFunc<3, 1>