CAM
mathfuncmod Module Reference

Data Types

interface  apvb
 
interface  cumsum
 
type  lom_type
 
interface  swap
 

Functions/Subroutines

integer function, public countelm (ibeg, iend, igap)
 
subroutine apvb_s (a, brr, sgn)
 
subroutine apvb_v (a, brr, sgn)
 
real(r8) function, public heviside (x)
 
subroutine swap_i (a, b)
 
subroutine swap_r (a, b)
 
subroutine swap_rv (a, b, betr_status)
 
real(r8) function, dimension(2), public minmax (x)
 
subroutine cumsum_v (bstatus, x, y)
 
subroutine cumsum_m (bstatus, x, y, idim)
 
subroutine, public cumdif (x, y, bstatus)
 
subroutine, public diff (x, y, bstatus)
 
real(r8) function, public safe_div (a, b, eps)
 
real(r8) function, public dot_sum (x, y, bstatus)
 
integer function, public addone (a)
 
subroutine, public asc_sort_vec (zvec)
 
logical function, public is_bounded (x, xl, xr)
 
real(r8) function, public minp (p, v, bstatus)
 
subroutine, public pd_decomp (m, n, A, AP, AD, bstatus)
 
character(len=32) function, public num2str (a, fmt)
 
subroutine calc_state_pscal (this, nprimvars, dtime, ystate, p_dt, d_dt, pscal, lneg, bstatus)
 
subroutine calc_reaction_rscal (this, nprimvars, nr, pscal, cascade_matrixd, rscal, bstatus)
 
subroutine apply_reaction_rscal (this, nr, rscal, reaction_rates)
 
real(r8) function, public fpmax (inval)
 
logical function, public bisnan (inval)
 

Variables

character(len= *), parameter mod_filename = __FILE__
 

Function/Subroutine Documentation

◆ addone()

integer function, public mathfuncmod::addone ( integer, intent(inout)  a)
Here is the caller graph for this function:

◆ apply_reaction_rscal()

subroutine mathfuncmod::apply_reaction_rscal ( class(lom_type), intent(in)  this,
integer, intent(in)  nr,
real(r8), dimension(1:nr), intent(in)  rscal,
real(r8), dimension(1:nr), intent(inout)  reaction_rates 
)

◆ apvb_s()

subroutine mathfuncmod::apvb_s ( real(r8), intent(inout)  a,
real(r8), intent(in)  brr,
real(r8), intent(in), optional  sgn 
)
private

◆ apvb_v()

subroutine mathfuncmod::apvb_v ( real(r8), intent(inout)  a,
real(r8), dimension(:), intent(in)  brr,
real(r8), intent(in), optional  sgn 
)
private

◆ asc_sort_vec()

subroutine, public mathfuncmod::asc_sort_vec ( real(r8), dimension(:), intent(inout)  zvec)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ bisnan()

logical function, public mathfuncmod::bisnan ( real(r8), intent(in)  inval)
Here is the caller graph for this function:

◆ calc_reaction_rscal()

subroutine mathfuncmod::calc_reaction_rscal ( class(lom_type), intent(in)  this,
integer, intent(in)  nprimvars,
integer, intent(in)  nr,
real(r8), dimension(1:nprimvars), intent(in)  pscal,
real(r8), dimension(1:nprimvars, 1:nr), intent(in)  cascade_matrixd,
real(r8), dimension(1:nr), intent(out)  rscal,
type(betr_status_type), intent(out)  bstatus 
)
Here is the call graph for this function:

◆ calc_state_pscal()

subroutine mathfuncmod::calc_state_pscal ( class(lom_type), intent(in)  this,
integer, intent(in)  nprimvars,
real(r8), intent(in)  dtime,
real(r8), dimension(1:nprimvars), intent(in)  ystate,
real(r8), dimension(1:nprimvars), intent(in)  p_dt,
real(r8), dimension(1:nprimvars), intent(in)  d_dt,
real(r8), dimension(1:nprimvars), intent(out)  pscal,
logical, intent(out)  lneg,
type(betr_status_type), intent(out)  bstatus 
)
private

