Search in sources :

Example 1 with RunSimulation2DOp

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);
}
Also used : LocalWorkspace(org.vcell.vmicro.workflow.data.LocalWorkspace) FloatImage(cbit.vcell.VirtualMicroscopy.FloatImage) Simulation(cbit.vcell.solver.Simulation) RunSimulation2DOp(org.vcell.vmicro.op.RunSimulation2DOp)

Aggregations

FloatImage (cbit.vcell.VirtualMicroscopy.FloatImage)1 Simulation (cbit.vcell.solver.Simulation)1 RunSimulation2DOp (org.vcell.vmicro.op.RunSimulation2DOp)1 LocalWorkspace (org.vcell.vmicro.workflow.data.LocalWorkspace)1