pymcnp.ptrac.history.event Subpackage

AST Classes

J_0 Class

class pymcnp.ptrac.history.event.J_0(next_type: EventType, pbl: Integer, nsr: Integer, ncl: Integer, mat: Integer)

Represents PTRAC history block j lines form #1a.

next_type

Next J line event type.

node

Number of node in track from source.

nsr

Source type.

ncl

Problem numbers of the cells.

mat

Material numbers of the cells.

J_1 Class

class pymcnp.ptrac.history.event.J_1(next_type: EventType, node: Integer, nsx_nsf_nter: Real, ntyn_mtp_angle_branch: Integer, ncl: Integer, mat: Integer)

Represents PTRAC history block j lines form #1b.

next_type

Next event type.

node

Number of node in track from source.

nsx_nsf_nter

NSR or NSF or NTER.

ntyn_mtp_angle_branch

NTYN/MTP or 13 or 15.

ncl

Problem numbers of the cells.

mat

Material numbers of the cells.

J_2 Class

class pymcnp.ptrac.history.event.J_2(next_type: EventType, node: Integer, nsr: Real, ipt: Integer, ncl: Integer, mat: Integer)

Represents PTRAC history block j lines form #2a.

next_type

Next event type.

node

Number of node in track from source.

nsr

Source type.

ipt

Particle type.

ncl

Problem numbers of the cells.

mat

Material numbers of the cells.

J_3 Class

class pymcnp.ptrac.history.event.J_3(next_type: EventType, node: Integer, nsx_nsf_nter: Integer, ntyn_mtp_angle_branch: Integer, ipt: Integer, ncl: Integer, mat: Integer)

Represents PTRAC history block j lines form #2b.

next_type

Next event type.

node

Number of node in track from source.

nsx_nsf_nter

NSR or NSF or NTER.

ntyn_mtp_angle_branch

NTYN/MTP or 13 or 15.

ipt

Particle type.

ncl

Problem numbers of the cells.

mat

Material numbers of the cells.

J_4 Class

class pymcnp.ptrac.history.event.J_4(next_type: EventType, node: Integer, nsr: Real, ncl: Integer, mat: Integer, ncp: Integer)

Represents PTRAC history block j lines form #3a.

next_type

Next event type.

node

Number of node in track from source.

nsr

Source type.

ncl

Problem numbers of the cells.

mat

Material numbers of the cells.

ncp

Count of collisions per track.

J_5 Class

class pymcnp.ptrac.history.event.J_5(next_type: EventType, node: Integer, nsx_nsf_nter: Integer, ntyn_mtp_angle_branch: Integer, ncl: Integer, mat: Integer, ncp: Integer)

Represents PTRAC history block j lines form #3b.

next_type

Next event type.

node

Number of node in track from source.

nsx_nsf_nter

NSR or NSF or NTER.

ntyn_mtp_angle_branch

NTYN/MTP or 13 or 15.

ncl

Problem numbers of the cells.

mat

Material numbers of the cells.

ncp

Count of collisions per track.

J_6 Class

class pymcnp.ptrac.history.event.J_6(next_type: EventType, node: Integer, nsr: Real, ipt: Integer, ncl: Integer, mat: Integer, ncp: Integer)

Represents PTRAC history block j lines form #4a.

next_type

Next event type.

node

Number of node in track from source.

nsr

Source type.

ipt

Particle type.

ncl

Problem numbers of the cells.

mat

Material numbers of the cells.

ncp

Count of collisions per track.

J_7 Class

class pymcnp.ptrac.history.event.J_7(next_type: EventType, node: Integer, nsx_nsf_nter: Integer, ntyn_mtp_angle_branch: Integer, ipt: Integer, ncl: Integer, mat: Integer, ncp: Integer)

Represents PTRAC history block j lines form #4b.

next_type

Next event type.

node

Number of node in track from source.

nsx_nsf_nter

NSR or NSF or NTER.

ntyn_mtp_angle_branch

NTYN/MTP or 13 or 15.

ipt

Particle type.

ncl

Problem numbers of the cells.

mat

Material numbers of the cells.

ncp

Count of collisions per track.

P_0 Class

class pymcnp.ptrac.history.event.P_0(x: Real, y: Real, z: Real)

Represents PTRAC history block p lines form #1.

x

X coordinate of the particle position.

y

Y coordinate of the particle position.

z

Z coordinate of the particle position.

P_1 Class

class pymcnp.ptrac.history.event.P_1(x: Real, y: Real, z: Real, u: Real, v: Real, w: Real, erg: Real, wgt: Real, tme: Real)

Represents PTRAC history block p lines form #2.

x

X coordinate of the particle position.

y

Y coordinate of the particle position.

z

Z coordinate of the particle position.

u

Particle direction cosine with x axis.

v

Particle direction cosine with y axis.

w

Particle direction cosine with z axis.

erg

Particle energy.

wgt

Particle weight.

tme

Time at the particles position.