Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
5f64c76
add fclose to RWGGeometry constructor
Jan 20, 2019
69e9411
const hygiene in libSpherical coordinate transforms.
texnokrates Apr 5, 2019
97751ba
Prune some effectively no-op code.
texnokrates Apr 5, 2019
6403bdf
libSpherical.cc: Remove auxiliary variables to improve readability.
texnokrates May 21, 2019
78689f5
Fix scuff-tmatrix: Add missing parameter, preventing unwanted VSW sca…
texnokrates May 23, 2019
32f080f
Merge branch 'addfclose' of https://github.com/WenjieYao/scuff-em
texnokrates May 24, 2019
cb1109b
Determine version from git
texnokrates May 24, 2019
8e7562c
scuff-tmatrix: write version to output
texnokrates May 24, 2019
53c3af7
Add --always to git describe to prevent failures.
texnokrates May 24, 2019
6e29b17
caches: make the auxilliary classes names unique
texnokrates May 24, 2019
63e110a
All apps log version from config.h
texnokrates May 31, 2019
68ec604
Print version in OSUsage
texnokrates May 31, 2019
3581278
Merge branch 'log_git_version' into memoryleaks
texnokrates Jun 2, 2019
4dc57e4
Put version info into Makefile.ams
texnokrates Jun 4, 2019
cd5ad8b
Merge branch 'log_git_version' into memoryleaks
texnokrates Jun 4, 2019
f4642a4
Set μ, ε to NAN after failed interpolation & warn.
texnokrates Jun 4, 2019
5090a0c
scuff-tmatrix: skip & log invalid μ, ε early
texnokrates Jun 4, 2019
5d3f845
Fix asimuthal phase sign in GetYlm() for negative m.
texnokrates Jul 9, 2019
1fc0546
Merge branch 'GetYlm_fixsign' into memoryleaks
texnokrates Jul 9, 2019
fc3ce01
Die if trying to invoke GetWaveMatrix() with MaxwellWaves = 0.
texnokrates Jul 10, 2019
f8f2819
Merge branch 'GetWaveMatrix_throwError' into memoryleaks
texnokrates Jul 10, 2019
f99cc2a
ignore CTag files
congzlwag Apr 11, 2020
d14b6d2
Initialization of variable MD in PolModel
congzlwag Apr 14, 2020
26a4c1b
Fix array bounds in GFullTwiddle1D().
texnokrates Apr 14, 2020
2de924b
AnalyticalDGFs: fix parentheses in absolute value
texnokrates Apr 14, 2020
e24a655
Const hygiene
texnokrates Apr 14, 2020
79a950d
Minor fixes in LBWrappers (mostly input handling).
texnokrates Apr 14, 2020
487ee52
Merge branch 'fixewald' into mmn_master
texnokrates Apr 14, 2020
b6e6c86
Better detection of mesh file version.
texnokrates Apr 14, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ test-driver
*.sql
*.sqlite
.gdb_history
.tag*

# OS generated files #
######################
Expand Down
3 changes: 2 additions & 1 deletion applications/scuff-analyze/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ AM_CPPFLAGS = -I$(top_srcdir)/libs/libscuff \
-I$(top_srcdir)/libs/libSGJC \
-I$(top_srcdir)/libs/libSubstrate \
-I$(top_srcdir)/libs/libTriInt \
-I$(top_srcdir)/libs/libhrutil
-I$(top_srcdir)/libs/libhrutil \
-DVERSIONSTRING=\"$(shell git describe always --dirty)\"
6 changes: 5 additions & 1 deletion applications/scuff-analyze/scuff-analyze.cc
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@
#include <unistd.h>
#include <libhrutil.h>

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include "libscuff.h"
#include "EquivalentEdgePairs.h"

Expand Down Expand Up @@ -451,7 +455,7 @@ int main(int argc, char *argv[])
/***************************************************************/
/***************************************************************/
if (GeoFile==0 && MeshFile==0)
OSUsage(argv[0],OSArray,"either --geometry or --meshfile option must be specified");
OSUsage(argv[0], VERSION, OSArray,"either --geometry or --meshfile option must be specified");
if (GeoFile!=0 && MeshFile!=0)
ErrExit("--geometry and --meshfile options are mutually exclusive");
if (PhysicalRegion!=-1 && MeshFile==0)
Expand Down
3 changes: 2 additions & 1 deletion applications/scuff-cas2D/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ AM_CPPFLAGS = \
-I$(top_srcdir)/libs/libSGJC \
-I$(top_srcdir)/libs/libMDInterp \
-I$(top_srcdir)/libs/libMatProp \
-I$(top_srcdir)/libs/libhmat
-I$(top_srcdir)/libs/libhmat \
-DVERSIONSTRING=\"$(shell git describe always --dirty)\"
2 changes: 1 addition & 1 deletion applications/scuff-cas3D/CreateSC3Data.cc
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ void WriteFilePreamble(SC3Data *SC3D, int PreambleType)
time_t MyTime = time(0);
struct tm *MyTm=localtime(&MyTime);
strftime(DateStr,30,"%D::%T",MyTm);
fprintf(f,"# scuff-cas3D run on %s at %s\n",GetHostName(),DateStr);
fprintf(f,"# scuff-cas3D " VERSIONSTRING " run on %s at %s\n",GetHostName(),DateStr);
fprintf(f,"# data file columns: \n");
fprintf(f,"#1: transform tag\n");

Expand Down
3 changes: 2 additions & 1 deletion applications/scuff-cas3D/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ AM_CPPFLAGS = -I$(top_srcdir)/libs/libscuff \
-I$(top_srcdir)/libs/libSGJC \
-I$(top_srcdir)/libs/libSubstrate \
-I$(top_srcdir)/libs/libTriInt \
-I$(top_srcdir)/libs/libhrutil
-I$(top_srcdir)/libs/libhrutil \
-DVERSIONSTRING=\"$(shell git describe always --dirty)\"
6 changes: 5 additions & 1 deletion applications/scuff-cas3D/scuff-cas3D.cc
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
#include <stdarg.h>
#include <math.h>

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include "scuff-cas3D.h"

/***************************************************************/
Expand Down Expand Up @@ -145,7 +149,7 @@ int main(int argc, char *argv[])
/*******************************************************************/
/*******************************************************************/
if (GeoFile==0)
OSUsage(argv[0], OSArray, "--geometry option is mandatory");
OSUsage(argv[0], VERSION, OSArray, "--geometry option is mandatory");
if (!FileBase)
FileBase=vstrdup(GetFileBase(GeoFile));

Expand Down
3 changes: 2 additions & 1 deletion applications/scuff-caspol/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ AM_CPPFLAGS = -I$(top_srcdir)/libs/libscuff \
-I$(top_srcdir)/libs/libSubstrate \
-I$(top_srcdir)/libs/libTriInt \
-I$(top_srcdir)/libs/libMDInterp \
-I$(top_srcdir)/libs/libhrutil
-I$(top_srcdir)/libs/libhrutil \
-DVERSIONSTRING=\"$(shell git describe always --dirty)\"
2 changes: 2 additions & 0 deletions applications/scuff-caspol/PolModel.cc
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,8 @@ void PolModel::InitPolModel_BI(char *Atom)
return;
};

// initialize MP, otherwise will be used in PolModel::GetPolarizability w/o assignment
MP = 0;
// initialize the interpolator
PolInterp = new Interp1D(XiPoints, PolPoints, NumPoints, 1);

Expand Down
2 changes: 1 addition & 1 deletion applications/scuff-caspol/scuff-caspol.cc
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ void WriteFilePreamble(SCPData *SCPD, const char *FileName,
char TimeString[200];
strftime(TimeString,30,"%D::%T",MyTm);

fprintf(f,"# scuff-caspol running on %s (%s)\n",getenv("HOST"),TimeString);
fprintf(f,"# scuff-caspol " VERSIONSTRING " run on %s (%s)\n",getenv("HOST"),TimeString);
fprintf(f,"#\n");
fprintf(f,"# command line:\n");
fprintf(f,"#\n");
Expand Down
2 changes: 1 addition & 1 deletion applications/scuff-ldos/AnalyticalDGFs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ void HalfSpaceDGFIntegrand(const double *q, HalfSpaceData *Data,
if (TwoPointDGF)
XMatrix->GetEntriesD(nx,"3:5",XSource);

if ( abs(imag(qz*(XSource[2] + XDest[2])) > 40.0 ) )
if ( abs(imag(qz*(XSource[2] + XDest[2]))) > 40.0 )
continue;

double R[3];
Expand Down
2 changes: 1 addition & 1 deletion applications/scuff-ldos/CreateSLDData.cc
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ void WriteFilePreamble(char *FileName, int FileType, int LDim,
{
FILE *f=fopen(FileName,"a");

fprintf(f,"# scuff-ldos run on %s ",GetHostName());
fprintf(f,"# scuff-ldos " VERSIONSTRING " run on %s ",GetHostName());
fprintf(f,"%s\n",GetTimeString());
fprintf(f,"# columns: \n");

Expand Down
3 changes: 2 additions & 1 deletion applications/scuff-ldos/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ AM_CPPFLAGS = -I$(top_srcdir)/libs/libscuff \
-I$(top_srcdir)/libs/libSubstrate \
-I$(top_srcdir)/libs/libSpherical \
-I$(top_srcdir)/libs/libTriInt \
-I$(top_srcdir)/libs/libhrutil
-I$(top_srcdir)/libs/libhrutil \
-DVERSIONSTRING=\"$(shell git describe always --dirty)\"
11 changes: 8 additions & 3 deletions applications/scuff-ldos/scuff-ldos.cc
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@
#include <sys/stat.h>
#include <sys/types.h>

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <libhrutil.h>
#include <libscuff.h>
#include <libscuffInternals.h>
Expand Down Expand Up @@ -106,9 +110,9 @@ int main(int argc, char *argv[])
};
ProcessOptions(argc, argv, OSArray);
if (GeoFile==0 && (SkipBZIntegration==false) )
OSUsage(argv[0], OSArray,"--geometry option is mandatory");
OSUsage(argv[0], VERSION, OSArray,"--geometry option is mandatory");
if (nEPFiles==0)
OSUsage(argv[0], OSArray,"you must specify at least one --EPFile");
OSUsage(argv[0], VERSION, OSArray,"you must specify at least one --EPFile");
if (!FileBase)
FileBase = vstrdup(GetFileBase(GeoFile));
if (HalfSpace)
Expand Down Expand Up @@ -172,7 +176,8 @@ int main(int argc, char *argv[])

int LDim = Data->G->LDim;
if (HalfSpace && LDim!=2)
OSUsage(argv[0],OSArray,"--HalfSpace requires a 2D-periodic geometry unless you also say --SkipBZIntegration");
OSUsage(argv[0], VERSION, OSArray,
"--HalfSpace requires a 2D-periodic geometry unless you also say --SkipBZIntegration");

int NX = Data->TotalEvalPoints;
int NFun = Data->LDOSOnly ? 2 : 38; // # outputs per eval pt
Expand Down
16 changes: 10 additions & 6 deletions applications/scuff-microstrip/scuff-microstrip.cc
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@
#include <math.h>
#include <time.h>

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <libhrutil.h>
#include <libhmat.h>
#include <libscuff.h>
Expand Down Expand Up @@ -166,9 +170,9 @@ int main(int argc, char *argv[])
};
ProcessOptions(argc, argv, OSArray);
if (GeoFile==0)
OSUsage(argv[0],OSArray,"--geometry option is mandatory");
OSUsage(argv[0], VERSION, OSArray,"--geometry option is mandatory");
if (PortFile==0)
OSUsage(argv[0],OSArray,"--PortFileName option is mandatory");
OSUsage(argv[0], VERSION, OSArray,"--PortFileName option is mandatory");
if (!FileBase)
FileBase=strdup(GetFileBase(GeoFile));

Expand Down Expand Up @@ -228,13 +232,13 @@ int main(int argc, char *argv[])
/* sanity check input arguments ********************************/
/***************************************************************/
if (PCFile==0 && FreqList->N!=0 && (ZParms==0 && SParms==0) )
OSUsage(argv[0],OSArray,"--ZParameters and/or --SParameters must be specified if a frequency specification is present");
OSUsage(argv[0], VERSION, OSArray,"--ZParameters and/or --SParameters must be specified if a frequency specification is present");
if (PCFile!=0 && (ZParms!=0 || SParms!=0) )
OSUsage(argv[0],OSArray,"--ZParameters and --SParameters may not be used with --PortCurrentFile");
OSUsage(argv[0], VERSION, OSArray,"--ZParameters and --SParameters may not be used with --PortCurrentFile");
//if (PCFile!=0 && nEPFiles==0 && nFVMeshes==0)
//OSUsage(argv[0],OSArray,"--EPFile or --FVMesh must be specified if --PortCurrentFile is specified");
//OSUsage(argv[0], VERSION, OSArray,"--EPFile or --FVMesh must be specified if --PortCurrentFile is specified");
if (PCFile==0 && (nEPFiles!=0 || nFVMeshes!=0) )
OSUsage(argv[0],OSArray,"--EPFile and --FVMesh require --PortCurrentFile");
OSUsage(argv[0], VERSION, OSArray,"--EPFile and --FVMesh require --PortCurrentFile");

/***************************************************************/
/* process list of geometric transformations, if any */
Expand Down
8 changes: 6 additions & 2 deletions applications/scuff-microstrip/tests/tInterpolation.cc
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
#include <fenv.h>
#include <unistd.h>

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include "libhrutil.h"
#include "libSGJC.h"
#include "libSubstrate.h"
Expand Down Expand Up @@ -98,9 +102,9 @@ int main(int argc, char *argv[])
};
ProcessOptions(argc, argv, OSArray);
if (GeoFile==0)
OSUsage(argv[0],OSArray,"--geometry option is mandatory");
OSUsage(argv[0], VERSION, OSArray,"--geometry option is mandatory");
if (EPFile==0)
OSUsage(argv[0],OSArray,"--epfile option is mandatory");
OSUsage(argv[0], VERSION, OSArray,"--epfile option is mandatory");

RWGGeometry *G = new RWGGeometry(GeoFile);

Expand Down
4 changes: 2 additions & 2 deletions applications/scuff-neq/CreateSNEQData.cc
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ void WriteSIFluxFilePreamble(SNEQData *SNEQD, char *FileName, bool ByRegion=fals
{
FILE *f = ByRegion ? vfopen("%s.byRegion","a",FileName) : fopen(FileName,"a");
fprintf(f,"\n");
fprintf(f,"# scuff-neq run on ");
fprintf(f,"# scuff-neq " VERSIONSTRING " run on ");
fprintf(f,"%s (%s)\n",GetHostName(),GetTimeString());
fprintf(f,"# data file columns: \n");
fprintf(f,"# 1 transform tag\n");
Expand Down Expand Up @@ -217,7 +217,7 @@ SNEQData *CreateSNEQData(char *GeoFile, char *TransFile,
if (SNEQD->NumSRQs>0)
{ FILE *f=vfopen("%s.SRFlux","a",SNEQD->FileBase);
fprintf(f,"\n");
fprintf(f,"# scuff-neq run on %s (%s)\n",GetHostName(),GetTimeString());
fprintf(f,"# scuff-neq " VERSIONSTRING " run on %s (%s)\n",GetHostName(),GetTimeString());
fprintf(f,"# data file columns: \n");
fprintf(f,"# 1 transform tag\n");
fprintf(f,"# 2 omega \n");
Expand Down
3 changes: 2 additions & 1 deletion applications/scuff-neq/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ AM_CPPFLAGS = -I$(top_srcdir)/libs/libscuff \
-I$(top_srcdir)/libs/libSGJC \
-I$(top_srcdir)/libs/libSubstrate \
-I$(top_srcdir)/libs/libTriInt \
-I$(top_srcdir)/libs/libhrutil
-I$(top_srcdir)/libs/libhrutil \
-DVERSIONSTRING=\"$(shell git describe always --dirty)\"
12 changes: 8 additions & 4 deletions applications/scuff-neq/scuff-integrate.cc
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@
#include <sys/types.h>
#include <fenv.h>

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <vector>

#include <libhrutil.h>
Expand Down Expand Up @@ -225,7 +229,7 @@ int main(int argc, char *argv[])
ProcessOptions(argc, argv, OSArray);

if (DataFileName==0)
OSUsage(argv[0],OSArray,"--DataFile option is mandatory");
OSUsage(argv[0], VERSION,OSArray,"--DataFile option is mandatory");

/***************************************************************/
/* auto-detect special known file types and autoset values of */
Expand Down Expand Up @@ -290,11 +294,11 @@ int main(int argc, char *argv[])
/* sanity checks ***********************************************/
/***************************************************************/
if (NumData==0)
OSUsage(argv[0],OSArray,"you must specify at least one --DataColumn");
OSUsage(argv[0], VERSION, OSArray,"you must specify at least one --DataColumn");
if (nDataNames!=0 && nDataNames!=NumData)
OSUsage(argv[0],OSArray,"numbers of --DataNames and --DataColumns do not agree");
OSUsage(argv[0], VERSION, OSArray,"numbers of --DataNames and --DataColumns do not agree");
if (nParmNames!=0 && nParmNames!=NumParms)
OSUsage(argv[0],OSArray,"numbers of --ParmNames and --ParmColumns do not agree");
OSUsage(argv[0], VERSION, OSArray,"numbers of --ParmNames and --ParmColumns do not agree");

if (nDataNames==0)
for(int nd=0; nd<NumData; nd++)
Expand Down
7 changes: 6 additions & 1 deletion applications/scuff-neq/scuff-neq.cc
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@
#include <stdlib.h>
#include <stdarg.h>
#include <math.h>

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <BZIntegration.h>
#include "scuff-neq.h"
#include <libhrutil.h>
Expand Down Expand Up @@ -139,7 +144,7 @@ int main(int argc, char *argv[])
/*******************************************************************/
/*******************************************************************/
if (GeoFile==0)
OSUsage(argv[0], OSArray, "--geometry option is mandatory");
OSUsage(argv[0], VERSION, OSArray, "--geometry option is mandatory");
if (!FileBase)
FileBase=vstrdup(GetFileBase(GeoFile));

Expand Down
3 changes: 2 additions & 1 deletion applications/scuff-rf/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ AM_CPPFLAGS = -DSCUFF \
-I$(top_srcdir)/libs/libhmat \
-I$(top_srcdir)/libs/libSGJC \
-I$(top_srcdir)/libs/libSubstrate \
-I$(top_srcdir)/libs/libTriInt
-I$(top_srcdir)/libs/libTriInt \
-DVERSIONSTRING=\"$(shell git describe always --dirty)\"
12 changes: 6 additions & 6 deletions applications/scuff-rf/scuff-rf.cc
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ int main(int argc, char *argv[])
};
ProcessOptions(argc, argv, OSArray);
if (GeoFile==0)
OSUsage(argv[0],OSArray,"--geometry option is mandatory");
OSUsage(argv[0],VERSIONSTRING,OSArray,"--geometry option is mandatory");
if (!FileBase)
FileBase=strdup(GetFileBase(GeoFile));

Expand All @@ -152,7 +152,7 @@ int main(int argc, char *argv[])
/***************************************************************/
SetLogFileName("scuff-rf.log");
int narg;
Log("%s running on %s with arguments ",argv[0],getenv("HOST"));
Log("%s " VERSIONSTRING " running on %s with arguments ",argv[0],getenv("HOST"));
Log("%s ",argv[0]);
for(narg=1; narg<argc; narg++)
LogC("%s ",argv[narg]);
Expand All @@ -170,7 +170,7 @@ int main(int argc, char *argv[])
/* parse the port list *****************************************/
/***************************************************************/
if (PortFile==0)
OSUsage(argv[0],OSArray,"--PortFileName option is mandatory");
OSUsage(argv[0],VERSIONSTRING,OSArray,"--PortFileName option is mandatory");

int NumPorts;
RWGPort **Ports=ParsePortFile(G, PortFile, &NumPorts);
Expand Down Expand Up @@ -255,11 +255,11 @@ int main(int argc, char *argv[])
/* sanity check input arguments ********************************/
/***************************************************************/
if ( PCFile==0 && NumFreqs!=0 && (ZParameters==0 && SParameters==0) )
OSUsage(argv[0],OSArray,"--zparameters and/or --sparameters must be specified if a frequency specification is present");
OSUsage(argv[0],VERSIONSTRING,OSArray,"--zparameters and/or --sparameters must be specified if a frequency specification is present");
if (PCFile!=0 && (ZParameters!=0 || SParameters!=0) )
OSUsage(argv[0],OSArray,"--zparameters and --sparameters may not be used with --portcurrentfile");
OSUsage(argv[0],VERSIONSTRING,OSArray,"--zparameters and --sparameters may not be used with --portcurrentfile");
if (PCList!=0 && nEPFiles==0 && nFVMeshes==0)
OSUsage(argv[0],OSArray,"--EPFile or --FVMesh must be specified if --portcurrentfile is specified");
OSUsage(argv[0],VERSIONSTRING,OSArray,"--EPFile or --FVMesh must be specified if --portcurrentfile is specified");

/***************************************************************/
/* create output files *****************************************/
Expand Down
3 changes: 2 additions & 1 deletion applications/scuff-scatter/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ AM_CPPFLAGS = -DSCUFF \
-I$(top_srcdir)/libs/libSGJC \
-I$(top_srcdir)/libs/libSubstrate \
-I$(top_srcdir)/libs/libTriInt \
-I$(top_srcdir)/libs/libhrutil
-I$(top_srcdir)/libs/libhrutil \
-DVERSIONSTRING=\"$(shell git describe always --dirty)\"
4 changes: 2 additions & 2 deletions applications/scuff-scatter/OutputModules.cc
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ void ProcessEPFile(SSData *SSD, char *EPFileName)
{ char OutFileName[MAXSTR];
snprintf(OutFileName,MAXSTR,"%s.%s.%s",FileBase,GetFileBase(EPFileName),Ext[ST]);
FILE *f=fopen(OutFileName,"a");
fprintf(f,"# scuff-scatter run on %s (%s)\n",GetHostName(),GetTimeString());
fprintf(f,"# scuff-scatter " VERSIONSTRING " run on %s (%s)\n",GetHostName(),GetTimeString());
fprintf(f,"# columns: \n");
fprintf(f,"# 1,2,3 x,y,z (evaluation point coordinates)\n");
fprintf(f,"# 4 omega (angular frequency)\n");
Expand Down Expand Up @@ -345,7 +345,7 @@ void GetMoments(SSData *SSD, char *MomentFile)
/***************************************************************/
void WritePFTFilePreamble(FILE *f, char *TransformLabel, char *IFLabel)
{
fprintf(f,"# scuff-scatter run on %s (%s)\n",GetHostName(),GetTimeString());
fprintf(f,"# scuff-scatter " VERSIONSTRING " run on %s (%s)\n",GetHostName(),GetTimeString());
fprintf(f,"# data file columns: \n");
fprintf(f,"# 1 omega (rad/sec) \n");
int nc=2;
Expand Down
Loading