SNOWPACK 20240717.43bd1bf
LayerData Class Reference

Detailed Description

Parameters of the different layers of the snowpack.

The layers form a vector within the SSdata (profile) data structure. This is only used by SN_SNOWSOIL_DATA and filled in the plugins

#include <DataClasses.h>

Public Member Functions

 LayerData ()
 
const std::string toString () const
 

Public Attributes

mio::Date depositionDate
 Date of deposition (mainly used for snow layers) More...
 
double hl
 The thickness of the layer in m. More...
 
size_t ne
 Number of finite elements in the the layer (hl/ne defines elm. size) More...
 
double tl
 Temperature at the top of the layer in K. More...
 
double phiSoil
 Volumetric soil content in %. More...
 
double phiIce
 Volumetric ice content in %. More...
 
double phiIceReservoir
 Volumetric ice reservoir content in %. More...
 
double phiIceReservoirCumul
 Volumetric cumulated ice reservoir content in %. More...
 
double phiWater
 Volumetric water content in %. More...
 
double phiWaterPref
 Volumetric preferential water content in %. More...
 
double phiVoids
 Volumetric void content in %. More...
 
std::vector< double > cSoil
 Solute concentrations in Soil. More...
 
std::vector< double > cIce
 Solute concentrations in Ice. More...
 
std::vector< double > cWater
 Solute concentrations in Water. More...
 
std::vector< double > cVoids
 Solute concentrations in Air. More...
 
double SoilRho
 Density of soil in kg m-3. More...
 
double SoilK
 Conductivity of soil. More...
 
double SoilC
 Heat Capacity of soil. More...
 
double rg
 Micro-structure : Grainsize in mm. More...
 
double sp
 Micro-structure : Sphericity. More...
 
double dd
 Micro-structure : Dendricity. More...
 
double rb
 Micro-structure : Bond Radius in mm. More...
 
unsigned short int mk
 Micro-structure : Marker. More...
 
double hr
 Surface hoar Mass in kg m-2. More...
 
double CDot
 Stress rate (Pa s-1), that is the LAST overload change rate. More...
 
double metamo
 keep track of metamorphism More...
 
double salinity
 bulk salinity (g/kg) More...
 
double h
 capillary pressure head (m) More...
 
double dsm
 dry snow metamorphism factor More...
 

Friends

std::ostream & operator<< (std::ostream &os, const LayerData &data)
 
std::istream & operator>> (std::istream &is, LayerData &data)
 

Constructor & Destructor Documentation

◆ LayerData()

LayerData::LayerData ( )

Member Function Documentation

◆ toString()

const std::string LayerData::toString ( ) const

Friends And Related Function Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  os,
const LayerData data 
)
friend

◆ operator>>

std::istream & operator>> ( std::istream &  is,
LayerData data 
)
friend

Member Data Documentation

◆ CDot

double LayerData::CDot

Stress rate (Pa s-1), that is the LAST overload change rate.

◆ cIce

std::vector<double> LayerData::cIce

Solute concentrations in Ice.

◆ cSoil

std::vector<double> LayerData::cSoil

Solute concentrations in Soil.

◆ cVoids

std::vector<double> LayerData::cVoids

Solute concentrations in Air.

◆ cWater

std::vector<double> LayerData::cWater

Solute concentrations in Water.

◆ dd

double LayerData::dd

Micro-structure : Dendricity.

◆ depositionDate

mio::Date LayerData::depositionDate

Date of deposition (mainly used for snow layers)

◆ dsm

double LayerData::dsm

dry snow metamorphism factor

◆ h

double LayerData::h

capillary pressure head (m)

◆ hl

double LayerData::hl

The thickness of the layer in m.

◆ hr

double LayerData::hr

Surface hoar Mass in kg m-2.

◆ metamo

double LayerData::metamo

keep track of metamorphism

◆ mk

unsigned short int LayerData::mk

Micro-structure : Marker.

◆ ne

size_t LayerData::ne

Number of finite elements in the the layer (hl/ne defines elm. size)

◆ phiIce

double LayerData::phiIce

Volumetric ice content in %.

◆ phiIceReservoir

double LayerData::phiIceReservoir

Volumetric ice reservoir content in %.

◆ phiIceReservoirCumul

double LayerData::phiIceReservoirCumul

Volumetric cumulated ice reservoir content in %.

◆ phiSoil

double LayerData::phiSoil

Volumetric soil content in %.

◆ phiVoids

double LayerData::phiVoids

Volumetric void content in %.

◆ phiWater

double LayerData::phiWater

Volumetric water content in %.

◆ phiWaterPref

double LayerData::phiWaterPref

Volumetric preferential water content in %.

◆ rb

double LayerData::rb

Micro-structure : Bond Radius in mm.

◆ rg

double LayerData::rg

Micro-structure : Grainsize in mm.

◆ salinity

double LayerData::salinity

bulk salinity (g/kg)

◆ SoilC

double LayerData::SoilC

Heat Capacity of soil.

◆ SoilK

double LayerData::SoilK

Conductivity of soil.

◆ SoilRho

double LayerData::SoilRho

Density of soil in kg m-3.

◆ sp

double LayerData::sp

Micro-structure : Sphericity.

◆ tl

double LayerData::tl

Temperature at the top of the layer in K.


The documentation for this class was generated from the following files: