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

Functions to create the 'density adjustment' tab in the cell edition window. More...

#include "cell_edit.h"
+ Include dependency graph for cell_density.c:

Go to the source code of this file.

Functions

void display_density (cell_edition *cell, double vol, double dens, double adens)
 create density information widgets
 
G_MODULE_EXPORT void set_rescaling (GtkToggleButton *but, gpointer data)
 homogeneous rescaling toggle callback GTK3
 
GtkWidget * adjust_density_tab (project *this_proj)
 create the density tab
 

Detailed Description

Functions to create the 'density adjustment' tab in the cell edition window.

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

Function Documentation

◆ adjust_density_tab()

GtkWidget * adjust_density_tab ( project * this_proj)

create the density tab

Parameters
this_projthe target project

Definition at line 119 of file cell_density.c.

◆ display_density()

void display_density ( cell_edition * cell,
double vol,
double dens,
double adens )

create density information widgets

Parameters
cellthe target cell edition
volthe volume
densthe density
adensthe atomic density

Definition at line 54 of file cell_density.c.

◆ set_rescaling()

G_MODULE_EXPORT void set_rescaling ( GtkToggleButton * but,
gpointer data )

homogeneous rescaling toggle callback GTK3

Parameters
butthe GtkToggleButton sending the signal
datathe associated data pointer

Definition at line 100 of file cell_density.c.