bsu-3.0.1/src/sublibC4
- :w
These are the C-language functions
bsu-3.0.1/src/sublibF4
- These are the Fortran subroutines
bsu-3.0.1/src/sublibC
- These are C-functions which can be called by Fortran
bsu-3.0.1/src/libIBM
- The xdrfloa.c function is in libibm.a and is used to produce IBM floating point needed for the SEGY exchange format (see program bcnv.c).
bsu-3.0.1/src/subLAPACK
- This produces a static library that consists of a subset of the Lapack functions needed for a static build of BSU.
Consult these libraries to see which pre-existing subroutines might serve your needs. Your choice of programming language may depend on what is available in each language. Of course, you can always add to the subroutine libraries, so this is not the only issue.
bsu-3.0.1/src/Fort/bsegy/bmst.f
bsu-3.0.1/src/C/bsegy/cmst.c
These programs are simple examples which you can copy to a new file,
and then edit. What they do is read traces from a BSEGY data set.
As each trace is read, it is rectified with an absolute value function.
The rectified trace is output. What you will want to do is replace
the absolute value part with your own calculations. The source code
for main programs should be kept located in the appropriate bsegy
directory.
bin_PROGRAMS=
).
b). Add a filename_SOURCES=filename.c
or filename_SOURCES=filename.f
c). If you are adding to the one of the subroutine libraries, then
all you need to do to the Makefile.am in the subroutine directory is to add the name of the new
source file to the list at the top of Makefile.am.
(ie. libsubF4_la_SOURCES=
or libsubC4_la_SOURCES=
).
bsu-3.0.1
top directory and re-run configure.
make
make install
(this will install everything, so you might only want to explicitly install the executable manually).
bsu-3.0.1
|-- man
| |-- man1
| |-- man3
| |-- man5
| `-- man7
pm 2018-04-08