Nektar++
|
#include <SubStructuredGraph.h>
Public Member Functions | |
BottomUpSubStructuredGraph (MultiLevelBisectedGraphSharedPtr graph, int nPartition=0, bool globaloffset=false) | |
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 188 of file SubStructuredGraph.h.
Nektar::MultiRegions::BottomUpSubStructuredGraph::BottomUpSubStructuredGraph | ( | MultiLevelBisectedGraphSharedPtr | graph, |
int | nPartition = 0 , |
||
bool | globaloffset = false |
||
) |
Definition at line 305 of file SubStructuredGraph.cpp.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), m_daughterGraph, and m_IntBlocks.
Nektar::MultiRegions::BottomUpSubStructuredGraph::BottomUpSubStructuredGraph | ( | const int | nVerts | ) |
Definition at line 290 of file SubStructuredGraph.cpp.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), and m_IntBlocks.
Nektar::MultiRegions::BottomUpSubStructuredGraph::~BottomUpSubStructuredGraph | ( | void | ) |
Definition at line 333 of file SubStructuredGraph.cpp.
void Nektar::MultiRegions::BottomUpSubStructuredGraph::Dump | ( | ) | const |
Definition at line 366 of file SubStructuredGraph.cpp.
References CellMLToNektar.pycml::level, m_daughterGraph, and m_IntBlocks.
void Nektar::MultiRegions::BottomUpSubStructuredGraph::ExpandGraphWithVertexWeights | ( | const Array< OneD, const int > & | wgts | ) |
Definition at line 442 of file SubStructuredGraph.cpp.
References CellMLToNektar.pycml::level, m_daughterGraph, m_IntBlocks, and Nektar::MultiRegions::SubGraphWithoutVerts().
|
inlineprivate |
Definition at line 233 of file SubStructuredGraph.h.
References m_daughterGraph.
|
inlineprivate |
Definition at line 237 of file SubStructuredGraph.h.
References m_IntBlocks.
std::vector< SubGraphSharedPtr > Nektar::MultiRegions::BottomUpSubStructuredGraph::GetInteriorBlocks | ( | const int | whichlevel | ) | const |
Definition at line 599 of file SubStructuredGraph.cpp.
References Nektar::ErrorUtil::efatal, CellMLToNektar.pycml::level, m_daughterGraph, m_IntBlocks, and NEKERROR.
int Nektar::MultiRegions::BottomUpSubStructuredGraph::GetInteriorOffset | ( | const int | whichlevel, |
const int | patch = 0 |
||
) | const |
Definition at line 574 of file SubStructuredGraph.cpp.
References Nektar::ErrorUtil::efatal, CellMLToNektar.pycml::level, m_daughterGraph, m_IntBlocks, and NEKERROR.
void Nektar::MultiRegions::BottomUpSubStructuredGraph::GetNintDofsPerPatch | ( | const int | whichlevel, |
Array< OneD, unsigned int > & | outarray | ||
) | const |
Definition at line 546 of file SubStructuredGraph.cpp.
References ASSERTL1, Nektar::ErrorUtil::efatal, CellMLToNektar.pycml::level, m_daughterGraph, m_IntBlocks, and NEKERROR.
int Nektar::MultiRegions::BottomUpSubStructuredGraph::GetNlevels | ( | ) | const |
Definition at line 648 of file SubStructuredGraph.cpp.
References CellMLToNektar.pycml::level, and m_daughterGraph.
int Nektar::MultiRegions::BottomUpSubStructuredGraph::GetNpatchesWithInterior | ( | const int | whichlevel | ) | const |
Definition at line 521 of file SubStructuredGraph.cpp.
References Nektar::ErrorUtil::efatal, CellMLToNektar.pycml::level, m_daughterGraph, m_IntBlocks, and NEKERROR.
int Nektar::MultiRegions::BottomUpSubStructuredGraph::GetNumGlobalDofs | ( | const int | whichlevel | ) | const |
Definition at line 623 of file SubStructuredGraph.cpp.
References Nektar::ErrorUtil::efatal, CellMLToNektar.pycml::level, m_daughterGraph, m_IntBlocks, and NEKERROR.
int Nektar::MultiRegions::BottomUpSubStructuredGraph::GetTotDofs | ( | ) | const |
Definition at line 337 of file SubStructuredGraph.cpp.
References CellMLToNektar.pycml::level, m_daughterGraph, and m_IntBlocks.
Referenced by UpdateBottomUpReordering().
void Nektar::MultiRegions::BottomUpSubStructuredGraph::MaskPatches | ( | const int | leveltomask, |
Array< OneD, NekDouble > & | maskarray | ||
) | const |
Definition at line 489 of file SubStructuredGraph.cpp.
References Nektar::ErrorUtil::efatal, CellMLToNektar.pycml::level, m_daughterGraph, m_IntBlocks, and NEKERROR.
|
private |
Definition at line 412 of file SubStructuredGraph.cpp.
References CellMLToNektar.pycml::level, 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 389 of file SubStructuredGraph.cpp.
References GetTotDofs(), and SetBottomUpReordering().
|
protected |
Definition at line 228 of file SubStructuredGraph.h.
Referenced by BottomUpSubStructuredGraph(), Dump(), ExpandGraphWithVertexWeights(), GetDaughterGraph(), GetInteriorBlocks(), GetInteriorOffset(), GetNintDofsPerPatch(), GetNlevels(), GetNpatchesWithInterior(), GetNumGlobalDofs(), GetTotDofs(), MaskPatches(), and SetBottomUpReordering().
|
protected |
Definition at line 227 of file SubStructuredGraph.h.
Referenced by BottomUpSubStructuredGraph(), Dump(), ExpandGraphWithVertexWeights(), GetInteriorBlocks(), GetInteriorOffset(), GetNintDofsPerPatch(), GetNpatchesWithInterior(), GetNumGlobalDofs(), GetTotDofs(), MaskPatches(), and SetBottomUpReordering().