Loading cpp_src/Containers/UnstructuredMesh.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ ElementsContainer::ElementsContainer(const std::string& elemtype ){ } CBasicIndexType ElementsContainer::GetNumberOfElements() const { return static_cast<CBasicIndexType>(this->connectivity->rows()); return static_cast<CBasicIndexType>(this->GetConnectivityMatrix().rows()); } std::string ElementsContainer::GetElementType() const { Loading cpp_src/Helpers/SetGetMacros.h +5 −5 Original line number Diff line number Diff line Loading @@ -16,13 +16,13 @@ void Set##Name(std::shared_ptr<T> &arg1){ \ this->attribute = arg1; \ }; \ std::shared_ptr<dtype>& Get ## Name ## Shared(){ \ std::shared_ptr<dtype> Get ## Name ## Shared(){ \ return this->attribute; \ }; \ dtype& Get ## Name ## Matrix(){ \ dtype Get ## Name ## Matrix(){ \ return *(this->attribute.get()); \ }; \ const dtype& Get ## Name ## Matrix() const { \ const dtype Get ## Name ## Matrix() const { \ return *(this->attribute.get()); \ }; Loading Loading
cpp_src/Containers/UnstructuredMesh.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ ElementsContainer::ElementsContainer(const std::string& elemtype ){ } CBasicIndexType ElementsContainer::GetNumberOfElements() const { return static_cast<CBasicIndexType>(this->connectivity->rows()); return static_cast<CBasicIndexType>(this->GetConnectivityMatrix().rows()); } std::string ElementsContainer::GetElementType() const { Loading
cpp_src/Helpers/SetGetMacros.h +5 −5 Original line number Diff line number Diff line Loading @@ -16,13 +16,13 @@ void Set##Name(std::shared_ptr<T> &arg1){ \ this->attribute = arg1; \ }; \ std::shared_ptr<dtype>& Get ## Name ## Shared(){ \ std::shared_ptr<dtype> Get ## Name ## Shared(){ \ return this->attribute; \ }; \ dtype& Get ## Name ## Matrix(){ \ dtype Get ## Name ## Matrix(){ \ return *(this->attribute.get()); \ }; \ const dtype& Get ## Name ## Matrix() const { \ const dtype Get ## Name ## Matrix() const { \ return *(this->attribute.get()); \ }; Loading