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 |
|
inline |
The default constructor. Does nothing.
|
inline |
|
inline |
vector< float > LSDPorewaterColumn::CalcualtePsiTransient | ( | LSDPorewaterParams & | LSDPP, |
float | Iz_over_Kz, | ||
float | t_star, | ||
float | T_star | ||
) |
This calculates transient component of Psi.
LSDPP | an LSDPorewaterParams object |
Iz_over_Kz | the infilatration rate of this response |
t_star | the dimensionless time |
T_star | the dimensionless storm duration |
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.
LSDPP | an LSDPorewaterParams object |
Iz_over_Kz | the infilatration rate of this response |
t | the time in seconds |
T | the storm duration in seconds |
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.
durations | storm durations in a vector of floats in seconds |
intensities | storm intensities, in dimensionless Iz_over_Kz |
LSDPP | is an PorewaterParams object |
t | is the dimensional time |
float LSDPorewaterColumn::CalculateResponseFunction | ( | float | t_star | ) |
This calculates the response function of the porewater to rainfall based on Iverson 2000 WRR equation 27e.
t_star | the dimensionless time |
float LSDPorewaterColumn::DepthOfFailure | ( | LSDPorewaterParams & | LSDPP, |
float | minimum_depth | ||
) |
This calcualtes the depth of failer of the column.
LSDPP | is a PorewaterParams object |
minimum_depth | the minimum depth at which falure can occur |
vector< float > LSDPorewaterColumn::F_c | ( | LSDPorewaterParams & | LSDPP | ) |
Calcualtes the friction factor from cohesion component of the factor of safety.
LSDPP | is an PorewaterParams object |
float LSDPorewaterColumn::F_f | ( | LSDPorewaterParams & | LSDPP | ) |
Calcualtes the friction factor component of the factor of safety.
LSDPP | is an PorewaterParams object |
vector< float > LSDPorewaterColumn::F_w | ( | LSDPorewaterParams & | LSDPP | ) |
Calcualtes the friction factor from pore pressure component of the factor of safety.
LSDPP | is an PorewaterParams object |
vector< float > LSDPorewaterColumn::FS | ( | LSDPorewaterParams & | LSDPP | ) |
Calcualtes the factor of safety.
LSDPP | is an PorewaterParams object |
|
inline |
|
inline |
|
inline |
|
inline |
void LSDPorewaterColumn::GetMinFS | ( | LSDPorewaterParams & | LSDPP, |
float | minimum_depth, | ||
float & | depth_of_minFS, | ||
float & | minFS | ||
) |
This finds the minimum facotr of safety in a column.
LSDPP | is a PorewaterParams object |
minimum_depth | the minimum depth at which falure can occur |
depth_of_minFS | The depth where the minimum FS occurs |
minFS | The minimum factor of safety value |
void LSDPorewaterColumn::PrintPsiToScreen | ( | ) |
this prints the pressure to screen
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.
durations | storm durations in a vector of floats in seconds |
intensities | storm intensities, in dimensionless Iz_over_Kz |
LSDPP | is a PorewaterParams object |
minimum_depth | the minimum depth at which falure can occur |