Nektar++
|
#include <SubStructuredGraph.h>
Public Member Functions | |
BottomUpSubStructuredGraph (const Array< OneD, const int > septree, const int nPartition) | |
BottomUpSubStructuredGraph (const MultiLevelBisectedGraphSharedPtr &graph) | |
BottomUpSubStructuredGraph (const int nVerts) | |
~BottomUpSubStructuredGraph (void) | |
int | GetTotDofs () const |
void | UpdateBottomUpReordering (Array< OneD, int > &perm, Array< OneD, int > &iperm) const |
void | ExpandGraphWithVertexWeights (const Array< OneD, const int > &wgts) |
void | MaskPatches (const int leveltomask, Array< OneD, NekDouble > &maskarray) const |
int | GetNpatchesWithInterior (const int whichlevel) const |
void | GetNintDofsPerPatch (const int whichlevel, Array< OneD, unsigned int > &outarray) const |
int | GetInteriorOffset (const int whichlevel, const int patch=0) const |
std::vector< SubGraphSharedPtr > | GetInteriorBlocks (const int whichlevel) const |
int | GetNumGlobalDofs (const int whichlevel) const |
int | GetNlevels () const |
void | Dump () const |
Protected Attributes | |
std::vector< SubGraphSharedPtr > | m_IntBlocks |
BottomUpSubStructuredGraphSharedPtr | m_daughterGraph |
Private Member Functions | |
void | SetBottomUpReordering (Array< OneD, int > &iperm) const |
BottomUpSubStructuredGraphSharedPtr | GetDaughterGraph () const |
std::vector< SubGraphSharedPtr > | GetInteriorBlocks () const |
Definition at line 186 of file SubStructuredGraph.h.
Nektar::MultiRegions::BottomUpSubStructuredGraph::BottomUpSubStructuredGraph | ( | const Array< OneD, const int > | septree, |
const int | nPartition | ||
) |
Definition at line 412 of file SubStructuredGraph.cpp.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), m_daughterGraph, and m_IntBlocks.
Nektar::MultiRegions::BottomUpSubStructuredGraph::BottomUpSubStructuredGraph | ( | const MultiLevelBisectedGraphSharedPtr & | graph | ) |
Definition at line 453 of file SubStructuredGraph.cpp.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), m_daughterGraph, and m_IntBlocks.
Nektar::MultiRegions::BottomUpSubStructuredGraph::BottomUpSubStructuredGraph | ( | const int | nVerts | ) |
Definition at line 397 of file SubStructuredGraph.cpp.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), and m_IntBlocks.
Nektar::MultiRegions::BottomUpSubStructuredGraph::~BottomUpSubStructuredGraph | ( | void | ) |
Definition at line 470 of file SubStructuredGraph.cpp.
void Nektar::MultiRegions::BottomUpSubStructuredGraph::Dump | ( | ) | const |
Definition at line 503 of file SubStructuredGraph.cpp.
References m_daughterGraph, and m_IntBlocks.
void Nektar::MultiRegions::BottomUpSubStructuredGraph::ExpandGraphWithVertexWeights | ( | const Array< OneD, const int > & | wgts | ) |
Definition at line 581 of file SubStructuredGraph.cpp.
References m_daughterGraph, m_IntBlocks, and Nektar::MultiRegions::SubGraphWithoutVerts().
|
inlineprivate |
Definition at line 239 of file SubStructuredGraph.h.
References m_daughterGraph.
std::vector< SubGraphSharedPtr > Nektar::MultiRegions::BottomUpSubStructuredGraph::GetInteriorBlocks | ( | const int | whichlevel | ) | const |
Definition at line 748 of file SubStructuredGraph.cpp.
References ErrorUtil::efatal, m_daughterGraph, m_IntBlocks, and NEKERROR.
|
inlineprivate |
Definition at line 243 of file SubStructuredGraph.h.
References m_IntBlocks.
int Nektar::MultiRegions::BottomUpSubStructuredGraph::GetInteriorOffset | ( | const int | whichlevel, |
const int | patch = 0 |
||
) | const |
Definition at line 721 of file SubStructuredGraph.cpp.
References ErrorUtil::efatal, m_daughterGraph, m_IntBlocks, and NEKERROR.
void Nektar::MultiRegions::BottomUpSubStructuredGraph::GetNintDofsPerPatch | ( | const int | whichlevel, |
Array< OneD, unsigned int > & | outarray | ||
) | const |
Definition at line 691 of file SubStructuredGraph.cpp.
References ASSERTL1, ErrorUtil::efatal, m_daughterGraph, m_IntBlocks, and NEKERROR.
int Nektar::MultiRegions::BottomUpSubStructuredGraph::GetNlevels | ( | ) | const |
Definition at line 799 of file SubStructuredGraph.cpp.
References m_daughterGraph.
int Nektar::MultiRegions::BottomUpSubStructuredGraph::GetNpatchesWithInterior | ( | const int | whichlevel | ) | const |
Definition at line 664 of file SubStructuredGraph.cpp.
References ErrorUtil::efatal, m_daughterGraph, m_IntBlocks, and NEKERROR.
int Nektar::MultiRegions::BottomUpSubStructuredGraph::GetNumGlobalDofs | ( | const int | whichlevel | ) | const |
Definition at line 772 of file SubStructuredGraph.cpp.
References ErrorUtil::efatal, m_daughterGraph, m_IntBlocks, and NEKERROR.
int Nektar::MultiRegions::BottomUpSubStructuredGraph::GetTotDofs | ( | ) | const |
Definition at line 474 of file SubStructuredGraph.cpp.
References m_daughterGraph, and m_IntBlocks.
Referenced by UpdateBottomUpReordering().
void Nektar::MultiRegions::BottomUpSubStructuredGraph::MaskPatches | ( | const int | leveltomask, |
Array< OneD, NekDouble > & | maskarray | ||
) | const |
Definition at line 630 of file SubStructuredGraph.cpp.
References ErrorUtil::efatal, m_daughterGraph, m_IntBlocks, and NEKERROR.
|
private |
Definition at line 551 of file SubStructuredGraph.cpp.
References m_daughterGraph, and m_IntBlocks.
Referenced by UpdateBottomUpReordering().
void Nektar::MultiRegions::BottomUpSubStructuredGraph::UpdateBottomUpReordering | ( | Array< OneD, int > & | perm, |
Array< OneD, int > & | iperm | ||
) | const |
Definition at line 527 of file SubStructuredGraph.cpp.
References GetTotDofs(), and SetBottomUpReordering().
|
protected |
Definition at line 234 of file SubStructuredGraph.h.
Referenced by BottomUpSubStructuredGraph(), Dump(), ExpandGraphWithVertexWeights(), GetDaughterGraph(), GetInteriorBlocks(), GetInteriorOffset(), GetNintDofsPerPatch(), GetNlevels(), GetNpatchesWithInterior(), GetNumGlobalDofs(), GetTotDofs(), MaskPatches(), and SetBottomUpReordering().
|
protected |
Definition at line 233 of file SubStructuredGraph.h.
Referenced by BottomUpSubStructuredGraph(), Dump(), ExpandGraphWithVertexWeights(), GetInteriorBlocks(), GetInteriorOffset(), GetNintDofsPerPatch(), GetNpatchesWithInterior(), GetNumGlobalDofs(), GetTotDofs(), MaskPatches(), and SetBottomUpReordering().