Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 1 addition & 36 deletions celerpy/model/output.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,49 +82,14 @@ class BihMetadata(_Model):
structure: Optional[list[dict]] = None


# orange/OrangeParamsOutput.hh
class UniverseIndexerSizes(_Model):
"""Universe indexer sizes."""

surfaces: NonNegativeInt
volumes: NonNegativeInt


# orange/OrangeParamsOutput.hh
class OrangeSizes(_Model):
"""Size properties of an ORANGE geometry."""

connectivity_records: NonNegativeInt
daughters: NonNegativeInt
fast_real3s: NonNegativeInt
local_surface_ids: NonNegativeInt
local_volume_ids: NonNegativeInt
logic_ints: NonNegativeInt
obz_records: NonNegativeInt
real_ids: NonNegativeInt
reals: NonNegativeInt
rect_arrays: NonNegativeInt
simple_units: NonNegativeInt
surface_types: NonNegativeInt
transforms: NonNegativeInt
univ_indices: NonNegativeInt
univ_types: NonNegativeInt
volume_ids: NonNegativeInt
volume_instance_ids: NonNegativeInt
volume_records: NonNegativeInt

bih: BihSizes
universe_indexer: UniverseIndexerSizes


# orange/OrangeParamsOutput.hh
class OrangeParamsOutput(_Model):
"""ORANGE geometry data structure sizes and scalars."""

_category: Literal["internal"]
_label: Literal["orange"]
scalars: OrangeScalars
sizes: OrangeSizes
sizes: dict[str, object]
bih_metadata: BihMetadata
Comment thread
sethrj marked this conversation as resolved.
tracking_logic: LogicNotation

Expand Down