@@ -257,16 +257,16 @@ class Neutrals {
257257 \param time contains information about the current time
258258 \param indices used to help set initial conditions
259259 **/
260- Neutrals (Grid grid,
261- Planets planet,
262- Times time,
263- Indices indices);
260+ Neutrals (Grid & grid,
261+ Planets planet,
262+ Times time,
263+ Indices indices);
264264
265265 /* *********************************************************************
266266 \brief Creates the variables within the species_chars structure
267267 \param grid The grid to define the neutrals on
268268 **/
269- species_chars create_species (Grid grid);
269+ species_chars create_species (Grid & grid);
270270
271271 /* *********************************************************************
272272 \brief Read in the planet-specific file
@@ -285,9 +285,9 @@ class Neutrals {
285285 \param time contains information about the current time
286286 \param indices used to help set initial conditions
287287 **/
288- bool initial_conditions (Grid grid,
289- Times time,
290- Indices indices);
288+ bool initial_conditions (Grid & grid,
289+ Times time,
290+ Indices indices);
291291
292292 /* *********************************************************************
293293 \brief temporary function to set neutral densities with in the model
@@ -302,14 +302,14 @@ class Neutrals {
302302 \param grid The grid to define the neutrals on
303303 **/
304304 void fill_with_hydrostatic (int64_t iStart,
305- int64_t iEnd,
306- Grid grid);
305+ int64_t iEnd,
306+ Grid & grid);
307307
308308 void fill_with_hydrostatic (int64_t iSpecies,
309- int64_t iStart,
310- int64_t iEnd,
311- Grid grid);
312-
309+ int64_t iStart,
310+ int64_t iEnd,
311+ Grid & grid);
312+
313313 /* *********************************************************************
314314 \brief Limit the density to a floor and a ceiling
315315 **/
@@ -324,8 +324,8 @@ class Neutrals {
324324 \brief Calculate the scale heights for the individual species
325325 \param grid The grid to define the neutrals on
326326 **/
327- void calc_scale_height (Grid grid);
328-
327+ void calc_scale_height (Grid & grid);
328+
329329 /* *********************************************************************
330330 \brief Calculate the viscosity coefficient
331331 **/
@@ -381,21 +381,21 @@ class Neutrals {
381381 \brief Calculate the chapman integrals for the individual species
382382 \param grid The grid to define the neutrals on
383383 **/
384- void calc_chapman (Grid grid);
384+ void calc_chapman (Grid & grid);
385385
386386 /* *********************************************************************
387387 \brief Calculate the neutral bulk vertical thermal conduction
388388 \param grid The grid to define the neutrals on
389389 \param time The times within the model (dt is needed)
390390 **/
391- void update_temperature (Grid grid, Times time);
391+ void update_temperature (Grid & grid, Times time);
392392
393393 /* *********************************************************************
394394 \brief Calculate the neutral bulk horizontal viscosity
395395 \param grid The grid to define the neutrals on
396396 \param time The times within the model (dt is needed)
397397 **/
398- void update_horizontal_velocity (Grid grid, Times time);
398+ void update_horizontal_velocity (Grid & grid, Times time);
399399
400400 /* *********************************************************************
401401 \brief Calculate the O radiative cooling
@@ -413,43 +413,43 @@ class Neutrals {
413413 \param planet Need things like rotation rate
414414 \param grid Need things like radius
415415 **/
416- void add_sources (Times time, Planets planet, Grid grid);
416+ void add_sources (Times time, Planets planet, Grid & grid);
417417
418418 /* *********************************************************************
419419 \brief Set boundary conditions for the neutrals
420420 \param grid The grid to define the neutrals on
421421 \param time contains information about the current time
422422 \param indices used to help set initial conditions
423423 **/
424- bool set_bcs (Grid grid,
425- Times time,
426- Indices indices);
424+ bool set_bcs (Grid & grid,
425+ Times time,
426+ Indices indices);
427427
428428 /* *********************************************************************
429429 \brief Set lower boundary conditions for the neutrals
430430 \param grid The grid to define the neutrals on
431431 \param time contains information about the current time
432432 \param indices used to help set initial conditions
433433 **/
434- bool set_lower_bcs (Grid grid,
435- Times time,
436- Indices indices);
434+ bool set_lower_bcs (Grid & grid,
435+ Times time,
436+ Indices indices);
437437
438438 /* *********************************************************************
439439 \brief Set upper boundary conditions for the neutrals
440440 \param grid The grid to define the neutrals on
441441 \param time contains information about the current time
442442 \param indices used to help set initial conditions
443443 **/
444- bool set_upper_bcs (Grid grid);
444+ bool set_upper_bcs (Grid & grid);
445445
446446 /* *********************************************************************
447447 \brief Set boundary conditions for the neutrals
448448 \param iDir direction of the BC to set
449449 \param grid The grid to define the neutrals on
450450 **/
451- bool set_horizontal_bcs (int64_t iDir, Grid grid);
452-
451+ bool set_horizontal_bcs (int64_t iDir, Grid & grid);
452+
453453 /* *********************************************************************
454454 \brief Get the species ID number (int) given the species name (string)
455455 \param name string holding the species name (e.g., "O+")
@@ -524,15 +524,15 @@ class Neutrals {
524524 \param grid The grid to define the neutrals on
525525 \param time contains information about the current time
526526 **/
527- void solver_vertical_rusanov (Grid grid,
528- Times time);
529-
527+ void solver_vertical_rusanov (Grid & grid,
528+ Times time);
529+
530530 /* *********************************************************************
531531 \brief Call the correct vertical advection scheme
532532 \param grid The grid to define the neutrals on
533533 \param time contains information about the current time
534534 **/
535- bool advect_vertical (Grid grid, Times time);
535+ bool advect_vertical (Grid & grid, Times time);
536536
537537 /* *********************************************************************
538538 \brief Calculate the neutral friction in one cell using an implicit solver
0 commit comments