SAnsell / CombLayer

MCNP(X) project builder using C++
GNU General Public License v3.0
14 stars 13 forks source link

VacuumPipe: FlangeMat variable added #109

Closed kbat closed 4 years ago

kbat commented 4 years ago

Some TDC vacuum pipes have flanges made of different material than the pipe itself, so I have added a corresponding variable in the VacuumPipe class.

Its default value is set to the pipe material and it can be changed in the PipeGenerator with the setMat function. This method now has an additional optional argument flangeMat.

I have checked that these modifications do not change the SoftiMAX beam line geometry, where the PipeGenerator::setMat method is used.

kbat commented 4 years ago

merged from the TDC-line branch