Skip to content

Commit a70d1ce

Browse files
committed
solver_richards.c: comment out unused variables
1 parent 43e8440 commit a70d1ce

1 file changed

Lines changed: 35 additions & 35 deletions

File tree

pfsimulator/parflow_lib/solver_richards.c

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -4691,24 +4691,24 @@ PseudoAdvanceRichards(PFModule * this_module, double start_time, /* Startin
46914691
(InstanceXtra*)PFModuleInstanceXtra(this_module);
46924692
Problem *problem = (public_xtra->problem);
46934693

4694-
int max_iterations = (public_xtra->max_iterations);
4695-
int print_satur = (public_xtra->print_satur);
4696-
int print_wells = (public_xtra->print_wells);
4694+
/* int max_iterations = (public_xtra->max_iterations); */
4695+
/* int print_satur = (public_xtra->print_satur); */
4696+
/* int print_wells = (public_xtra->print_wells); */
46974697

4698-
PFModule *problem_saturation = (instance_xtra->problem_saturation);
4699-
PFModule *phase_density = (instance_xtra->phase_density);
4700-
PFModule *select_time_step = (instance_xtra->select_time_step);
4701-
PFModule *l2_error_norm = (instance_xtra->l2_error_norm);
4702-
PFModule *nonlin_solver = (instance_xtra->nonlin_solver);
4698+
/* PFModule *problem_saturation = (instance_xtra->problem_saturation); */
4699+
/* PFModule *phase_density = (instance_xtra->phase_density); */
4700+
/* PFModule *select_time_step = (instance_xtra->select_time_step); */
4701+
/* PFModule *l2_error_norm = (instance_xtra->l2_error_norm); */
4702+
/* PFModule *nonlin_solver = (instance_xtra->nonlin_solver); */
47034703

47044704
ProblemData *problem_data = (instance_xtra->problem_data);
47054705

4706-
int start_count = ProblemStartCount(problem);
4707-
double dump_interval = ProblemDumpInterval(problem);
4706+
/* int start_count = ProblemStartCount(problem); */
4707+
/* double dump_interval = ProblemDumpInterval(problem); */
47084708

4709-
Vector *porosity = ProblemDataPorosity(problem_data);
4710-
Vector *evap_trans_sum = instance_xtra->evap_trans_sum;
4711-
Vector *overland_sum = instance_xtra->overland_sum; /* sk: Vector of outflow at the boundary */
4709+
/* Vector *porosity = ProblemDataPorosity(problem_data); */
4710+
/* Vector *evap_trans_sum = instance_xtra->evap_trans_sum; */
4711+
/* Vector *overland_sum = instance_xtra->overland_sum; /\* sk: Vector of outflow at the boundary *\/ */
47124712

47134713
if (evap_trans == NULL)
47144714
{
@@ -4718,8 +4718,8 @@ PseudoAdvanceRichards(PFModule * this_module, double start_time, /* Startin
47184718
#ifdef HAVE_OAS3
47194719
Grid *grid = (instance_xtra->grid);
47204720
Subgrid *subgrid;
4721-
Subvector *p_sub, *s_sub, *et_sub, *m_sub, *po_sub, *dz_sub;
4722-
double *pp, *sp, *et, *ms, *po_dat, *dz_dat;
4721+
/* Subvector *p_sub, *s_sub, *et_sub, *m_sub, *po_sub, *dz_sub; */
4722+
/* double *pp, *sp, *et, *ms, *po_dat, *dz_dat; */
47234723
double sw_lat = .0;
47244724
double sw_lon = .0;
47254725
#endif
@@ -4782,29 +4782,29 @@ PseudoAdvanceRichards(PFModule * this_module, double start_time, /* Startin
47824782
// #endif
47834783
//>>TSMP-PDAF internal change end
47844784

4785-
int any_file_dumped;
4786-
int clm_file_dumped;
4787-
int dump_files = 0;
4785+
/* int any_file_dumped; */
4786+
/* int clm_file_dumped; */
4787+
/* int dump_files = 0; */
47884788

4789-
int retval;
4790-
int converged;
4791-
int take_more_time_steps;
4792-
int conv_failures;
4793-
int max_failures = public_xtra->max_convergence_failures;
4789+
/* int retval; */
4790+
/* int converged; */
4791+
/* int take_more_time_steps; */
4792+
/* int conv_failures; */
4793+
/* int max_failures = public_xtra->max_convergence_failures; */
47944794

4795-
double t;
4796-
double dt = 0.0;
4797-
double ct = 0.0;
4798-
double cdt = 0.0;
4799-
double print_dt;
4800-
double dtmp, err_norm;
4801-
double gravity = ProblemGravity(problem);
4795+
/* double t; */
4796+
/* double dt = 0.0; */
4797+
/* double ct = 0.0; */
4798+
/* double cdt = 0.0; */
4799+
/* double print_dt; */
4800+
/* double dtmp, err_norm; */
4801+
/* double gravity = ProblemGravity(problem); */
48024802

4803-
VectorUpdateCommHandle *handle;
4803+
/* VectorUpdateCommHandle *handle; */
48044804

4805-
char dt_info;
4806-
char file_prefix[2048], file_type[2048], file_postfix[2048];
4807-
char nc_postfix[2048];
4805+
/* char dt_info; */
4806+
char file_prefix[2048]//, file_type[2048], file_postfix[2048];
4807+
/* char nc_postfix[2048]; */
48084808

48094809
//>>TSMP-PDAF internal change beginning (compare to AdvanceRichards)
48104810
// int Stepcount = 0; /* Added for transient EvapTrans file management - NBE */
@@ -4821,7 +4821,7 @@ PseudoAdvanceRichards(PFModule * this_module, double start_time, /* Startin
48214821
double pfl_step = GetDouble("TimeStep.Value");
48224822
double pfl_stop = GetDouble("TimingInfo.StopTime");
48234823
//>>TSMP-PDAF internal change beginning (compare to AdvanceRichards)
4824-
double pfl_start = GetDouble("TimingInfo.StartTime");
4824+
/* double pfl_start = GetDouble("TimingInfo.StartTime"); */
48254825
//>>TSMP-PDAF internal change end
48264826

48274827
int is;

0 commit comments

Comments
 (0)