source: pcp/src/init.h@ fdbf0c

Last change on this file since fdbf0c was 79290f, checked in by Frederik Heber <heber@…>, 17 years ago

config.h is included in each and every file. After trying to compile on JUMP (with xlc).

  • Property mode set to 100644
File size: 1.2 KB
Line 
1#ifndef init_h
2#define init_h
3/** \file init.h
4 * Header file for \ref init.c
5 *
6 * Contains declarations of the functions implemented in \ref init.c,
7 * enumeration value_type which is needed for ParseForParameters() and
8 * one inline function tpow() realising a "x to the power of n" where n
9 * may be also arbitrary (also negative) integer.
10 *
11 Project: ParallelCarParrinello
12 \authors Jan Hamaekers, Frederik Heber
13 \date 2000, 2006
14
15 File: init.h
16 $Id: init.h,v 1.17 2007/02/09 09:13:48 foo Exp $
17*/
18
19#ifdef HAVE_CONFIG_H
20#include <config.h>
21#endif
22
23/* Bereite mainname vor: loescht von filename von rechts nach links bis zu erstem "/" oder ganz */
24void CreateMainname(struct Problem *const P, const char* const filename);
25
26/* Einlesen der Parameterdatei */
27int ParseForParameter(int verbose, FILE *file, const char *const name, int sequential, int const xth, int const yth, enum value_type type, void *value, int repetition, enum necessity critical);
28void ReadParameters(struct Problem *const P, const char *const filename);
29void WriteParameters(struct Problem *const P, const char *const filename);
30
31void Init(struct Problem *const P);
32void InitPerturbation(struct Problem *P);
33void InitPsisValue(struct Problem *const P, int start, int end);
34
35#endif
36
Note: See TracBrowser for help on using the repository browser.