LSDTopoTools
 All Classes Files Functions Variables Friends Pages
Public Member Functions | Protected Attributes | List of all members
LSDPorewaterColumn Class Reference

Public Member Functions

 LSDPorewaterColumn ()
 The default constructor. Does nothing. More...
 
 LSDPorewaterColumn (vector< float > initial_Psi)
 Create a. More...
 
 LSDPorewaterColumn (LSDPorewaterParams LSDPP)
 Create a SoilHydroRaster by copying an LSDRaster. More...
 
void PrintPsiToScreen ()
 this prints the pressure to screen More...
 
float CalculateResponseFunction (float t_star)
 This calculates the response function of the porewater to rainfall based on Iverson 2000 WRR equation 27e. More...
 
vector< float > CalcualtePsiTransient (LSDPorewaterParams &LSDPP, float Iz_over_Kz, float t_star, float T_star)
 This calculates transient component of Psi. More...
 
vector< float > CalculatePsiDimensionalTimeTransient (LSDPorewaterParams &LSDPP, float t, float T, float Iz_over_Kz)
 This calculates the transient component of Psi for a given rainfall pulse using dimensional tie. More...
 
void CalculatePsiFromTimeSeries (vector< float > durations, vector< float > intensities, LSDPorewaterParams &LSDPP, float t)
 This function takes a time series of rainfall and calculates the pore pressures. More...
 
float F_f (LSDPorewaterParams &LSDPP)
 Calcualtes the friction factor component of the factor of safety. More...
 
vector< float > F_c (LSDPorewaterParams &LSDPP)
 Calcualtes the friction factor from cohesion component of the factor of safety. More...
 
vector< float > F_w (LSDPorewaterParams &LSDPP)
 Calcualtes the friction factor from pore pressure component of the factor of safety. More...
 
vector< float > FS (LSDPorewaterParams &LSDPP)
 Calcualtes the factor of safety. More...
 
float DepthOfFailure (LSDPorewaterParams &LSDPP, float minimum_depth)
 This calcualtes the depth of failer of the column. More...
 
void GetMinFS (LSDPorewaterParams &LSDPP, float minimum_depth, float &depth_of_minFS, float &minFS)
 This finds the minimum facotr of safety in a column. More...
 
void ScanTimeseriesForFailure (vector< float > durations, vector< float > intensities, LSDPorewaterParams &LSDPP, float minimum_depth, vector< float > times)
 This goes through a time series trying to see when the first failure occurs and at what depth. More...
 
vector< float > get_Psi () const
 
int get_row () const
 
int get_col () const
 
int get_node_index () const
 

Protected Attributes

vector< float > Psi
 This holds the pressure heads.
 
int row
 This has the information about where the column is.
 
int col
 
int node_index
 

Constructor & Destructor Documentation

LSDPorewaterColumn::LSDPorewaterColumn ( )
inline

The default constructor. Does nothing.

Author
SMM
Date
17/11/2016
LSDPorewaterColumn::LSDPorewaterColumn ( vector< float >  initial_Psi)
inline

Create a.

Parameters
ThisRasterThe LSDRaster to be copied
Author
SMM
Date
17/11/2016
LSDPorewaterColumn::LSDPorewaterColumn ( LSDPorewaterParams  LSDPP)
inline

Create a SoilHydroRaster by copying an LSDRaster.

Parameters
ThisRasterThe LSDRaster to be copied
Author
SMM
Date
17/11/2016

Member Function Documentation

vector< float > LSDPorewaterColumn::CalcualtePsiTransient ( LSDPorewaterParams LSDPP,
float  Iz_over_Kz,
float  t_star,
float  T_star 
)

This calculates transient component of Psi.

Parameters
LSDPPan LSDPorewaterParams object
Iz_over_Kzthe infilatration rate of this response
t_starthe dimensionless time
T_starthe dimensionless storm duration
Returns
the transient component of Psi for this storm
Author
SMM
Date
17/11/2016
vector< float > LSDPorewaterColumn::CalculatePsiDimensionalTimeTransient ( LSDPorewaterParams LSDPP,
float  t,
float  T,
float  Iz_over_Kz 
)

