spectre.Domain¶
- class spectre.Domain._Pybindings.Block1D¶
- has_distorted_frame(self: spectre.Domain._Pybindings.Block1D) bool ¶
- property id¶
- is_time_dependent(self: spectre.Domain._Pybindings.Block1D) bool ¶
- property moving_mesh_distorted_to_inertial_map¶
- property moving_mesh_grid_to_distorted_map¶
- property moving_mesh_grid_to_inertial_map¶
- property moving_mesh_logical_to_grid_map¶
- property name¶
- property stationary_map¶
- class spectre.Domain._Pybindings.Block2D¶
- has_distorted_frame(self: spectre.Domain._Pybindings.Block2D) bool ¶
- property id¶
- is_time_dependent(self: spectre.Domain._Pybindings.Block2D) bool ¶
- property moving_mesh_distorted_to_inertial_map¶
- property moving_mesh_grid_to_distorted_map¶
- property moving_mesh_grid_to_inertial_map¶
- property moving_mesh_logical_to_grid_map¶
- property name¶
- property stationary_map¶
- class spectre.Domain._Pybindings.Block3D¶
- has_distorted_frame(self: spectre.Domain._Pybindings.Block3D) bool ¶
- property id¶
- is_time_dependent(self: spectre.Domain._Pybindings.Block3D) bool ¶
- property moving_mesh_distorted_to_inertial_map¶
- property moving_mesh_grid_to_distorted_map¶
- property moving_mesh_grid_to_inertial_map¶
- property moving_mesh_logical_to_grid_map¶
- property name¶
- property stationary_map¶
- class spectre.Domain._Pybindings.BlockId¶
- get_index(self: spectre.Domain._Pybindings.BlockId) int ¶
- class spectre.Domain._Pybindings.BlockIdAndLogicalCoord1D¶
- class spectre.Domain._Pybindings.BlockIdAndLogicalCoord2D¶
- class spectre.Domain._Pybindings.BlockIdAndLogicalCoord3D¶
- class spectre.Domain._Pybindings.Domain1D¶
- property block_groups¶
- property blocks¶
- dim = 1¶
- is_time_dependent(self: spectre.Domain._Pybindings.Domain1D) bool ¶
- class spectre.Domain._Pybindings.Domain2D¶
- property block_groups¶
- property blocks¶
- dim = 2¶
- is_time_dependent(self: spectre.Domain._Pybindings.Domain2D) bool ¶
- class spectre.Domain._Pybindings.Domain3D¶
- property block_groups¶
- property blocks¶
- dim = 3¶
- is_time_dependent(self: spectre.Domain._Pybindings.Domain3D) bool ¶
- class spectre.Domain._Pybindings.ElementId1D¶
- property block_id¶
- static external_boundary_id() spectre.Domain._Pybindings.ElementId1D ¶
- id_of_child(self: spectre.Domain._Pybindings.ElementId1D, dim: int, side: spectre.Domain._Pybindings.Side) spectre.Domain._Pybindings.ElementId1D ¶
- id_of_parent(self: spectre.Domain._Pybindings.ElementId1D, dim: int) spectre.Domain._Pybindings.ElementId1D ¶
- property segment_ids¶
- class spectre.Domain._Pybindings.ElementId2D¶
- property block_id¶
- static external_boundary_id() spectre.Domain._Pybindings.ElementId2D ¶
- id_of_child(self: spectre.Domain._Pybindings.ElementId2D, dim: int, side: spectre.Domain._Pybindings.Side) spectre.Domain._Pybindings.ElementId2D ¶
- id_of_parent(self: spectre.Domain._Pybindings.ElementId2D, dim: int) spectre.Domain._Pybindings.ElementId2D ¶
- property segment_ids¶
- class spectre.Domain._Pybindings.ElementId3D¶
- property block_id¶
- static external_boundary_id() spectre.Domain._Pybindings.ElementId3D ¶
- id_of_child(self: spectre.Domain._Pybindings.ElementId3D, dim: int, side: spectre.Domain._Pybindings.Side) spectre.Domain._Pybindings.ElementId3D ¶
- id_of_parent(self: spectre.Domain._Pybindings.ElementId3D, dim: int) spectre.Domain._Pybindings.ElementId3D ¶
- property segment_ids¶
- class spectre.Domain._Pybindings.ElementLogicalCoordHolder1D¶
- property element_logical_coords¶
- property offsets¶
- class spectre.Domain._Pybindings.ElementLogicalCoordHolder2D¶
- property element_logical_coords¶
- property offsets¶
- class spectre.Domain._Pybindings.ElementLogicalCoordHolder3D¶
- property element_logical_coords¶
- property offsets¶
- spectre.Domain._Pybindings.ElementMap(*args, **kwargs)¶
Overloaded function.
ElementMap(element_id: spectre.Domain._Pybindings.ElementId1D, domain: spectre.Domain._Pybindings.Domain1D) -> spectre.Domain.CoordinateMaps._Pybindings.CoordinateMapElementLogicalToInertial1D
ElementMap(element_id: spectre.Domain._Pybindings.ElementId2D, domain: spectre.Domain._Pybindings.Domain2D) -> spectre.Domain.CoordinateMaps._Pybindings.CoordinateMapElementLogicalToInertial2D
ElementMap(element_id: spectre.Domain._Pybindings.ElementId3D, domain: spectre.Domain._Pybindings.Domain3D) -> spectre.Domain.CoordinateMaps._Pybindings.CoordinateMapElementLogicalToInertial3D
- class spectre.Domain._Pybindings.FunctionOfTime¶
- func(self: spectre.Domain._Pybindings.FunctionOfTime, t: float) Annotated[list[spectre.DataStructures._Pybindings.DataVector], FixedSize(1)] ¶
- func_and_2_derivs(self: spectre.Domain._Pybindings.FunctionOfTime, t: float) Annotated[list[spectre.DataStructures._Pybindings.DataVector], FixedSize(3)] ¶
- func_and_deriv(self: spectre.Domain._Pybindings.FunctionOfTime, t: float) Annotated[list[spectre.DataStructures._Pybindings.DataVector], FixedSize(2)] ¶
- time_bounds(self: spectre.Domain._Pybindings.FunctionOfTime) Annotated[list[float], FixedSize(2)] ¶
- class spectre.Domain._Pybindings.Side¶
Members:
Lower
Upper
- Lower = <Side.Lower: 4>¶
- Upper = <Side.Upper: 8>¶
- property name¶
- property value¶
- spectre.Domain._Pybindings.block_logical_coordinates(*args, **kwargs)¶
Overloaded function.
block_logical_coordinates(domain: Domain<1ul>, inertial_coords: spectre.DataStructures.Tensor._Pybindings.TensorIDV1Inertial, time: Optional[float], functions_of_time: Optional[dict[str, domain::FunctionsOfTime::FunctionOfTime]]) -> list[Optional[spectre.Domain._Pybindings.BlockIdAndLogicalCoord1D]]
block_logical_coordinates(domain: Domain<2ul>, inertial_coords: spectre.DataStructures.Tensor._Pybindings.TensorIDV2Inertial, time: Optional[float], functions_of_time: Optional[dict[str, domain::FunctionsOfTime::FunctionOfTime]]) -> list[Optional[spectre.Domain._Pybindings.BlockIdAndLogicalCoord2D]]
block_logical_coordinates(domain: Domain<3ul>, inertial_coords: spectre.DataStructures.Tensor._Pybindings.TensorIDV3Inertial, time: Optional[float], functions_of_time: Optional[dict[str, domain::FunctionsOfTime::FunctionOfTime]]) -> list[Optional[spectre.Domain._Pybindings.BlockIdAndLogicalCoord3D]]
- spectre.Domain._Pybindings.deserialize_domain_1d(serialized_domain: list[str]) spectre.Domain._Pybindings.Domain1D ¶
- spectre.Domain._Pybindings.deserialize_domain_2d(serialized_domain: list[str]) spectre.Domain._Pybindings.Domain2D ¶
- spectre.Domain._Pybindings.deserialize_domain_3d(serialized_domain: list[str]) spectre.Domain._Pybindings.Domain3D ¶
- spectre.Domain._Pybindings.deserialize_functions_of_time(serialized_functions_of_time: list[str]) dict[str, spectre.Domain._Pybindings.FunctionOfTime] ¶
- spectre.Domain._Pybindings.element_logical_coordinates(*args, **kwargs)¶
Overloaded function.
element_logical_coordinates(x_block_logical: spectre.DataStructures.Tensor._Pybindings.TensorID1BlockLogical, element_id: spectre.Domain._Pybindings.ElementId1D) -> Optional[spectre.DataStructures.Tensor._Pybindings.TensorID1ElementLogical]
element_logical_coordinates(element_ids: list[spectre.Domain._Pybindings.ElementId1D], block_coord_holders: list[Optional[spectre.Domain._Pybindings.BlockIdAndLogicalCoord1D]]) -> dict[spectre.Domain._Pybindings.ElementId1D, spectre.Domain._Pybindings.ElementLogicalCoordHolder1D]
element_logical_coordinates(x_block_logical: spectre.DataStructures.Tensor._Pybindings.TensorID2BlockLogical, element_id: spectre.Domain._Pybindings.ElementId2D) -> Optional[spectre.DataStructures.Tensor._Pybindings.TensorID2ElementLogical]
element_logical_coordinates(element_ids: list[spectre.Domain._Pybindings.ElementId2D], block_coord_holders: list[Optional[spectre.Domain._Pybindings.BlockIdAndLogicalCoord2D]]) -> dict[spectre.Domain._Pybindings.ElementId2D, spectre.Domain._Pybindings.ElementLogicalCoordHolder2D]
element_logical_coordinates(x_block_logical: spectre.DataStructures.Tensor._Pybindings.TensorID3BlockLogical, element_id: spectre.Domain._Pybindings.ElementId3D) -> Optional[spectre.DataStructures.Tensor._Pybindings.TensorID3ElementLogical]
element_logical_coordinates(element_ids: list[spectre.Domain._Pybindings.ElementId3D], block_coord_holders: list[Optional[spectre.Domain._Pybindings.BlockIdAndLogicalCoord3D]]) -> dict[spectre.Domain._Pybindings.ElementId3D, spectre.Domain._Pybindings.ElementLogicalCoordHolder3D]
- spectre.Domain._Pybindings.jacobian_diagnostic(*args, **kwargs)¶
Overloaded function.
jacobian_diagnostic(jacobian: spectre.DataStructures.Tensor._Pybindings.JacobianDV1ElementLogicalToGrid, grid_coords: spectre.DataStructures.Tensor._Pybindings.TensorIDV1Grid, mesh: Mesh<1ul>) -> spectre.DataStructures.Tensor._Pybindings.TensoriDV1ElementLogical
jacobian_diagnostic(jacobian: spectre.DataStructures.Tensor._Pybindings.JacobianDV2ElementLogicalToGrid, grid_coords: spectre.DataStructures.Tensor._Pybindings.TensorIDV2Grid, mesh: Mesh<2ul>) -> spectre.DataStructures.Tensor._Pybindings.TensoriDV2ElementLogical
jacobian_diagnostic(jacobian: spectre.DataStructures.Tensor._Pybindings.JacobianDV3ElementLogicalToGrid, grid_coords: spectre.DataStructures.Tensor._Pybindings.TensorIDV3Grid, mesh: Mesh<3ul>) -> spectre.DataStructures.Tensor._Pybindings.TensoriDV3ElementLogical
jacobian_diagnostic(jacobian: spectre.DataStructures.Tensor._Pybindings.JacobianDV1ElementLogicalToInertial, inertial_coords: spectre.DataStructures.Tensor._Pybindings.TensorIDV1Inertial, mesh: Mesh<1ul>) -> spectre.DataStructures.Tensor._Pybindings.TensoriDV1ElementLogical
jacobian_diagnostic(jacobian: spectre.DataStructures.Tensor._Pybindings.JacobianDV2ElementLogicalToInertial, inertial_coords: spectre.DataStructures.Tensor._Pybindings.TensorIDV2Inertial, mesh: Mesh<2ul>) -> spectre.DataStructures.Tensor._Pybindings.TensoriDV2ElementLogical
jacobian_diagnostic(jacobian: spectre.DataStructures.Tensor._Pybindings.JacobianDV3ElementLogicalToInertial, inertial_coords: spectre.DataStructures.Tensor._Pybindings.TensorIDV3Inertial, mesh: Mesh<3ul>) -> spectre.DataStructures.Tensor._Pybindings.TensoriDV3ElementLogical
- spectre.Domain._Pybindings.radially_compressed_coordinates(*args, **kwargs)¶
Overloaded function.
radially_compressed_coordinates(inertial_coords: spectre.DataStructures.Tensor._Pybindings.TensorIDV1Inertial, inner_radius: float, outer_radius: float, compression: spectre.Domain.CoordinateMaps._Pybindings.Distribution) -> spectre.DataStructures.Tensor._Pybindings.TensorIDV1Inertial
radially_compressed_coordinates(inertial_coords: spectre.DataStructures.Tensor._Pybindings.TensorIDV2Inertial, inner_radius: float, outer_radius: float, compression: spectre.Domain.CoordinateMaps._Pybindings.Distribution) -> spectre.DataStructures.Tensor._Pybindings.TensorIDV2Inertial
radially_compressed_coordinates(inertial_coords: spectre.DataStructures.Tensor._Pybindings.TensorIDV3Inertial, inner_radius: float, outer_radius: float, compression: spectre.Domain.CoordinateMaps._Pybindings.Distribution) -> spectre.DataStructures.Tensor._Pybindings.TensorIDV3Inertial
- spectre.Domain._Pybindings.serialize_domain(*args, **kwargs)¶
Overloaded function.
serialize_domain(arg0: spectre.Domain._Pybindings.Domain1D) -> list[str]
serialize_domain(arg0: spectre.Domain._Pybindings.Domain2D) -> list[str]
serialize_domain(arg0: spectre.Domain._Pybindings.Domain3D) -> list[str]
Modules