view artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadFraction.java @ 6152:0587819960c3

Waterlevel differences & bed height differences: Add new model LinearInterpolated intented to unify the two very similiar calculations. The focus of the current implementation is correctness and not speed! The fact that the data sets more mostly sorted by station is not exploited. Doing so would improve performance significantly.
author Sascha L. Teichmann <teichmann@intevation.de>
date Sun, 02 Jun 2013 17:52:53 +0200
parents af13ceeba52a
children be283f9bc079
line wrap: on
line source
/* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde
 * Software engineering by Intevation GmbH
 *
 * This file is Free Software under the GNU AGPL (>=v3)
 * and comes with ABSOLUTELY NO WARRANTY! Check out the
 * documentation coming with Dive4Elements River for details.
 */

package org.dive4elements.river.artifacts.model.minfo;

import org.dive4elements.river.artifacts.model.NamedObjectImpl;


public class SedimentLoadFraction
extends NamedObjectImpl
{
    double sand;
    double fine_middle;
    double coarse;
    double susp_sand;
    double susp_sand_bed;
    double susp_sediment;
    double loadTotal;
    double total;

    public SedimentLoadFraction() {
        sand = 0d;
        fine_middle = 0d;
        coarse = 0d;
        susp_sand = 0d;
        susp_sand_bed = 0d;
        susp_sediment = 0d;
        loadTotal = 0d;
    }

    public double getSand() {
        return sand;
    }

    public void setSand(double sand) {
        this.sand = sand;
    }

    public double getFine_middle() {
        return fine_middle;
    }

    public void setFine_middle(double fine_middle) {
        this.fine_middle = fine_middle;
    }

    public double getCoarse() {
        return coarse;
    }

    public void setCoarse(double coarse) {
        this.coarse = coarse;
    }

    public double getSusp_sand() {
        return susp_sand;
    }

    public void setSusp_sand(double susp_sand) {
        this.susp_sand = susp_sand;
    }

    public double getSusp_sand_bed() {
        return susp_sand_bed;
    }

    public void setSusp_sand_bed(double susp_sand_bed) {
        this.susp_sand_bed = susp_sand_bed;
    }

    public double getSusp_sediment() {
        return susp_sediment;
    }

    public void setSusp_sediment(double susp_sediment) {
        this.susp_sediment = susp_sediment;
    }

    public double getTotal() {
        return total;
    }

    public void setTotal(double total) {
        this.total = total;
    }

    public double getLoadTotal() {
        return loadTotal;
    }

    public void setLoadTotal(double total) {
        this.loadTotal = total;
    }
}

http://dive4elements.wald.intevation.org