ukaea/neutronics_material_maker

Add temperature support

shimwell opened this issue · 3 comments

Serpent and OpenMC material cards all for temperature to me specified, if present this information should be included

This is how it was previously done in Serpent

tmp = ' tmp ' + str(temperature_K) + ' '
#for i in [comment, comment + material_card_comment,'mat ' + material_card_name + density + tmp + color]:
#print(type(i),i)
mat_card = [comment, comment + material_card_comment,
'mat ' + material_card_name + density + tmp + color]

I shall try to get this implemented today

I think this is now fixed in the latest version 0.1.11