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

Functions to configure the restart section for the CPMD input file creation assistant. More...

#include "global.h"
#include "callbacks.h"
#include "interface.h"
#include "calc.h"
#include "cpmd.h"
+ Include dependency graph for cpmd_restart.c:

Go to the source code of this file.

Functions

void print_the_section (int s, int p, GtkTextBuffer *buffer)
 print CPMD input section
 
GtkWidget * cpmd_box (GtkWidget *box, gchar *lab, int v_space, int h_space, int dim)
 prepare a labelled box widget for the CPMD input creation assistant
 
G_MODULE_EXPORT void update_restart_parameter (GtkEntry *res, gpointer data)
 CPMD input file update restart parameter value entry callback.
 
G_MODULE_EXPORT void update_restart_check (GtkToggleButton *but, gpointer data)
 CPMD input file restart option toggle callback GTK3.
 
G_MODULE_EXPORT void changed_restart_box (GtkComboBox *box, gpointer data)
 CPMD input file change restart type.
 
GtkWidget * restart_box ()
 prepare the CPMD input preparation assistant restart widgets
 

Variables

GtkWidget * sace [2]
 
GtkWidget * trap_box [2]
 

Detailed Description

Functions to configure the restart section for the CPMD input file creation assistant.

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

Function Documentation

◆ changed_restart_box()

G_MODULE_EXPORT void changed_restart_box ( GtkComboBox * box,
gpointer data )

CPMD input file change restart type.

Parameters
boxthe GtkComboBox sending the signal
datathe associated data pointer

Definition at line 124 of file cpmd_restart.c.

◆ cpmd_box()

GtkWidget * cpmd_box ( GtkWidget * box,
gchar * lab,
int v_space,
int h_space,
int dim )
extern

prepare a labelled box widget for the CPMD input creation assistant

Parameters
boxthe GtkWidget sending the signal
labthe label
v_spacevertical spacing
h_spacehorizontal spacing
dimlabel width

Definition at line 248 of file cpmd_init.c.

◆ print_the_section()

void print_the_section ( int s,
int p,
GtkTextBuffer * buffer )
extern

print CPMD input section

Parameters
sthe section id
p0 = section preview, 1 = complete input file
bufferthe GtkTextBuffer to print into

Definition at line 695 of file cpmd_print.c.

◆ restart_box()

GtkWidget * restart_box ( )

prepare the CPMD input preparation assistant restart widgets

Definition at line 136 of file cpmd_restart.c.

◆ update_restart_check()

G_MODULE_EXPORT void update_restart_check ( GtkToggleButton * but,
gpointer data )

CPMD input file restart option toggle callback GTK3.

Parameters
butthe GtkToggleButton sending the signal
datathe associated data pointer

Definition at line 96 of file cpmd_restart.c.

◆ update_restart_parameter()

G_MODULE_EXPORT void update_restart_parameter ( GtkEntry * res,
gpointer data )

CPMD input file update restart parameter value entry callback.

Parameters
resthe GtkEntry sending the signal
datathe associated data pointer

Definition at line 59 of file cpmd_restart.c.

Variable Documentation

◆ sace

GtkWidget* sace[2]

Definition at line 74 of file cpmd_restart.c.

◆ trap_box

GtkWidget* trap_box[2]

Definition at line 75 of file cpmd_restart.c.