atomes 1.1.16
atomes: an atomic scale modeling tool box
Loading...
Searching...
No Matches
project.c File Reference

Project management functions. More...

#include "global.h"
#include "glview.h"
#include "callbacks.h"
#include "interface.h"
#include "bind.h"
+ Include dependency graph for project.c:

Go to the source code of this file.

Functions

void save_pos_ (int *nat, int lot[*nat], int *num, double xpos[*num], double ypos[*num], double zpos[*num])
 retrieve atomic coordinates from Fortran90
 
void send_steps_ (int *steps)
 retrieve the number of MD steps from Fortran90
 
projectget_project_by_id (int p)
 get project pointer using id number
 

Variables

workspace workzone
 
projectactive_project = NULL
 
chemical_dataactive_chem = NULL
 
coord_infoactive_coord = NULL
 
cell_infoactive_cell = NULL
 
box_infoactive_box = NULL
 
imageactive_image = NULL
 
glwinactive_glwin = NULL
 
projectopengl_project = NULL
 

Detailed Description

Project management functions.

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 project.c.

Function Documentation

◆ get_project_by_id()

project * get_project_by_id ( int p)

get project pointer using id number

Parameters
pthe id number

Definition at line 120 of file project.c.

◆ save_pos_()

void save_pos_ ( int * nat,
int lot[ *nat],
int * num,
double xpos[ *num],
double ypos[ *num],
double zpos[ *num] )

retrieve atomic coordinates from Fortran90

Parameters
natNumber of atoms
lotList of chemical species by atoms
numNumber of coordinates (NA x NS)
xposx coordinates
yposy coordinates
zposz coordinates

Definition at line 68 of file project.c.

◆ send_steps_()

void send_steps_ ( int * steps)

retrieve the number of MD steps from Fortran90

Parameters
stepsthe number of MD steps

Definition at line 108 of file project.c.

Variable Documentation

◆ active_box

box_info* active_box = NULL

Definition at line 51 of file project.c.

◆ active_cell

cell_info* active_cell = NULL

Definition at line 50 of file project.c.

◆ active_chem

chemical_data* active_chem = NULL

Definition at line 48 of file project.c.

◆ active_coord

coord_info* active_coord = NULL

Definition at line 49 of file project.c.

◆ active_glwin

glwin* active_glwin = NULL

Definition at line 53 of file project.c.

◆ active_image

image* active_image = NULL

Definition at line 52 of file project.c.

◆ active_project

project* active_project = NULL

Definition at line 47 of file project.c.

◆ opengl_project

project* opengl_project = NULL

Definition at line 54 of file project.c.

◆ workzone

workspace workzone

Definition at line 46 of file project.c.