getfem-commits
[Top][All Lists]
Advanced

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

[Getfem-commits] r4537 - in /trunk/getfem: contrib/delaminated_crack/Mak


From: logari81
Subject: [Getfem-commits] r4537 - in /trunk/getfem: contrib/delaminated_crack/Makefile.am interface/src/gf_model_set.cc src/getfem_mesh_region.cc
Date: Fri, 14 Mar 2014 17:41:00 -0000

Author: logari81
Date: Fri Mar 14 18:41:00 2014
New Revision: 4537

URL: http://svn.gna.org/viewcvs/getfem?rev=4537&view=rev
Log:
minor improvements

Modified:
    trunk/getfem/contrib/delaminated_crack/Makefile.am
    trunk/getfem/interface/src/gf_model_set.cc
    trunk/getfem/src/getfem_mesh_region.cc

Modified: trunk/getfem/contrib/delaminated_crack/Makefile.am
URL: 
http://svn.gna.org/viewcvs/getfem/trunk/getfem/contrib/delaminated_crack/Makefile.am?rev=4537&r1=4536&r2=4537&view=diff
==============================================================================
--- trunk/getfem/contrib/delaminated_crack/Makefile.am  (original)
+++ trunk/getfem/contrib/delaminated_crack/Makefile.am  Fri Mar 14 18:41:00 2014
@@ -18,4 +18,4 @@
 
 LOG_COMPILER = perl
 
-TESTS_ENVIRONMENT = perl
+TESTS_ENVIRONMENT = perl

Modified: trunk/getfem/interface/src/gf_model_set.cc
URL: 
http://svn.gna.org/viewcvs/getfem/trunk/getfem/interface/src/gf_model_set.cc?rev=4537&r1=4536&r2=4537&view=diff
==============================================================================
--- trunk/getfem/interface/src/gf_model_set.cc  (original)
+++ trunk/getfem/interface/src/gf_model_set.cc  Fri Mar 14 18:41:00 2014
@@ -270,7 +270,7 @@
          if (in.remaining())
            niter = in.pop().to_integer(0,10) - config::base_index();
          GMM_ASSERT1(st.size()==md->model().real_variable(name, niter).size(),
-                     "Bad size in assigment");
+                     "Bad size in assignment");
          md->model().set_real_variable(name, niter).assign(st.begin(), 
st.end());
        } else {
          carray st = in.pop().to_carray();
@@ -279,7 +279,7 @@
            niter = in.pop().to_integer(0,10) - config::base_index();
          GMM_ASSERT1(st.size() == md->model().complex_variable(name,
                                                                niter).size(),
-                     "Bad size in assigment");
+                     "Bad size in assignment");
          md->model().set_complex_variable(name, niter).assign(st.begin(),
                                                               st.end());
        }

Modified: trunk/getfem/src/getfem_mesh_region.cc
URL: 
http://svn.gna.org/viewcvs/getfem/trunk/getfem/src/getfem_mesh_region.cc?rev=4537&r1=4536&r2=4537&view=diff
==============================================================================
--- trunk/getfem/src/getfem_mesh_region.cc      (original)
+++ trunk/getfem/src/getfem_mesh_region.cc      Fri Mar 14 18:41:00 2014
@@ -102,7 +102,7 @@
   void mesh_region::add(const dal::bit_vector &bv) {
     for (dal::bv_visitor i(bv); !i.finished(); ++i)
     {
-      wp().m[i].set(size_type(-1)+1,1);
+      wp().m[i].set(0,1);
     }
     touch_parent_mesh();
   }




reply via email to

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