2388 |
return RelationEvaluateResidualGradient(r, residual, gradient); |
return RelationEvaluateResidualGradient(r, residual, gradient); |
2389 |
} |
} |
2390 |
|
|
2391 |
|
if(reltype == e_blackbox){ |
2392 |
|
return BlackBoxCalcResidGrad(i, residual, gradient, r); |
2393 |
|
} |
2394 |
|
|
2395 |
assert(reltype >= TOK_REL_TYPE_LOW && reltype <= TOK_REL_TYPE_HIGH); |
assert(reltype >= TOK_REL_TYPE_LOW && reltype <= TOK_REL_TYPE_HIGH); |
2396 |
ERROR_REPORTER_HERE(ASC_PROG_ERR,"reltype not implemented"); |
ERROR_REPORTER_HERE(ASC_PROG_ERR,"reltype %d not implemented",reltype); |
2397 |
return 1; |
return 1; |
2398 |
} |
} |
2399 |
|
|