Objective function uses squared scenario error
This commit is contained in:
parent
1a1bb359d2
commit
7aa41c87d8
|
@ -165,7 +165,7 @@ double ReducedModelOptimizer::computeError(
|
||||||
const double simulationError = objectiveWeights.translational * translationalError
|
const double simulationError = objectiveWeights.translational * translationalError
|
||||||
+ objectiveWeights.rotational * rotationalError;
|
+ objectiveWeights.rotational * rotationalError;
|
||||||
assert(!std::isnan(simulationError));
|
assert(!std::isnan(simulationError));
|
||||||
return simulationError /** simulationError * scenarioWeight*/ * scenarioWeight;
|
return simulationError * simulationError * scenarioWeight * scenarioWeight;
|
||||||
}
|
}
|
||||||
|
|
||||||
//double ReducedModelOptimizer::objective(double E,double A,double J,double I2,double I3,
|
//double ReducedModelOptimizer::objective(double E,double A,double J,double I2,double I3,
|
||||||
|
|
Loading…
Reference in New Issue