Skip to content

Commit

Permalink
for Langevin simulation results, use OdeDataManager, not PdeDataManager
Browse files Browse the repository at this point in the history
  • Loading branch information
jcschaff committed Feb 13, 2024
1 parent 366027c commit d14798b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2960,7 +2960,9 @@ public DataViewerController getDataViewerController(OutputContext outputContext,
VCSimulationIdentifier vcSimulationIdentifier = simulation.getSimulationInfo()
.getAuthoritativeVCSimulationIdentifier();
final VCDataIdentifier vcdataIdentifier = new VCSimulationDataIdentifier(vcSimulationIdentifier, jobIndex);
DataManager dataManager = getDataManager(outputContext, vcdataIdentifier, simulation.isSpatial());
boolean isSpatialData = simulation.isSpatial()
&& simulation.getSolverTaskDescription().getLangevinSimulationOptions() == null;
DataManager dataManager = getDataManager(outputContext, vcdataIdentifier, isSpatialData);
return new SimResultsViewerController(dataManager, simulation);
}

Expand Down

0 comments on commit d14798b

Please sign in to comment.