From: Peter Munch Date: Sat, 1 May 2021 10:15:20 +0000 (+0200) Subject: Rename CellTypeWrapper to ReferenceCellWrapper X-Git-Tag: v9.3.0-rc1~157^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae87959dec1411d30ce9b2559f0821294ac87796;p=dealii.git Rename CellTypeWrapper to ReferenceCellWrapper --- diff --git a/contrib/python-bindings/include/cell_accessor_wrapper.h b/contrib/python-bindings/include/cell_accessor_wrapper.h index 8f5fe17520..a0442fca2f 100644 --- a/contrib/python-bindings/include/cell_accessor_wrapper.h +++ b/contrib/python-bindings/include/cell_accessor_wrapper.h @@ -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 diff --git a/contrib/python-bindings/include/reference_cell_wrapper.h b/contrib/python-bindings/include/reference_cell_wrapper.h index ae14430cc2..aa4c20c9e2 100644 --- a/contrib/python-bindings/include/reference_cell_wrapper.h +++ b/contrib/python-bindings/include/reference_cell_wrapper.h @@ -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; diff --git a/contrib/python-bindings/source/cell_accessor_wrapper.cc b/contrib/python-bindings/source/cell_accessor_wrapper.cc index 220b176a87..693b604740 100644 --- a/contrib/python-bindings/source/cell_accessor_wrapper.cc +++ b/contrib/python-bindings/source/cell_accessor_wrapper.cc @@ -798,7 +798,7 @@ namespace python - CellTypeWrapper + ReferenceCellWrapper CellAccessorWrapper::reference_cell() const { if ((dim == 2) && (spacedim == 2)) diff --git a/contrib/python-bindings/source/reference_cell_wrapper.cc b/contrib/python-bindings/source/reference_cell_wrapper.cc index 64b22abb22..97849c6fa9 100644 --- a/contrib/python-bindings/source/reference_cell_wrapper.cc +++ b/contrib/python-bindings/source/reference_cell_wrapper.cc @@ -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; }