ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/mdtools/BASS_parse/make_nodes.h
Revision: 11
Committed: Tue Jul 9 18:40:59 2002 UTC (22 years ago) by mmeineke
Content type: text/plain
File size: 1690 byte(s)
Log Message:
This commit was generated by cvs2svn to compensate for changes in r10, which
included commits to RCS files with non-trunk default branches.

File Contents

# User Rev Content
1 mmeineke 10 #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 start index stmt */
35    
36     extern struct node_tag* start_index( struct integer_list_tag* the_list );
37    
38     /* handles the various block modes */
39    
40     extern struct node_tag* molecule_blk( struct node_tag* stmt_list );
41     extern struct node_tag* atom_blk( int index, struct node_tag* stmt_list );
42     extern struct node_tag* bond_blk( int index, struct node_tag* stmt_list );
43     extern struct node_tag* bend_blk( int index, struct node_tag* stmt_list );
44     extern struct node_tag* torsion_blk( int index, struct node_tag* stmt_list );
45     extern struct node_tag* component_blk( struct node_tag* stmt_list );
46    
47     /* takes care of the integer lists */
48    
49     struct integer_list_tag* il_node( int the_int );
50     struct integer_list_tag* il_top( struct integer_list_tag* the_list );
51    
52     #endif