//------------------------------------------- // Constructor //-------------------------------------------- public ViewModel() { //var fm = new FEModel.FEModel(); p2pConverter = new Pix2Pix(); myFEView = new FEView(); myStructure = new StructuralModel(); }
void Start() { // Initialise the voxel grid Vector3Int gridSize = new Vector3Int(64, 10, 64); _voxelGrid = new VoxelGrid(gridSize, Vector3.zero, 1, parent: this.transform); // Set the random engine's seed Random.InitState(_randomSeed); // 46 Create the Pix2Pix inference object _pix2pix = new Pix2Pix(); }