Minor fixes
This commit is contained in:
parent
032ce4a1e4
commit
cb2ab44b63
@ -8,9 +8,9 @@ dnl -----------------------------------------------
|
|||||||
dnl Check if pkg-config is installed
|
dnl Check if pkg-config is installed
|
||||||
dnl -----------------------------------------------
|
dnl -----------------------------------------------
|
||||||
|
|
||||||
PKG_PROG_PKG_CONFIG([0.10])
|
#PKG_PROG_PKG_CONFIG([0.9])
|
||||||
#The above macro still needs to be tested under Cygwin without pkg-config---but it is promising to be a better solution than the macro below.
|
#The above macro does not work if pkg-config is not installed, therefore, for the moment we stay with the solution below:
|
||||||
#m4_ifdef([PKG_CHECK_MODULES],[],AC_MSG_ERROR([Please install pkg-config before configuring musrfit!]))
|
m4_ifdef([PKG_CHECK_MODULES],[],AC_MSG_ERROR([Please install pkg-config before configuring musrfit!]))
|
||||||
|
|
||||||
dnl -----------------------------------------------
|
dnl -----------------------------------------------
|
||||||
dnl Package names and version numbers
|
dnl Package names and version numbers
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
$Id$
|
$Id$
|
||||||
|
|
||||||
based upon:
|
based upon:
|
||||||
$Id$
|
PStartupHandler.cpp
|
||||||
by Andreas Suter
|
by Andreas Suter
|
||||||
|
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
$Id$
|
$Id$
|
||||||
|
|
||||||
based upon:
|
based upon:
|
||||||
$Id$
|
PStartupHandler.h
|
||||||
by Andreas Suter
|
by Andreas Suter
|
||||||
|
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
Author: Bastian M. Wojek
|
Author: Bastian M. Wojek
|
||||||
e-mail: bastian.wojek@psi.ch
|
e-mail: bastian.wojek@psi.ch
|
||||||
|
|
||||||
2009/11/27
|
$Id$
|
||||||
|
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
@ -51,7 +51,7 @@ ClassImp(TMeanFieldsForScTrilayer)
|
|||||||
TMeanFieldsForScHalfSpace::TMeanFieldsForScHalfSpace() {
|
TMeanFieldsForScHalfSpace::TMeanFieldsForScHalfSpace() {
|
||||||
|
|
||||||
// read startup file
|
// read startup file
|
||||||
string startup_path_name("TFitPofB_startup.xml");
|
string startup_path_name("BMW_startup.xml");
|
||||||
|
|
||||||
TSAXParser *saxParser = new TSAXParser();
|
TSAXParser *saxParser = new TSAXParser();
|
||||||
BMWStartupHandler *startupHandler = new BMWStartupHandler();
|
BMWStartupHandler *startupHandler = new BMWStartupHandler();
|
||||||
@ -59,7 +59,7 @@ TMeanFieldsForScHalfSpace::TMeanFieldsForScHalfSpace() {
|
|||||||
int status (saxParser->ParseFile(startup_path_name.c_str()));
|
int status (saxParser->ParseFile(startup_path_name.c_str()));
|
||||||
// check for parse errors
|
// check for parse errors
|
||||||
if (status) { // error
|
if (status) { // error
|
||||||
cerr << endl << "**ERROR** reading/parsing TFitPofB_startup.xml failed." \
|
cerr << endl << "**ERROR** reading/parsing " << startup_path_name << " failed." \
|
||||||
<< endl << "**ERROR** Please make sure that the file exists in the local directory and it is set up correctly!" \
|
<< endl << "**ERROR** Please make sure that the file exists in the local directory and it is set up correctly!" \
|
||||||
<< endl;
|
<< endl;
|
||||||
assert(false);
|
assert(false);
|
||||||
@ -142,7 +142,7 @@ double TMeanFieldsForScHalfSpace::CalcMeanB (double E, const TLondon1D_HS& BofZ)
|
|||||||
TMeanFieldsForScSingleLayer::TMeanFieldsForScSingleLayer() {
|
TMeanFieldsForScSingleLayer::TMeanFieldsForScSingleLayer() {
|
||||||
|
|
||||||
// read startup file
|
// read startup file
|
||||||
string startup_path_name("TFitPofB_startup.xml");
|
string startup_path_name("BMW_startup.xml");
|
||||||
|
|
||||||
TSAXParser *saxParser = new TSAXParser();
|
TSAXParser *saxParser = new TSAXParser();
|
||||||
BMWStartupHandler *startupHandler = new BMWStartupHandler();
|
BMWStartupHandler *startupHandler = new BMWStartupHandler();
|
||||||
@ -150,7 +150,7 @@ TMeanFieldsForScSingleLayer::TMeanFieldsForScSingleLayer() {
|
|||||||
int status (saxParser->ParseFile(startup_path_name.c_str()));
|
int status (saxParser->ParseFile(startup_path_name.c_str()));
|
||||||
// check for parse errors
|
// check for parse errors
|
||||||
if (status) { // error
|
if (status) { // error
|
||||||
cerr << endl << "**ERROR** reading/parsing TFitPofB_startup.xml failed." \
|
cerr << endl << "**ERROR** reading/parsing " << startup_path_name << " failed." \
|
||||||
<< endl << "**ERROR** Please make sure that the file exists in the local directory and it is set up correctly!" \
|
<< endl << "**ERROR** Please make sure that the file exists in the local directory and it is set up correctly!" \
|
||||||
<< endl;
|
<< endl;
|
||||||
assert(false);
|
assert(false);
|
||||||
@ -241,7 +241,7 @@ double TMeanFieldsForScSingleLayer::CalcMeanB (double E, const vector<double>& i
|
|||||||
TMeanFieldsForScBilayer::TMeanFieldsForScBilayer() {
|
TMeanFieldsForScBilayer::TMeanFieldsForScBilayer() {
|
||||||
|
|
||||||
// read startup file
|
// read startup file
|
||||||
string startup_path_name("TFitPofB_startup.xml");
|
string startup_path_name("BMW_startup.xml");
|
||||||
|
|
||||||
TSAXParser *saxParser = new TSAXParser();
|
TSAXParser *saxParser = new TSAXParser();
|
||||||
BMWStartupHandler *startupHandler = new BMWStartupHandler();
|
BMWStartupHandler *startupHandler = new BMWStartupHandler();
|
||||||
@ -249,7 +249,7 @@ TMeanFieldsForScBilayer::TMeanFieldsForScBilayer() {
|
|||||||
int status (saxParser->ParseFile(startup_path_name.c_str()));
|
int status (saxParser->ParseFile(startup_path_name.c_str()));
|
||||||
// check for parse errors
|
// check for parse errors
|
||||||
if (status) { // error
|
if (status) { // error
|
||||||
cerr << endl << "**ERROR** reading/parsing TFitPofB_startup.xml failed." \
|
cerr << endl << "**ERROR** reading/parsing " << startup_path_name << " failed." \
|
||||||
<< endl << "**ERROR** Please make sure that the file exists in the local directory and it is set up correctly!" \
|
<< endl << "**ERROR** Please make sure that the file exists in the local directory and it is set up correctly!" \
|
||||||
<< endl;
|
<< endl;
|
||||||
assert(false);
|
assert(false);
|
||||||
@ -344,7 +344,7 @@ double TMeanFieldsForScBilayer::CalcMeanB (double E, const vector<double>& inter
|
|||||||
TMeanFieldsForScTrilayer::TMeanFieldsForScTrilayer() {
|
TMeanFieldsForScTrilayer::TMeanFieldsForScTrilayer() {
|
||||||
|
|
||||||
// read startup file
|
// read startup file
|
||||||
string startup_path_name("TFitPofB_startup.xml");
|
string startup_path_name("BMW_startup.xml");
|
||||||
|
|
||||||
TSAXParser *saxParser = new TSAXParser();
|
TSAXParser *saxParser = new TSAXParser();
|
||||||
BMWStartupHandler *startupHandler = new BMWStartupHandler();
|
BMWStartupHandler *startupHandler = new BMWStartupHandler();
|
||||||
@ -352,7 +352,7 @@ TMeanFieldsForScTrilayer::TMeanFieldsForScTrilayer() {
|
|||||||
int status (saxParser->ParseFile(startup_path_name.c_str()));
|
int status (saxParser->ParseFile(startup_path_name.c_str()));
|
||||||
// check for parse errors
|
// check for parse errors
|
||||||
if (status) { // error
|
if (status) { // error
|
||||||
cerr << endl << "**ERROR** reading/parsing TFitPofB_startup.xml failed." \
|
cerr << endl << "**ERROR** reading/parsing " << startup_path_name << " failed." \
|
||||||
<< endl << "**ERROR** Please make sure that the file exists in the local directory and it is set up correctly!" \
|
<< endl << "**ERROR** Please make sure that the file exists in the local directory and it is set up correctly!" \
|
||||||
<< endl;
|
<< endl;
|
||||||
assert(false);
|
assert(false);
|
||||||
@ -449,7 +449,7 @@ double TMeanFieldsForScTrilayer::CalcMeanB (double E, const vector<double>& inte
|
|||||||
TMeanFieldsForScTrilayerWithInsulator::TMeanFieldsForScTrilayerWithInsulator() {
|
TMeanFieldsForScTrilayerWithInsulator::TMeanFieldsForScTrilayerWithInsulator() {
|
||||||
|
|
||||||
// read startup file
|
// read startup file
|
||||||
string startup_path_name("TFitPofB_startup.xml");
|
string startup_path_name("BMW_startup.xml");
|
||||||
|
|
||||||
TSAXParser *saxParser = new TSAXParser();
|
TSAXParser *saxParser = new TSAXParser();
|
||||||
BMWStartupHandler *startupHandler = new BMWStartupHandler();
|
BMWStartupHandler *startupHandler = new BMWStartupHandler();
|
||||||
@ -457,7 +457,7 @@ TMeanFieldsForScTrilayerWithInsulator::TMeanFieldsForScTrilayerWithInsulator() {
|
|||||||
int status (saxParser->ParseFile(startup_path_name.c_str()));
|
int status (saxParser->ParseFile(startup_path_name.c_str()));
|
||||||
// check for parse errors
|
// check for parse errors
|
||||||
if (status) { // error
|
if (status) { // error
|
||||||
cerr << endl << "**ERROR** reading/parsing TFitPofB_startup.xml failed." \
|
cerr << endl << "**ERROR** reading/parsing " << startup_path_name << " failed." \
|
||||||
<< endl << "**ERROR** Please make sure that the file exists in the local directory and it is set up correctly!" \
|
<< endl << "**ERROR** Please make sure that the file exists in the local directory and it is set up correctly!" \
|
||||||
<< endl;
|
<< endl;
|
||||||
assert(false);
|
assert(false);
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
Author: Bastian M. Wojek
|
Author: Bastian M. Wojek
|
||||||
e-mail: bastian.wojek@psi.ch
|
e-mail: bastian.wojek@psi.ch
|
||||||
|
|
||||||
2009/11/27
|
$Id$
|
||||||
|
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
Author: Bastian M. Wojek
|
Author: Bastian M. Wojek
|
||||||
e-mail: bastian.wojek@psi.ch
|
e-mail: bastian.wojek@psi.ch
|
||||||
|
|
||||||
2009/11/27
|
$Id$
|
||||||
|
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user