Commit 3142bfa3 authored by Felipe Bordeu's avatar Felipe Bordeu
Browse files

Cleaning

parent 7ff20617
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 {
+5 −5
Original line number Diff line number Diff line
@@ -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());                                        \
    };