getfem-commits
[Top][All Lists]
Advanced

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

[Getfem-commits] (no subject)


From: Konstantinos Poulios
Subject: [Getfem-commits] (no subject)
Date: Wed, 20 Sep 2017 18:31:05 -0400 (EDT)

branch: master
commit 2b4e0ca5ea94e35bf8fbfa827f7ce6cada6ce951
Author: mb <address@hidden>
Date:   Thu Sep 14 11:09:58 2017 +0200

    Add getter for auto_basic.
---
 src/bgeot_convex_ref.cc       | 4 ++++
 src/getfem/bgeot_convex_ref.h | 1 +
 2 files changed, 5 insertions(+)

diff --git a/src/bgeot_convex_ref.cc b/src/bgeot_convex_ref.cc
index c83c5ca..36e1219 100644
--- a/src/bgeot_convex_ref.cc
+++ b/src/bgeot_convex_ref.cc
@@ -104,6 +104,10 @@ namespace bgeot {
     simplexify_convex(structure(), *psimplexified_convex);
   }
 
+  bool convex_of_reference::is_basic() const {
+    return auto_basic;
+  }
+
   /* should be called on the basic_convex_ref */
   const mesh_structure* convex_of_reference::simplexified_convex() const {
     return psimplexified_convex.get();
diff --git a/src/getfem/bgeot_convex_ref.h b/src/getfem/bgeot_convex_ref.h
index 99340cc..a6795cd 100644
--- a/src/getfem/bgeot_convex_ref.h
+++ b/src/getfem/bgeot_convex_ref.h
@@ -108,6 +108,7 @@ namespace bgeot {
      *  positive in the other side.
      */
     virtual scalar_type is_in_face(short_type, const base_node &) const =0;
+    bool is_basic() const;
     /// return the normal vector for each face.
     const std::vector<base_small_vector> &normals() const
     { return normals_; }



reply via email to

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