This calculates the transient component of Psi for a given rainfall pulse using dimensional tie.

Parameters
LSDPPan LSDPorewaterParams object
Iz_over_Kzthe infilatration rate of this response
tthe time in seconds
Tthe storm duration in seconds
Returns
the transient component of Psi for this storm
Author
SMM
Date
17/11/2016
void LSDPorewaterColumn::CalculatePsiFromTimeSeries ( vector< float >  durations,
vector< float >  intensities,
LSDPorewaterParams LSDPP,
float  t 
)

This function takes a time series of rainfall and calculates the pore pressures.

Parameters
durationsstorm durations in a vector of floats in seconds
intensitiesstorm intensities, in dimensionless Iz_over_Kz
LSDPPis an PorewaterParams object
tis the dimensional time
Author
SMM
Date
17/11/2016
float LSDPorewaterColumn::CalculateResponseFunction ( float  t_star)

This calculates the response function of the porewater to rainfall based on Iverson 2000 WRR equation 27e.

Parameters
t_starthe dimensionless time
Returns
The response function
Author
SMM
Date
17/11/2016
float LSDPorewaterColumn::DepthOfFailure ( LSDPorewaterParams LSDPP,
float  minimum_depth 
)

This calcualtes the depth of failer of the column.

Parameters
LSDPPis a PorewaterParams object
minimum_depththe minimum depth at which falure can occur
Returns
depth_of_failure This is -9999 if there is no failure
Author
SMM
Date
02/12/2016
vector< float > LSDPorewaterColumn::F_c ( LSDPorewaterParams LSDPP)

Calcualtes the friction factor from cohesion component of the factor of safety.

Parameters
LSDPPis an PorewaterParams object
Returns
F_c (a vector of floats)
Author
SMM
Date
25/11/2016
float LSDPorewaterColumn::F_f ( LSDPorewaterParams LSDPP)

Calcualtes the friction factor component of the factor of safety.

Parameters
LSDPPis an PorewaterParams object
Returns
F_f
Author
SMM
Date
25/11/2016
vector< float > LSDPorewaterColumn::F_w ( LSDPorewaterParams LSDPP)

Calcualtes the friction factor from pore pressure component of the factor of safety.

Parameters
LSDPPis an PorewaterParams object
Returns
F_w (a vector of floats)
Author
SMM
Date
25/11/2016
vector< float > LSDPorewaterColumn::FS ( LSDPorewaterParams LSDPP)

Calcualtes the factor of safety.

Parameters
LSDPPis an PorewaterParams object
Returns
FS (a vector of floats)
Author
SMM
Date
26/11/2016
int LSDPorewaterColumn::get_col ( ) const
inline
Returns
slope in radians
int LSDPorewaterColumn::get_node_index ( ) const
inline
Returns
slope in radians
vector<float> LSDPorewaterColumn::get_Psi ( ) const
inline
Returns
The vector of depths
int LSDPorewaterColumn::get_row ( ) const
inline
Returns
slope in radians
void LSDPorewaterColumn::GetMinFS ( LSDPorewaterParams LSDPP,
float  minimum_depth,
float &  depth_of_minFS,
float &  minFS 
)

This finds the minimum facotr of safety in a column.

Parameters
LSDPPis a PorewaterParams object
minimum_depththe minimum depth at which falure can occur
depth_of_minFSThe depth where the minimum FS occurs
minFSThe minimum factor of safety value
Author
SMM
Date
02/12/2016
void LSDPorewaterColumn::PrintPsiToScreen ( )

this prints the pressure to screen

Author
SMM
Date
17/11/2016
void LSDPorewaterColumn::ScanTimeseriesForFailure ( vector< float >  durations,
vector< float >  intensities,
LSDPorewaterParams LSDPP,
float  minimum_depth,
vector< float >  times 
)

This goes through a time series trying to see when the first failure occurs and at what depth.

Parameters
durationsstorm durations in a vector of floats in seconds
intensitiesstorm intensities, in dimensionless Iz_over_Kz
LSDPPis a PorewaterParams object
minimum_depththe minimum depth at which falure can occur
Author
SMM
Date
02/12/2016

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