35 #define TF_FAPID_SFF_WTRACEFI_CC_VERSION \ 36 "TF_FAPID_SFF_WTRACEFI_CC V1.0 " 101 unsigned int nsamples=
static_cast<unsigned int>(*nsamp);
103 if (os.handlesinfo())
106 info.cs=sff::coosysID(*cs);
107 info.cx=
static_cast<double>(*c1);
108 info.cy=
static_cast<double>(*c2);
109 info.cz=
static_cast<double>(*c3);
110 info.nstacks=
static_cast<int>(*nstack);
113 if (os.handlestracefree())
115 sff::FREE tracefree=
freeblock(nline, lines, lines_len);
118 aff::LinearShape shape(0, nsamples-1, 0);
119 datrw::Tfseries series(shape, aff::SharedHeap<real>(fdata, *nsamp));
This is the interface usually expected by Fortran programs linking to libsff.a (prototypes) ...
sff::FREE freeblock(integer *nline, char *lines, ftnlen lines_len)
create C++ FREE block from Fortran FREE lines
long int integer
Fortran integer type.
This struct is used to pass WID2 line data within libfapidxx.
container for WID2 data (prototypes)
exceptions and error handling macros (prototypes)
float real
Fortran real type (single precision)
long int logical
Fortran logical type.
::fapidxx::OFileUnits ostreammanager
the global ostream manager
long int ftnlen
Fortran string size type.
a file unit interface to libdatrwxx (prototypes)
void close(const int &unit)
close the file associated with this file unit
int sff_wtracefi__(integer *lu, char *wid2line, integer *nsamp, real *fdata, integer *idata, logical *last, integer *nline, char *lines, char *cs, real *c1, real *c2, real *c3, integer *nstack, integer *ierr, ftnlen wid2line_len, ftnlen lines_len, ftnlen cs_len)
Write one trace of data with FREE block and INFO line.
some helper functions (prototypes)