示例#1
0
 def test_handle_phtn_data_integer_cooling(self):
     """Tests handling of phtn_src file with numeric cooling step
     """
     with NTF() as gammaNTF:
         s2.handle_phtn_data(self.meshfile_new, self.phtnfile, 'TOTAL', '1',
                 'v', False, False, False, False, False,
                 gammas=gammaNTF.name)
示例#2
0
 def test_handle_phtn_data_string_cooling2(self):
     """Tests handling of phtn_src file with string cooling step
     """
     with NTF() as gammaNTF:
         s2.handle_phtn_data(self.meshfile_new, self.phtnfile, 'TOTAL', 
                 '1 d', 'v', False, False, False, False, False,
                 gammas=gammaNTF.name)
示例#3
0
 def test_handle_phtn_data_integer_cooling(self):
     """Tests handling of phtn_src file with numeric cooling step
     """
     with NTF() as gammaNTF:
         s2.handle_phtn_data(self.meshfile_new,
                             self.phtnfile,
                             'TOTAL',
                             '1',
                             'v',
                             False,
                             False,
                             False,
                             False,
                             False,
                             gammas=gammaNTF.name)
示例#4
0
 def test_handle_phtn_data_string_cooling2(self):
     """Tests handling of phtn_src file with string cooling step
     """
     with NTF() as gammaNTF:
         s2.handle_phtn_data(self.meshfile_new,
                             self.phtnfile,
                             'TOTAL',
                             '1 d',
                             'v',
                             False,
                             False,
                             False,
                             False,
                             False,
                             gammas=gammaNTF.name)