30 implicit none ;
private 59 integer,
intent(in) :: N
60 real,
dimension(:),
intent(in) :: h
61 real,
dimension(:),
intent(in) :: u
62 real,
dimension(:,:),
intent(inout) :: ppoly_E
63 real,
dimension(:,:),
intent(inout) :: ppoly_coefficients
82 ppoly_coefficients(k,1) = u0_l
83 ppoly_coefficients(k,2) = u0_r - u0_l
110 integer,
intent(in) :: N
111 real,
dimension(:),
intent(in) :: h
112 real,
dimension(:),
intent(in) :: u
113 real,
dimension(:,:),
intent(inout) :: ppoly_E
114 real,
dimension(:,:),
intent(inout) :: ppoly_coefficients
133 slope = 2.0 * ( u1 - u0 )
140 u0_r = u0 + 0.5 * slope
142 if ( (u1 - u0) * (ppoly_e(2,1) - u0_r) .LT. 0.0 )
then 143 slope = 2.0 * ( ppoly_e(2,1) - u0 )
148 if ( h0 .NE. 0.0 )
then 149 ppoly_e(1,1) = u0 - 0.5 * slope
154 ppoly_coefficients(1,1) = ppoly_e(1,1)
155 ppoly_coefficients(1,2) = ppoly_e(1,2) - ppoly_e(1,1)
166 slope = 2.0 * ( u1 - u0 )
168 u0_l = u1 - 0.5 * slope
170 if ( (u1 - u0) * (u0_l - ppoly_e(n-1,2)) .LT. 0.0 )
then 171 slope = 2.0 * ( u1 - ppoly_e(n-1,2) )
174 if ( h1 .NE. 0.0 )
then 175 ppoly_e(n,2) = u1 + 0.5 * slope
180 ppoly_coefficients(n,1) = ppoly_e(n,1)
181 ppoly_coefficients(n,2) = ppoly_e(n,2) - ppoly_e(n,1)
subroutine, public p1m_boundary_extrapolation(N, h, u, ppoly_E, ppoly_coefficients)
subroutine, public p1m_interpolation(N, h, u, ppoly_E, ppoly_coefficients)
subroutine, public average_discontinuous_edge_values(N, edge_values)
subroutine, public bound_edge_values(N, h, u, edge_values)