use of cbit.vcell.math.GradientFunctionDefinition in project vcell by virtualcell.
the class DataSetControllerImpl method hasGradient.
private boolean hasGradient(Expression exp) {
boolean hasGradient = false;
FunctionInvocation[] functionInvocations = exp.getFunctionInvocations(null);
for (FunctionInvocation fi : functionInvocations) {
if (fi.getSymbolTableFunctionEntry() instanceof GradientFunctionDefinition) {
hasGradient = true;
}
}
return hasGradient;
}
Aggregations