MCPcopy Create free account
hub / github.com/SeisSol/SeisSol / includeTensors

Function includeTensors

generated_code/vtkproject.py:44–51  ·  view source on GitHub ↗
(matricesDir, includeTensors)

Source from the content-addressed store, hash-verified

42 target=target)
43
44def 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])

Callers

nothing calls this directly

Calls 1

addMethod · 0.80

Tested by

no test coverage detected