f4enix.input.ww_gvr.utils.decompose_b2_vectors#
- f4enix.input.ww_gvr.utils.decompose_b2_vectors(b2_vectors: Vectors) tuple[Vectors, Vectors]#
Takes a Vectors object with b2 format and returns two Vectors objects, one with the coarse vectors and the other with the fine vectors.
- The b2 format of a WW MCNP file is:
[mesh_position, fine_ints, mesh_position, 1.0000, fine_ints, mesh_position, 1.0000, fine_ints, … mesh_position, 1.0000]
Coarse vectors have the format: [p1, p2, p3, …] A fine vector shows how many intervals there are between each step of the coarse vector’s points: [n1, n2, n3, …]