V3FIT
Main Page
Related Pages
Modules
Modules List
Module Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions/Subroutines
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
y
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Data Types List
Data Types List
Data Types
Class Hierarchy
Data Fields
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
~
Functions/Subroutines
a
b
c
d
e
f
g
i
l
m
n
p
r
s
t
u
v
x
y
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Files
File List
File Members
All
b
c
g
i
l
m
n
p
t
v
w
Functions/Subroutines
b
c
g
i
m
p
t
v
w
Variables
Enumerations
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Enumerations
Macros
Pages
LIBSTELL
Sources
Pspline
splbrk.f
1
C--------------------------------------------------------------------
2
C SPLBRK -- make a spline with a break (C0 only) at specified locn
3
C
4
SUBROUTINE
splbrk (IOPT, N, NBRK, X, Y, B, C, D)
5
C
6
C Spline the whole interval, and then respline a subinterval, saving
7
C the endpt coeffs from the original spline.
8
C
9
C Result is a spline that is C2 everywhere except C0 only at one
10
C interior break point.
11
C
12
C IOPT=0 use SPLAAN for dy/dx=0 at LHS bc
13
C IOPT=1 use SPLINE for standard bc
14
C
15
C N -- no. of data pts
16
C NBRK -- break point
17
C
18
real
X(N),Y(N),B(N),C(N),D(N)
19
C
20
if
(iopt.eq.0)
then
21
call
splaan(n, x, y, b, c, d)
22
else
23
call
spline_ez1(n, x, y, b, c, d)
24
endif
25
C
26
bsave=b(nbrk)
27
csave=c(nbrk)
28
dsave=d(nbrk)
29
C
30
call
nspline(nbrk, x, y, b, c, d)
31
C
32
b(nbrk)=bsave
33
c(nbrk)=csave
34
d(nbrk)=dsave
35
C
36
return
37
end
Generated on Thu Mar 5 2020 15:49:25 for V3FIT by
1.8.17