bloc.boulder_plugins#
Boulder plugins for Bloc.
This package contains Bloc-specific plugins for Boulder, including output pane plugins.
Submodules#
Classes#
Summary builder that prefers external |
Functions#
|
Boulder entry-point hook ( |
Package Contents#
- bloc.boulder_plugins.register_plugins(plugins)#
Boulder entry-point hook (
boulder.pluginsgroup in pyproject.toml).Called by the
boulderCLI / GUI plugin discovery system. Registers both solver-local plugins and process-global UI singletons.- Parameters:
plugins –
BoulderPluginsinstance provided by Boulder’s discovery machinery.
- class bloc.boulder_plugins.ResDictSummaryBuilder#
Bases:
boulder.summary_builder.SummaryBuilderSummary builder that prefers external
res_dicresults.If no external results are available, it provides a basic summary from the running simulation.
- property builder_id: str#
Unique identifier for this summary builder.
- property name: str#
Human-readable name for this summary builder.
- is_compatible(context)#
Check if this builder is compatible with the given simulation context.
- Args:
context: Current context information
- Return type:
True if the builder can process this simulation,False otherwise
- build_summary(context)#
Build summary data from the simulation context.
- Args:
context: Current context information
- Returns:
Listofsummary entries,each containing- reactor (
reactor name (optional))- quantity (
quantity name)- label (
display label)- value (
numeric valueorstring)- unit (
unit string (optional))