pyg4ometry.fluka.card¶
Classes¶
Card class for representing a FLUKA input card. To construct |
Functions¶
|
|
|
Method to split a string in FLUKA FREE format into its components. |
|
Module Contents¶
- class pyg4ometry.fluka.card.Card(keyword, what1=None, what2=None, what3=None, what4=None, what5=None, what6=None, sdum=None)¶
Card class for representing a FLUKA input card. To construct instances from a of FLUKA input, use the fromFree or fromFixed class method for FREE and FIXED format, respectively.
- keyword¶
- what1¶
- what2¶
- what3¶
- what4¶
- what5¶
- what6¶
- sdum¶
- __repr__()¶
- toList()¶
- toFreeString(delim=', ')¶
- toFixedString()¶
- nonesToZero()¶
Return a class instance with same contents as this instance, but with all entries of None set to 0.0 instead.
- classmethod fromFree(line)¶
- classmethod fromFixed(line)¶
- pyg4ometry.fluka.card._attempt_float_coercion(string)¶
- pyg4ometry.fluka.card.freeFormatStringSplit(string)¶
Method to split a string in FLUKA FREE format into its components.
- pyg4ometry.fluka.card.main(filein)¶