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

Functions to compare and adjust field body parameters. More...

#include "global.h"
#include "interface.h"
#include "glwindow.h"
#include "glview.h"
#include "dlp_field.h"
+ Include dependency graph for dlp_comp.c:

Go to the source code of this file.

Functions

void duplicate_nbody_params (field_nth_body *new_fbody, field_nth_body *old_fbody)
 copy field body parameter list
 
void compare_body (gchar *fatom, field_nth_body *new_body, int n_body, field_nth_body *old_body, int o_body)
 compare, and if require ajdust, two lists of field body properties
 
void compare_non_bonded (gchar *fatom)
 compare non bond interaction parameters
 

Variables

field_nth_bodycomp_fbody
 

Detailed Description

Functions to compare and adjust field body parameters.

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

Function Documentation

◆ compare_body()

void compare_body ( gchar * fatom,
field_nth_body * new_body,
int n_body,
field_nth_body * old_body,
int o_body )

compare, and if require ajdust, two lists of field body properties

Parameters
fatomthe name of the field atom to search for
new_body1st list of field body property(ies)
n_bodythe number of field body in this 1st list
old_body2nd list of field body property(ies)
o_bodythe number of field body in this 2nd list

Definition at line 59 of file dlp_comp.c.

◆ compare_non_bonded()

void compare_non_bonded ( gchar * fatom)

compare non bond interaction parameters

Parameters
fatomthe name of the target field atom

Definition at line 184 of file dlp_comp.c.

◆ duplicate_nbody_params()

void duplicate_nbody_params ( field_nth_body * new_fbody,
field_nth_body * old_fbody )
extern

copy field body parameter list

Parameters
new_fbodythe body parameters to fill
old_fbodythe body parameters to duplicate

Definition at line 350 of file dlp_copy.c.

Variable Documentation

◆ comp_fbody

field_nth_body* comp_fbody

Definition at line 44 of file dlp_comp.c.