public SubJobResult GetEmptySubJobResult() { if (_emptySubJobResult == null) { int size = FGenerator.BLOCK_WIDTH * FGenerator.BLOCK_HEIGHT; uint iterationCount = 0; _emptySubJobResult = SubJobResult.GetEmptySubJobResult(size, iterationCount, InstanceNum, true); } SubJobResult.ClearSubJobResult(_emptySubJobResult); return(_emptySubJobResult); }
private SubJobResult GetEmptySubJobResult(KPoint dummy) { if (_emptySubJobResult == null) { int size = FGenerator.BLOCK_WIDTH * FGenerator.BLOCK_HEIGHT; string instanceName = "MainJob"; _emptySubJobResult = SubJobResult.GetEmptySubJobResult(size, instanceName, includeZValuesOnRead: false); } SubJobResult.ClearSubJobResult(_emptySubJobResult); return(_emptySubJobResult); }