Nektar++
|
#include <Conditions.h>
Public Member Functions | |
BoundaryConditions (const LibUtilities::SessionReaderSharedPtr &pSession, const MeshGraphSharedPtr &meshGraph) | |
BoundaryConditions (void) | |
~BoundaryConditions (void) | |
const BoundaryRegionCollection & | GetBoundaryRegions (void) const |
void | AddBoundaryRegions (const int regionID, BoundaryRegionShPtr &bRegion) |
const BoundaryConditionCollection & | GetBoundaryConditions (void) const |
void | AddBoundaryConditions (const int regionID, BoundaryConditionMapShPtr &bCond) |
const std::string | GetVariable (unsigned int indx) |
Protected Attributes | |
MeshGraphSharedPtr | m_meshGraph |
The mesh graph to use for referencing geometry info. More... | |
LibUtilities::SessionReaderSharedPtr | m_session |
BoundaryRegionCollection | m_boundaryRegions |
BoundaryConditionCollection | m_boundaryConditions |
std::map< int, LibUtilities::CommSharedPtr > | m_boundaryCommunicators |
Private Member Functions | |
void | Read (TiXmlElement *conditions) |
Read segments (and general MeshGraph) given TiXmlDocument. More... | |
void | ReadBoundaryRegions (TiXmlElement *regions) |
void | ReadBoundaryConditions (TiXmlElement *conditions) |
void | CreateBoundaryComms () |
Definition at line 230 of file Conditions.h.
Nektar::SpatialDomains::BoundaryConditions::BoundaryConditions | ( | const LibUtilities::SessionReaderSharedPtr & | pSession, |
const MeshGraphSharedPtr & | meshGraph | ||
) |
Constructor - collective on the session's communicator.
Definition at line 50 of file Conditions.cpp.
References m_session, and Read().
Nektar::SpatialDomains::BoundaryConditions::BoundaryConditions | ( | void | ) |
Definition at line 59 of file Conditions.cpp.
Nektar::SpatialDomains::BoundaryConditions::~BoundaryConditions | ( | void | ) |
Definition at line 63 of file Conditions.cpp.
|
inline |
Definition at line 254 of file Conditions.h.
References m_boundaryConditions.
|
inline |
Definition at line 243 of file Conditions.h.
References m_boundaryRegions.
|
private |
Create a new communicator for each boundary region. Collective on the session's communicator.
Definition at line 175 of file Conditions.cpp.
References ASSERTL0, Nektar::iterator, m_boundaryCommunicators, m_boundaryRegions, m_session, and Nektar::SpatialDomains::ShareAllBoundaryIDs().
Referenced by Read().
|
inline |
Definition at line 248 of file Conditions.h.
References m_boundaryConditions.
Referenced by Nektar::MultiRegions::DisContField2D::FindPeriodicEdges(), Nektar::MultiRegions::DisContField3D::FindPeriodicFaces(), Nektar::MultiRegions::DisContField1D::FindPeriodicVertices(), Nektar::MultiRegions::DisContField3D::GenerateBoundaryConditionExpansion(), Nektar::MultiRegions::DisContField1D::GenerateBoundaryConditionExpansion(), Nektar::MultiRegions::DisContField2D::GenerateBoundaryConditionExpansion(), Nektar::MultiRegions::DisContField1D::GetDomainBCs(), Nektar::MultiRegions::DisContField1D::SetBoundaryConditionExpansion(), and Nektar::MultiRegions::DisContField3DHomogeneous1D::SetupBoundaryConditions().
|
inline |
Definition at line 238 of file Conditions.h.
References m_boundaryRegions.
Referenced by Extractlayerdata(), Nektar::MultiRegions::DisContField2D::FindPeriodicEdges(), Nektar::MultiRegions::DisContField3D::FindPeriodicFaces(), Nektar::MultiRegions::DisContField1D::FindPeriodicVertices(), Nektar::MultiRegions::DisContField1D::GenerateBoundaryConditionExpansion(), Nektar::MultiRegions::DisContField3D::GenerateBoundaryConditionExpansion(), Nektar::MultiRegions::DisContField2D::GenerateBoundaryConditionExpansion(), Nektar::MultiRegions::DisContField1D::GetDomainBCs(), main(), Nektar::FieldUtils::ProcessBoundaryExtract::Process(), Nektar::FieldUtils::OutputFld::Process(), Nektar::FieldUtils::ProcessWSS::Process(), Nektar::MultiRegions::DisContField1D::SetBoundaryConditionExpansion(), Nektar::MultiRegions::DisContField3DHomogeneous2D::SetupBoundaryConditions(), Nektar::MultiRegions::DisContField3DHomogeneous1D::SetupBoundaryConditions(), Nektar::FilterMovingBody::v_Initialise(), and Nektar::SolverUtils::FilterAeroForces::v_Initialise().
|
inline |
Definition at line 259 of file Conditions.h.
References m_session.
|
private |
Read segments (and general MeshGraph) given TiXmlDocument.
Collective on the session's communicator.
Definition at line 205 of file Conditions.cpp.
References ASSERTL0, CreateBoundaryComms(), ReadBoundaryConditions(), and ReadBoundaryRegions().
Referenced by BoundaryConditions().
|
private |
Definition at line 301 of file Conditions.cpp.
References ASSERTL0, Nektar::StdRegions::find(), Nektar::ParseUtils::GenerateSeqVector(), Nektar::iterator, m_boundaryCommunicators, m_boundaryConditions, m_boundaryRegions, and m_session.
Referenced by Read().
|
private |
All elements are of the form: "<B ID="#"> ... </B>", with ? being the element type.
Definition at line 223 of file Conditions.cpp.
References ASSERTL0, m_boundaryRegions, and m_meshGraph.
Referenced by Read().
|
protected |
Definition at line 271 of file Conditions.h.
Referenced by CreateBoundaryComms(), and ReadBoundaryConditions().
|
protected |
Definition at line 270 of file Conditions.h.
Referenced by AddBoundaryConditions(), GetBoundaryConditions(), and ReadBoundaryConditions().
|
protected |
Definition at line 269 of file Conditions.h.
Referenced by AddBoundaryRegions(), CreateBoundaryComms(), GetBoundaryRegions(), ReadBoundaryConditions(), and ReadBoundaryRegions().
|
protected |
The mesh graph to use for referencing geometry info.
Definition at line 266 of file Conditions.h.
Referenced by ReadBoundaryRegions().
|
protected |
Definition at line 267 of file Conditions.h.
Referenced by BoundaryConditions(), CreateBoundaryComms(), GetVariable(), and ReadBoundaryConditions().