/* This file is part of Cloudy and is copyright (C) 1978-2004 by Gary J. Ferland. * For conditions of distribution and use, see copyright notice in license.txt */ #include "cddefines.h" #include "path.h" /* This file contains the path, the location where all the cloudy data files are located. * Modify the path as set in the "char chDataPath" below, and never worry about setting * a path again. * * there are several sample paths - the first is for my pc, which runs windows and * is not commented out. * the rest are examples of setting the path on a unix box */ /* FILENAME_PATH_LENGTH is the size of the string that holds the path. The longest * string that can be held is one less than this, due to the end * end of string sentinal in C. Increase this is a larger string * is needed to hold the path on your system. * FILENAME_PATH_LENGTH is set in cddefines.h - look at that file to see what * the longest string is */ /* Comments in C: there are many sample paths below, and these are commented out. * in C a comment begins with the character string "slash star" and ends with the * string "star slash". These sentences are comments because they begin and end this * way. To make a commented part no longer commented, you need to remove both the "slash star" * and the "star slash". */ *char chDataPath[FILENAME_PATH_LENGTH]="/scisoft/tools/cloudy/data"; int lgDataPathSet=TRUE;