* XDEPENDENCY_TREE.CMN
* variables needed to manage and assess dependency tree

* created 10/1/2013


	COMMON/ XDEPENDENCY_TREE / dependency_nrows,
     .		                   dependency_status,
     .		                   dependency_status_rec,
     .				   dependency_root_level,
     .				   dependency_dflt_dset,
     .				   dependency_max_recs,
     .				   dependency_block1,
     .				   dependency_current_tree_start,
     .				   dependency_tree_mode,
     .				   dependency_tree_show_uvars,
     .				   dependency_tree_show_fvars


	INTEGER			   dependency_nrows,
     .				   dependency_status,
     .				   dependency_status_rec,
     .				   dependency_root_level,
     .				   dependency_dflt_dset,
     .				   dependency_max_recs,
     .				   dependency_block1,
     .				   dependency_current_tree_start
	LOGICAL 		   dependency_tree_mode,
     .				   dependency_tree_show_uvars,
     .				   dependency_tree_show_fvars

* number of fields needed per dependency element on the tree
	INTEGER		dependency_nfields
	PARAMETER     ( dependency_nfields = 9 )

* special flag for report of a regrid dependency, rather than a variable
	INTEGER		pcx_vtree_regrid_report
	PARAMETER     ( pcx_vtree_regrid_report = -12345 )

* dependency flag values -- ordered by increasing error severity
	INTEGER		df_defined_earlier,
     .			df_valid_aux_var, 
     .			df_valid_var, 
     .			df_unknown_grid, 
     .			df_unknown_auxvar,
     .			df_unknown_var,
     .			df_unknown_dataset, 
     .			df_syntax_error,
     .			df_recursion_error
	PARAMETER     ( df_defined_earlier = 1,
     .			df_valid_aux_var   = 2, 
     .			df_valid_var       = 3, 
     .			df_unknown_grid	   = 4, 
     .			df_unknown_auxvar  = 5,
     .			df_unknown_var     = 6,
     .			df_unknown_dataset = 7, 
     .			df_syntax_error	   = 8,
     .			df_recursion_error = 9 )
