use of org.vcell.vmicro.op.RunSimulation2DOp in project vcell by virtualcell.
the class RunSimulation2D method compute0.
@Override
protected void compute0(TaskContext context, final ClientTaskStatusSupport clientTaskStatusSupport) throws Exception {
// get input
LocalWorkspace localWorkspace = context.getLocalWorkspace();
Simulation sim = context.getData(simulation_2D);
String dataVar = context.getData(dataVarName);
// do op
RunSimulation2DOp op = new RunSimulation2DOp();
ImageTimeSeries<FloatImage> solution = op.runRefSimulation(localWorkspace, sim, dataVar, clientTaskStatusSupport);
// set output
context.setData(simTimeSeries, solution);
}
Aggregations