Skip to content

Commit 8e6f0fd

Browse files
committed
updated readme.
1 parent af1ae26 commit 8e6f0fd

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,15 @@ call s%initialize(x,y,z,fcn,kx,ky,kz,iflag)
5050
call s%evaluate(xval,yval,zval,idx,idy,idz,f,iflag)
5151
call s%destroy()
5252
```
53+
Which uses the default "not-a-knot" end conditions. You can also specify the knot vectors (in this case, `tx`, `ty`, and `tz`) manually during class initialization via:
54+
55+
```Fortran
56+
type(bspline_3d) :: s
57+
call s%initialize(x,y,z,fcn,kx,ky,kz,tx,ty,tz,iflag)
58+
call s%evaluate(xval,yval,zval,idx,idy,idz,f,iflag)
59+
call s%destroy()
60+
```
61+
5362
See the examples for more details.
5463

5564
# Compiling

0 commit comments

Comments
 (0)