added functions to get outer edges
This commit is contained in:
parent
2c4e8ea79c
commit
facc8fc890
2 changed files with 66 additions and 2 deletions
|
|
@ -328,6 +328,10 @@ private:
|
|||
void Write_ascii_paraview_3D(std::string const &fname, std::vector<double> const &v) const;
|
||||
|
||||
public:
|
||||
const std::vector<int> BoundaryEdges() const;
|
||||
const std::vector<int> OuterEdges() const;
|
||||
|
||||
|
||||
/**
|
||||
* Visualize @p v together with its mesh information via paraview
|
||||
*
|
||||
|
|
@ -546,9 +550,12 @@ public:
|
|||
*/
|
||||
[[nodiscard]] bool checkObtuseAngles() const;
|
||||
|
||||
|
||||
// Every element belongs to 1 subdomain
|
||||
std::vector<int> ElementSubdomains;
|
||||
|
||||
// Every edge has 2 adjacent subdomains
|
||||
std::vector<int> EdgeSubdomains;
|
||||
|
||||
/**
|
||||
* Reads the global triangle to subdomain mapping.
|
||||
*
|
||||
|
|
@ -558,6 +565,8 @@ public:
|
|||
*/
|
||||
[[nodiscard]] const std::vector<int> ReadElementSubdomains(std::string const &dname) const;
|
||||
|
||||
[[nodiscard]] const std::vector<int> ReadEdgeSubdomains(std::string const &filename) const;
|
||||
|
||||
|
||||
/**
|
||||
* Calculates the largest inner angle in element @p idx.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue