getfem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Getfem-commits] (no subject)


From: Yves Renard
Subject: [Getfem-commits] (no subject)
Date: Tue, 8 Oct 2019 10:39:55 -0400 (EDT)

branch: master
commit 9a02d0ae753e039a6d0cfc5189e530bf4f6b28a1
Author: Yves Renard <address@hidden>
Date:   Tue Sep 3 16:06:13 2019 +0200

    Fix on convect function due to Nathan Whetsell
---
 src/getfem/getfem_convect.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/getfem/getfem_convect.h b/src/getfem/getfem_convect.h
index 04da9d1..b18e277 100644
--- a/src/getfem/getfem_convect.h
+++ b/src/getfem/getfem_convect.h
@@ -59,8 +59,8 @@ namespace getfem {
   void convect(const mesh_fem &mf, VECT1 &U, const mesh_fem &mf_v,
               const VECT2 &V, scalar_type dt, size_type nt,
               convect_boundary_option option = CONVECT_EXTRAPOLATION,
-               base_node &per_min = base_node(),
-               base_node &per_max = base_node()) {
+               const base_node &per_min = base_node(),
+               const base_node &per_max = base_node()) {
     // Should be robustified on the boundaries -> control of the nodes going
     //   out the mesh.
     // Should control that the point do not move to fast ( < h/2 for instance).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]