1 |
#ifndef __MAKE_NODES_H__ |
2 |
#define __MAKE_NODES_H__ |
3 |
|
4 |
#include "node_list.h" |
5 |
|
6 |
/* walks to the top node of the current list */ |
7 |
|
8 |
extern struct node_tag* walk_to_top( struct node_tag* walk_me ); |
9 |
|
10 |
/* handles the assignment functions */ |
11 |
|
12 |
extern struct node_tag* assign_i( char * lhs, int rhs ); |
13 |
extern struct node_tag* assign_d( char * lhs, double rhs ); |
14 |
extern struct node_tag* assign_s( char * lhs, char* rhs ); |
15 |
|
16 |
/* handles the members functions */ |
17 |
|
18 |
extern struct node_tag* members_2( int a, int b ); |
19 |
extern struct node_tag* members_3( int a, int b, int c ); |
20 |
extern struct node_tag* members_4( int a, int b, int c, int d ); |
21 |
|
22 |
/* handles the constraint funtion */ |
23 |
|
24 |
extern struct node_tag* constraint( double constraint_val ); |
25 |
|
26 |
/* handles the orientation function */ |
27 |
|
28 |
extern struct node_tag* orientation( double x, double y, double z ); |
29 |
|
30 |
/* handles the position function */ |
31 |
|
32 |
extern struct node_tag* position( double x, double y, double z ); |
33 |
|
34 |
/* handles the various block modes */ |
35 |
|
36 |
extern struct node_tag* molecule_blk( struct node_tag* stmt_list ); |
37 |
extern struct node_tag* zconstraint_blk( int index, struct node_tag* stmt_list ); |
38 |
extern struct node_tag* rigidbody_blk( int index, struct node_tag* stmt_list ); |
39 |
extern struct node_tag* atom_blk( int index, struct node_tag* stmt_list ); |
40 |
extern struct node_tag* bond_blk( int index, struct node_tag* stmt_list ); |
41 |
extern struct node_tag* bend_blk( int index, struct node_tag* stmt_list ); |
42 |
extern struct node_tag* torsion_blk( int index, struct node_tag* stmt_list ); |
43 |
extern struct node_tag* component_blk( struct node_tag* stmt_list ); |
44 |
|
45 |
#endif |