◆ countelm()

integer function, public mathfuncmod::countelm ( integer, intent(in)  ibeg,
integer, intent(in)  iend,
integer, intent(in), optional  igap 
)
Here is the caller graph for this function:

◆ cumdif()

subroutine, public mathfuncmod::cumdif ( real(r8), dimension(:), intent(in)  x,
real(r8), dimension(:), intent(out)  y,
type(betr_status_type), intent(out)  bstatus 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cumsum_m()

subroutine mathfuncmod::cumsum_m ( type(betr_status_type), intent(out)  bstatus,
real(r8), dimension(:,:), intent(in)  x,
real(r8), dimension(:,:), intent(out)  y,
integer, intent(in), optional  idim 
)
Here is the call graph for this function:

◆ cumsum_v()

subroutine mathfuncmod::cumsum_v ( type(betr_status_type), intent(out)  bstatus,
real(r8), dimension(:), intent(in)  x,
real(r8), dimension(:), intent(out)  y 
)
private
Here is the caller graph for this function:

◆ diff()

subroutine, public mathfuncmod::diff ( real(r8), dimension(:), intent(in)  x,
real(r8), dimension(:), intent(out)  y,
type(betr_status_type), intent(out)  bstatus 
)
Here is the caller graph for this function:

◆ dot_sum()

real(r8) function, public mathfuncmod::dot_sum ( real(r8), dimension(:), intent(in)  x,
real(r8), dimension(:), intent(in)  y,
type(betr_status_type), intent(out), optional  bstatus 
)
Here is the caller graph for this function:

◆ fpmax()

real(r8) function, public mathfuncmod::fpmax ( real(r8), intent(in)  inval)
Here is the caller graph for this function:

◆ heviside()

real(r8) function, public mathfuncmod::heviside ( real(r8), intent(in)  x)

◆ is_bounded()

logical function, public mathfuncmod::is_bounded ( real(r8), intent(in)  x,
real(r8), intent(in)  xl,
real(r8), intent(in)  xr 
)
Here is the caller graph for this function:

◆ minmax()

real(r8) function, dimension(2), public mathfuncmod::minmax ( real(r8), dimension(:), intent(in)  x)

◆ minp()

real(r8) function, public mathfuncmod::minp ( real(r8), dimension(:), intent(in)  p,
real(r8), dimension(:), intent(in)  v,
type(betr_status_type), intent(out)  bstatus 
)
Here is the caller graph for this function:

◆ num2str()

character(len=32) function, public mathfuncmod::num2str ( integer, intent(in)  a,
character(len=*), intent(in)  fmt 
)

◆ pd_decomp()

subroutine, public mathfuncmod::pd_decomp ( integer, intent(in)  m,
integer, intent(in)  n,
real(r8), dimension(1: , 1: ), intent(in)  A,
real(r8), dimension(1: , 1: ), intent(out)  AP,
real(r8), dimension(1: , 1: ), intent(out)  AD,
type(betr_status_type), intent(out)  bstatus 
)
Here is the caller graph for this function:

◆ safe_div()

real(r8) function, public mathfuncmod::safe_div ( real(r8), intent(in)  a,
real(r8), intent(in)  b,
real(r8), intent(in), optional  eps 
)
Here is the caller graph for this function:

◆ swap_i()

subroutine mathfuncmod::swap_i ( integer, intent(inout)  a,
integer, intent(inout)  b 
)
private

◆ swap_r()

subroutine mathfuncmod::swap_r ( real(r8), intent(inout)  a,
real(r8), intent(inout)  b 
)
private
Here is the caller graph for this function:

◆ swap_rv()

subroutine mathfuncmod::swap_rv ( real(r8), dimension(:), intent(inout)  a,
real(r8), dimension(:), intent(inout)  b,
type(betr_status_type), intent(out)  betr_status 
)
private

Variable Documentation

◆ mod_filename

character(len=*), parameter mathfuncmod::mod_filename = __FILE__
private