[MOAB-dev] r5494 - MOAB/trunk/tools/mbcoupler

tautges at mcs.anl.gov tautges at mcs.anl.gov
Tue Apr 24 11:50:04 CDT 2012


Author: tautges
Date: 2012-04-24 11:50:03 -0500 (Tue, 24 Apr 2012)
New Revision: 5494

Modified:
   MOAB/trunk/tools/mbcoupler/Coupler.cpp
   MOAB/trunk/tools/mbcoupler/Coupler.hpp
Log:
Adding a const in one of the function interfaces.




Modified: MOAB/trunk/tools/mbcoupler/Coupler.cpp
===================================================================
--- MOAB/trunk/tools/mbcoupler/Coupler.cpp	2012-04-23 22:41:48 UTC (rev 5493)
+++ MOAB/trunk/tools/mbcoupler/Coupler.cpp	2012-04-24 16:50:03 UTC (rev 5494)
@@ -381,7 +381,7 @@
 }
 
 ErrorCode Coupler::interpolate(Coupler::Method method,
-                                   std::string &interp_tag,
+                               const std::string &interp_tag,
                                    double *interp_vals,
                                    TupleList *tl,
                                    bool normalize)

Modified: MOAB/trunk/tools/mbcoupler/Coupler.hpp
===================================================================
--- MOAB/trunk/tools/mbcoupler/Coupler.hpp	2012-04-23 22:41:48 UTC (rev 5493)
+++ MOAB/trunk/tools/mbcoupler/Coupler.hpp	2012-04-24 16:50:03 UTC (rev 5494)
@@ -125,7 +125,7 @@
      * \param normalize If true, normalization is done according to method
      */
   ErrorCode interpolate(Coupler::Method method,
-                          std::string &tag_name,
+                        const std::string &tag_name,
                           double *interp_vals,
                           TupleList *tl = NULL,
                           bool normalize = true);


























More information about the moab-dev mailing list