Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/extreme/Curve.java @ 9726:0a5239a1e46e 3.2.x
Upgrade to Log4j 2
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Wed, 02 Mar 2022 10:26:50 +0100 |
parents | af13ceeba52a |
children |
comparison
equal
deleted
inserted
replaced
9725:da398790fa32 | 9726:0a5239a1e46e |
---|---|
20 | 20 |
21 import org.apache.commons.math.analysis.interpolation.SplineInterpolator; | 21 import org.apache.commons.math.analysis.interpolation.SplineInterpolator; |
22 | 22 |
23 import org.apache.commons.math.exception.MathIllegalArgumentException; | 23 import org.apache.commons.math.exception.MathIllegalArgumentException; |
24 | 24 |
25 import org.apache.log4j.Logger; | 25 import org.apache.logging.log4j.Logger; |
26 import org.apache.logging.log4j.LogManager; | |
26 | 27 |
27 /** An extrapolating W/Q function/curve. */ | 28 /** An extrapolating W/Q function/curve. */ |
28 public class Curve | 29 public class Curve |
29 implements Serializable, Function | 30 implements Serializable, Function |
30 { | 31 { |
31 private static Logger log = Logger.getLogger(Curve.class); | 32 private static Logger log = LogManager.getLogger(Curve.class); |
32 | 33 |
33 protected double [] qs; | 34 protected double [] qs; |
34 protected double [] ws; | 35 protected double [] ws; |
35 protected String function; | 36 protected String function; |
36 protected double [] coeffs; | 37 protected double [] coeffs; |