Skip to content
Snippets Groups Projects
Commit d337def0 authored by Laura Stengel's avatar Laura Stengel
Browse files

print also max gamma_f now

parent 61b4efce
No related branches found
No related tags found
1 merge request!260i..
......@@ -83,13 +83,17 @@ void IElasticity::Finalize(Vectors &vecs) {
GetInvariant(vecs[0], vecs[2]);
}
void IElasticity::CalculateAndPrintMinGammaF() const{
void IElasticity::CalculateAndPrintMinMaxGammaF() const{
if (gammaEvaluation.empty()) THROW("gammaEvaluation is empty, should not be used!")
double max_gamma = gammaEvaluation[0][0];
double min_gamma = gammaEvaluation[0][0];
for (VectorField v : gammaEvaluation){
min_gamma = std::min(min_gamma, v[0]);
max_gamma = std::max(max_gamma, v[0]);
}
vout(0) << "minimal value of gamma_f is " << min_gamma << endl ;
vout(0) << "maximal value of gamma_f is " << max_gamma << endl ;
}
void IElasticity::PointEvaluationGamma(const std::string &varname, const vector<Point> &point) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment