]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Rename CellTypeWrapper to ReferenceCellWrapper 12120/head
authorPeter Munch <peterrmuench@gmail.com>
Sat, 1 May 2021 10:15:20 +0000 (12:15 +0200)
committerPeter Munch <peterrmuench@gmail.com>
Sat, 1 May 2021 10:15:20 +0000 (12:15 +0200)
contrib/python-bindings/include/cell_accessor_wrapper.h
contrib/python-bindings/include/reference_cell_wrapper.h
contrib/python-bindings/source/cell_accessor_wrapper.cc
contrib/python-bindings/source/reference_cell_wrapper.cc

index 8f5fe17520ca1b268cd8d060d07b3e9e4992c6e1..a0442fca2f9d718f80eb68ee74fd6e09cf48da9d 100644 (file)
@@ -28,7 +28,7 @@ namespace python
 {
   class PointWrapper;
   class TriangulationWrapper;
-  class CellTypeWrapper;
+  class ReferenceCellWrapper;
 
   class CellAccessorWrapper
   {
@@ -187,7 +187,7 @@ namespace python
 
     /*! @copydoc TriaAccessor::reference_cell
      */
-    CellTypeWrapper
+    ReferenceCellWrapper
     reference_cell() const;
 
     /*! @copydoc TriaAccessor::n_vertices
index ae14430cc2387595b90e621c331f5d5fc97599fb..aa4c20c9e2c710a051b95048e4e03dd1036deb44 100644 (file)
@@ -26,33 +26,33 @@ DEAL_II_NAMESPACE_OPEN
 
 namespace python
 {
-  class CellTypeWrapper
+  class ReferenceCellWrapper
   {
   public:
     /**
      * Copy constructor.
      */
-    CellTypeWrapper(const CellTypeWrapper &other);
+    ReferenceCellWrapper(const ReferenceCellWrapper &other);
 
     /**
      * Constructor. Takes a cell kind id field and creates a Type class.
      */
-    CellTypeWrapper(const std::uint8_t &kind);
+    ReferenceCellWrapper(const std::uint8_t &kind);
 
     /**
      * Constructor. Takes a ReferenceCell object and creates a Type class.
      */
-    CellTypeWrapper(const ReferenceCell &cell_type_in);
+    ReferenceCellWrapper(const ReferenceCell &cell_type_in);
 
     /**
      * Constructor for an empty object.
      */
-    CellTypeWrapper();
+    ReferenceCellWrapper();
 
     /**
      * Destructor.
      */
-    ~CellTypeWrapper();
+    ~ReferenceCellWrapper();
 
     std::uint8_t
     cell_kind() const;
index 220b176a87f7ae1ae316c80837d2a718249c9e6a..693b604740248e682d0841c459cec1cde134ae36 100644 (file)
@@ -798,7 +798,7 @@ namespace python
 
 
 
-  CellTypeWrapper
+  ReferenceCellWrapper
   CellAccessorWrapper::reference_cell() const
   {
     if ((dim == 2) && (spacedim == 2))
index 64b22abb22754c8917b997f71bd17e8c41d4d704..97849c6fa9a3203b87720c4fa4a1166ba843beed 100644 (file)
@@ -21,39 +21,39 @@ DEAL_II_NAMESPACE_OPEN
 
 namespace python
 {
-  CellTypeWrapper::CellTypeWrapper()
+  ReferenceCellWrapper::ReferenceCellWrapper()
   {}
 
 
 
-  CellTypeWrapper::CellTypeWrapper(const CellTypeWrapper &other)
+  ReferenceCellWrapper::ReferenceCellWrapper(const ReferenceCellWrapper &other)
   {
     cell_type = other.cell_type;
   }
 
 
 
-  CellTypeWrapper::CellTypeWrapper(const std::uint8_t &kind)
+  ReferenceCellWrapper::ReferenceCellWrapper(const std::uint8_t &kind)
   {
     cell_type = internal::ReferenceCell::make_reference_cell_from_int(kind);
   }
 
 
 
-  CellTypeWrapper::CellTypeWrapper(const ReferenceCell &cell_type_in)
+  ReferenceCellWrapper::ReferenceCellWrapper(const ReferenceCell &cell_type_in)
   {
     cell_type = cell_type_in;
   }
 
 
 
-  CellTypeWrapper::~CellTypeWrapper()
+  ReferenceCellWrapper::~ReferenceCellWrapper()
   {}
 
 
 
   std::uint8_t
-  CellTypeWrapper::cell_kind() const
+  ReferenceCellWrapper::cell_kind() const
   {
     return cell_type;
   }

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.