Skip to content
Snippets Groups Projects
Commit 4611b301 authored by Timo Koch's avatar Timo Koch
Browse files

[embedded][glue] Add method returning size of glue object

parent a2998c4c
No related branches found
No related tags found
Loading
...@@ -238,15 +238,11 @@ public: ...@@ -238,15 +238,11 @@ public:
//! Return a reference to the bulk problem //! Return a reference to the bulk problem
BulkProblem& bulkProblem() BulkProblem& bulkProblem()
{ { return bulkProblem_; }
return bulkProblem_;
}
//! Return a reference to the low dimensional problem //! Return a reference to the low dimensional problem
LowDimProblem& lowDimProblem() LowDimProblem& lowDimProblem()
{ { return lowDimProblem_; }
return lowDimProblem_;
}
//! Return begin iterator to intersection container //! Return begin iterator to intersection container
typename Intersections::const_iterator ibegin() const typename Intersections::const_iterator ibegin() const
...@@ -256,6 +252,10 @@ public: ...@@ -256,6 +252,10 @@ public:
typename Intersections::const_iterator iend() const typename Intersections::const_iterator iend() const
{ return intersections_.end(); } { return intersections_.end(); }
//! the number of intersections
std::size_t size() const
{ return intersections_.size(); }
private: private:
BulkProblem& bulkProblem_; BulkProblem& bulkProblem_;
LowDimProblem& lowDimProblem_; LowDimProblem& lowDimProblem_;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment