https://github.com/SModelS/smodels
Tip revision: 2724bd0d471758d6667c78295707209f05001fa7 authored by Wolfgang Waltenberger on 31 August 2022, 10:17:02 UTC
Merge branch 'nnllfast' of git+ssh://github.com/SModelS/smodels into nnllfast
Merge branch 'nnllfast' of git+ssh://github.com/SModelS/smodels into nnllfast
Tip revision: 2724bd0
run.cpp
#include <SModelS.h>
#include <iostream>
#include <string>
/** example only */
using namespace std;
int main( int argc, char * argv[] )
{
/** initialise SModelS, load database. The first argument
* points to the SModelS config file,
* the second argument (``smodelsdir'') must point to the
* top-level directory of the SModelS installation */
SModelS smodels ( "./parameters.ini", "../" );
/** run over one single file or directory */
int ret = smodels.run ( "test.slha" );
/* return value, zero if successful */
return ret;
}