[cig-commits] commit: More indenting fixes

Mercurial hg at geodynamics.org
Fri Feb 25 14:12:44 PST 2011


changeset:   12:a44a82f15794
user:        Walter Landry <wlandry at caltech.edu>
date:        Fri Dec 31 12:00:54 2010 -0800
files:       FACStokes/initializeLevelData.C FACStokes/packDerivedDataIntoDoubleBuffer.C FACStokes/resetHierarchyConfiguration.C FACStokes/setupPlotter.C FACStokes/solveStokes.C
description:
More indenting fixes


diff -r 38b782efefda -r a44a82f15794 FACStokes/initializeLevelData.C
--- a/FACStokes/initializeLevelData.C	Fri Dec 31 11:50:47 2010 -0800
+++ b/FACStokes/initializeLevelData.C	Fri Dec 31 12:00:54 2010 -0800
@@ -42,14 +42,14 @@ namespace SAMRAI {
 * Fill the rhs and exact solution.                                      *
 *************************************************************************
 */
-  void FACStokes::initializeLevelData(
-                                      const tbox::Pointer<hier::BasePatchHierarchy> patch_hierarchy,
-                                      const int level_number,
-                                      const double init_data_time,
-                                      const bool can_be_refined,
-                                      const bool initial_time,
-                                      const tbox::Pointer<hier::BasePatchLevel> old_level,
-                                      const bool allocate_data)
+  void FACStokes::initializeLevelData
+  (const tbox::Pointer<hier::BasePatchHierarchy> patch_hierarchy,
+   const int level_number,
+   const double init_data_time,
+   const bool can_be_refined,
+   const bool initial_time,
+   const tbox::Pointer<hier::BasePatchLevel> old_level,
+   const bool allocate_data)
   {
 
     (void)init_data_time;
diff -r 38b782efefda -r a44a82f15794 FACStokes/packDerivedDataIntoDoubleBuffer.C
--- a/FACStokes/packDerivedDataIntoDoubleBuffer.C	Fri Dec 31 11:50:47 2010 -0800
+++ b/FACStokes/packDerivedDataIntoDoubleBuffer.C	Fri Dec 31 12:00:54 2010 -0800
@@ -32,7 +32,8 @@ namespace SAMRAI {
                                                   double* buffer,
                                                   const hier::Patch& patch,
                                                   const hier::Box& region,
-                                                  const std::string& variable_name,
+                                                  const std::string&
+                                                  variable_name,
                                                   int depth_id) const
   {
     (void)depth_id;
diff -r 38b782efefda -r a44a82f15794 FACStokes/resetHierarchyConfiguration.C
--- a/FACStokes/resetHierarchyConfiguration.C	Fri Dec 31 11:50:47 2010 -0800
+++ b/FACStokes/resetHierarchyConfiguration.C	Fri Dec 31 12:00:54 2010 -0800
@@ -23,20 +23,20 @@
 
 namespace SAMRAI {
 
-/*
- *************************************************************************
- * Reset the hierarchy-dependent internal information.                   *
- *************************************************************************
- */
-void FACStokes::resetHierarchyConfiguration(
-   tbox::Pointer<hier::BasePatchHierarchy> new_hierarchy,
+  /*
+*************************************************************************
+* Reset the hierarchy-dependent internal information.                   *
+*************************************************************************
+*/
+  void FACStokes::resetHierarchyConfiguration
+  (tbox::Pointer<hier::BasePatchHierarchy> new_hierarchy,
    int coarsest_level,
    int finest_level)
-{
-   (void)coarsest_level;
-   (void)finest_level;
+  {
+    (void)coarsest_level;
+    (void)finest_level;
 
-   d_hierarchy = new_hierarchy;
-}
+    d_hierarchy = new_hierarchy;
+  }
 
 }
diff -r 38b782efefda -r a44a82f15794 FACStokes/setupPlotter.C
--- a/FACStokes/setupPlotter.C	Fri Dec 31 11:50:47 2010 -0800
+++ b/FACStokes/setupPlotter.C	Fri Dec 31 12:00:54 2010 -0800
@@ -30,8 +30,7 @@ namespace SAMRAI {
 * Register variables appropriate for plotting.                          *
 *************************************************************************
 */
-  int FACStokes::setupPlotter(
-                              appu::VisItDataWriter& plotter) const {
+  int FACStokes::setupPlotter(appu::VisItDataWriter& plotter) const {
     if (d_hierarchy.isNull()) {
       TBOX_ERROR(d_object_name << ": No hierarchy in\n"
                  << " FACStokes::setupPlotter\n"
diff -r 38b782efefda -r a44a82f15794 FACStokes/solveStokes.C
--- a/FACStokes/solveStokes.C	Fri Dec 31 11:50:47 2010 -0800
+++ b/FACStokes/solveStokes.C	Fri Dec 31 12:00:54 2010 -0800
@@ -66,12 +66,9 @@ namespace SAMRAI {
     d_stokes_fac_solver.setDConstant(1.0);
     d_stokes_fac_solver.setCConstant(0.0);
 
-    d_stokes_fac_solver.initializeSolverState(
-                                              p_id,
-                                              p_rhs_id,
-                                              d_hierarchy,
-                                              0,
-                                              d_hierarchy->getFinestLevelNumber());
+    d_stokes_fac_solver.initializeSolverState
+      (p_id,p_rhs_id,d_hierarchy,0,
+       d_hierarchy->getFinestLevelNumber());
 
     tbox::plog << "solving..." << std::endl;
     int solver_ret;



More information about the CIG-COMMITS mailing list