(matricesDir, includeTensors)
| 42 | target=target) |
| 43 | |
| 44 | def includeTensors(matricesDir, includeTensors): |
| 45 | vtkbase = parseJSONMatrixFile(f'{matricesDir}/vtkbase.json') |
| 46 | for x in vtkbase.__dict__: |
| 47 | if isinstance(vtkbase.__dict__[x], dict): |
| 48 | for y in vtkbase.__dict__[x]: |
| 49 | includeTensors.add(vtkbase.__dict__[x][y]) |
| 50 | else: |
| 51 | includeTensors.add(vtkbase.__dict__[x]) |