RadCluster
Graph-based cluster dynamics for irradiated materials
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
py_utils.core.state_layout.Block Class Reference
+ Collaboration diagram for py_utils.core.state_layout.Block:

Public Member Functions

None __post_init__ (self)
 

Static Public Attributes

str name
 
str kind
 
int length
 
Dict meta = field(default_factory=dict)
 

Detailed Description

One contiguous segment of the ODE state vector.

Attributes
----------
name : str
    Unique identifier of the block within a layout.
kind : str
    One of ``discrete``, ``bin_moment``, ``scalar``, ``aux``.
length : int
    Number of ODE entries the block occupies.
meta : dict
    Block-specific descriptors, e.g. for ``bin_moment``:
    ``n_discrete``, ``n_bins``, ``moments_per_bin``; for a
    ``discrete`` size axis: ``population``, ``n_max``.

Definition at line 38 of file state_layout.py.

Member Function Documentation

◆ __post_init__()

None py_utils.core.state_layout.Block.__post_init__ (   self)

Definition at line 60 of file state_layout.py.

Member Data Documentation

◆ kind

str py_utils.core.state_layout.Block.kind
static

Definition at line 56 of file state_layout.py.

◆ length

int py_utils.core.state_layout.Block.length
static

Definition at line 57 of file state_layout.py.

◆ meta

Dict py_utils.core.state_layout.Block.meta = field(default_factory=dict)
static

Definition at line 58 of file state_layout.py.

◆ name

str py_utils.core.state_layout.Block.name
static

Definition at line 55 of file state_layout.py.


The documentation for this class was generated from the following file: