Bsoft  2.1.0
Bernard's software package
model_neighbors.h
Go to the documentation of this file.
1 
9 #include "rwmodel.h"
10 
11 // Function prototypes
12 int model_set_neighbors(Bmodel* model, int number);
13 int model_set_neighbors(Bmodel* model, int number, double distance);
15 
rwmodel.h
Header file for reading and writing atomic model files.
model_neighbor_reciprocity
int model_neighbor_reciprocity(Bmodel *model)
Counts how many neighbors of a component also has that component as a neighbor.
Definition: model_neighbors.cpp:149
distance
double distance(vector< T1 > &v1, vector< T2 > &v2)
Definition: Vector3.h:538
Bmodel
Definition: rwmodel.h:119
model_set_neighbors
int model_set_neighbors(Bmodel *model, int number)
Sets the desired number of components as neighbors for each component.
Definition: model_neighbors.cpp:28
model
Bmodel * model
Definition: bshow.cpp:34