added Robin BC, disabled cuthill_mckee_reordering for now
This commit is contained in:
parent
c321dbc271
commit
b78c3f9aff
5 changed files with 46 additions and 46 deletions
|
|
@ -759,6 +759,11 @@ const std::vector<int> Mesh::BoundaryEdges() const
|
|||
return _ebedges;
|
||||
}
|
||||
|
||||
const std::vector<int> Mesh::BoundaryEdgeNodes() const
|
||||
{
|
||||
return _bedges;
|
||||
}
|
||||
|
||||
|
||||
// Only the outer edges for Robin BC
|
||||
void Mesh::InitializeOuterEdges()
|
||||
|
|
@ -996,12 +1001,16 @@ Mesh::Mesh(std::string const &fname)
|
|||
//Debug();
|
||||
|
||||
DeriveEdgeFromVertexBased(); // Generate also the edge based information
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{
|
||||
// Cuthill-McKee reordering
|
||||
// Increases mesh generation time by factor 5 - but solver is faster.
|
||||
auto const perm = cuthill_mckee_reordering(_edges);
|
||||
PermuteVertices_EdgeBased(perm);
|
||||
// auto const perm = cuthill_mckee_reordering(_edges);
|
||||
// PermuteVertices_EdgeBased(perm);
|
||||
}
|
||||
DeriveVertexFromEdgeBased();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue