bluemira.radiation_transport.neutronics.dagmc.dagmc_converter
DAGMC converter definition.
Attributes
Classes
DAGMC converter config base model. |
|
Class representing a converter from Bluemira CAD to a DAGMC model. |
Module Contents
- class bluemira.radiation_transport.neutronics.dagmc.dagmc_converter.DAGMCConverterConfig(/, **data: Any)
Bases:
pydantic.BaseModel,abc.ABCDAGMC converter config base model.
- Parameters:
data (Any)
- converter_type: str
- abstract run_converter(shapes: collections.abc.Iterable[bluemira.geometry.base.BluemiraGeoT], names: list[str], output_dagmc_model_path: str | pathlib.Path) None
Run the converter.
- Parameters:
shapes (collections.abc.Iterable[bluemira.geometry.base.BluemiraGeoT])
names (list[str])
output_dagmc_model_path (str | pathlib.Path)
- Return type:
None
- bluemira.radiation_transport.neutronics.dagmc.dagmc_converter.T
- class bluemira.radiation_transport.neutronics.dagmc.dagmc_converter.DAGMCConverter(shapes: collections.abc.Iterable[bluemira.geometry.base.BluemiraGeoT], names: list[str], comp_mat_mapping: dict[str, str])
Bases:
abc.ABC,Generic[T]Class representing a converter from Bluemira CAD to a DAGMC model.
- Parameters:
shapes (collections.abc.Iterable[bluemira.geometry.base.BluemiraGeoT])
names (list[str])
comp_mat_mapping (dict[str, str])
- shapes
- names
- comp_mat_mapping
- abstract run(output_dagmc_model_path: str | pathlib.Path, converter_config: T) None
Run the converter.
- Parameters:
output_dagmc_model_path (str | pathlib.Path) – Path to the output DAGMC model file.
converter_config (T) – Configuration for the converter.
- Return type:
None