Functions to start the reading of an atomes project file.
More...
#include "global.h"
#include "bind.h"
#include "interface.h"
#include "callbacks.h"
#include "project.h"
#include "curve.h"
#include "glview.h"
Go to the source code of this file.
|
void | alloc_curves (int c) |
| allocating curve data
|
|
void | init_box_calc () |
| initialize calculation possibilities based the periodicity
|
|
void | set_color_map_sensitive (glwin *view) |
|
void | initgr (int r) |
| initialize the curve widgets for the g(r)/g(k)
|
|
void | initsq (int r) |
| initialize the curve widgets for the s(q) / s(k) calculation
|
|
void | initbd () |
| initialize the curve widgets for the bond distribution
|
|
void | initang () |
| initialize the curve widgets for the angle distribution
|
|
void | initrng () |
| initialize the curve widgets for the ring statistics
|
|
void | initchn () |
| initialize the curve widgets for the chains statistics calculation
|
|
void | initmsd () |
| initialize the curve widgets for the MSD
|
|
void | initsh (int s) |
| initialize the curve widgets for the spherical harmonics
|
|
char * | read_string (int i, FILE *fp) |
| read a string from a file
|
|
gchar * | read_this_string (FILE *fp) |
| is there a string to read in this file ? yes do it
|
|
void | initcnames (int w, int s) |
| initialize curve namees
|
|
void | allocatoms (project *this_proj) |
| allocate project data
|
|
chemical_data * | alloc_chem_data (int spec) |
| allocate chemistry data
|
|
void | alloc_proj_data (project *this_proj, int cid) |
| allocate data
|
|
int | open_project (FILE *fp, int npi) |
| open atomes project file
|
|
Functions to start the reading of an atomes project file.
- Author
- Sébastien Le Roux sebas.nosp@m.tien.nosp@m..lero.nosp@m.ux@i.nosp@m.pcms..nosp@m.unis.nosp@m.tra.f.nosp@m.r
Definition in file open_p.c.
◆ alloc_chem_data()
allocate chemistry data
- Parameters
-
spec | the number of chemical species |
Definition at line 186 of file open_p.c.
◆ alloc_curves()
void alloc_curves |
( |
int | rid | ) |
|
|
extern |
allocating curve data
- Parameters
-
Definition at line 74 of file initc.c.
◆ alloc_proj_data()
void alloc_proj_data |
( |
project * | this_proj, |
|
|
int | cid ) |
allocate data
- Parameters
-
this_proj | the target project |
cid | Allocate chemistry data (1/0) |
Definition at line 206 of file open_p.c.
◆ allocatoms()
void allocatoms |
( |
project * | this_proj | ) |
|
allocate project data
- Parameters
-
this_proj | the target project |
Definition at line 160 of file open_p.c.
◆ init_box_calc()
initialize calculation possibilities based the periodicity
Definition at line 551 of file edit_menu.c.
◆ initang()
initialize the curve widgets for the angle distribution
Definition at line 160 of file bdcall.c.
◆ initbd()
initialize the curve widgets for the bond distribution
Definition at line 136 of file bdcall.c.
◆ initchn()
initialize the curve widgets for the chains statistics calculation
Definition at line 67 of file chainscall.c.
◆ initcnames()
void initcnames |
( |
int | w, |
|
|
int | s ) |
initialize curve namees
- Parameters
-
w | calculation id |
s | initialize spherical harmonics or not |
Definition at line 116 of file open_p.c.
◆ initgr()
initialize the curve widgets for the g(r)/g(k)
- Parameters
-
r | GR = real space, GK = FFT |
Definition at line 65 of file grcall.c.
◆ initmsd()
initialize the curve widgets for the MSD
Definition at line 56 of file msdcall.c.
◆ initrng()
initialize the curve widgets for the ring statistics
Definition at line 81 of file ringscall.c.
◆ initsh()
initialize the curve widgets for the spherical harmonics
- Parameters
-
str | initialize or not (1/0) |
Definition at line 57 of file spcall.c.
◆ initsq()
initialize the curve widgets for the s(q) / s(k) calculation
- Parameters
-
Definition at line 60 of file sqcall.c.
◆ open_project()
int open_project |
( |
FILE * | fp, |
|
|
int | npi ) |
open atomes project file
- Parameters
-
fp | the file pointer |
npi | the total number of projects in the workspace |
Definition at line 220 of file open_p.c.
◆ read_string()
char * read_string |
( |
int | i, |
|
|
FILE * | fp ) |
read a string from a file
- Parameters
-
i | the size of the string to read |
fp | the file pointer |
Definition at line 75 of file open_p.c.
◆ read_this_string()
gchar * read_this_string |
( |
FILE * | fp | ) |
|
is there a string to read in this file ? yes do it
- Parameters
-
Definition at line 95 of file open_p.c.
◆ set_color_map_sensitive()
void set_color_map_sensitive |
( |
glwin * | view | ) |
|
|
extern |