updated top-level README and version_decl for V4.5 (#1847)
[WRF.git] / chem / KPP / util / wkc / get_wrf_jvals.c
blob3a0ac0c53bc1a5e7480248b9e9cba1bbee040890
1 #include <stdio.h>
4 #include "protos.h"
5 #include "protos_kpp.h"
6 #include "kpp_data.h"
9 int get_wrf_jvals( )
13 knode_t * q, * member;
14 node_t *p ;
17 q = new_knode( );
18 q->next = NULL ;
19 strcpy( q->name, "WRFC_jvals" );
20 add_knode_to_end( q , &(WRFC_jvals) );
26 for ( p = Domain.fields ; p != NULL ; p = p->next )
29 if ( !strncmp( p->dname ,"PHOTR",5) )
32 /* fprintf(stdout, " %s: %s %s\n", p->dname, p->name, p->dname); */
34 member = new_knode( ) ;
35 strcpy( member->name , p->name ) ;
36 member->next = NULL ;
37 add_knode_to_end( member , &(q->members) ) ;
45 return(0) ;