Nektar++
|
#include <ProcessVarOpti.h>
Public Member Functions | |
ProcessVarOpti (MeshSharedPtr m) | |
virtual | ~ProcessVarOpti () |
virtual void | Process () |
Public Member Functions inherited from Nektar::NekMeshUtils::ProcessModule | |
NEKMESHUTILS_EXPORT | ProcessModule (MeshSharedPtr p_m) |
Public Member Functions inherited from Nektar::NekMeshUtils::Module | |
NEKMESHUTILS_EXPORT | Module (MeshSharedPtr p_m) |
NEKMESHUTILS_EXPORT void | RegisterConfig (std::string key, std::string value) |
Register a configuration option with a module. More... | |
NEKMESHUTILS_EXPORT void | PrintConfig () |
Print out all configuration options for a module. More... | |
NEKMESHUTILS_EXPORT void | SetDefaults () |
Sets default configuration options for those which have not been set. More... | |
NEKMESHUTILS_EXPORT MeshSharedPtr | GetMesh () |
virtual NEKMESHUTILS_EXPORT void | ProcessVertices () |
Extract element vertices. More... | |
virtual NEKMESHUTILS_EXPORT void | ProcessEdges (bool ReprocessEdges=true) |
Extract element edges. More... | |
virtual NEKMESHUTILS_EXPORT void | ProcessFaces (bool ReprocessFaces=true) |
Extract element faces. More... | |
virtual NEKMESHUTILS_EXPORT void | ProcessElements () |
Generate element IDs. More... | |
virtual NEKMESHUTILS_EXPORT void | ProcessComposites () |
Generate composites. More... | |
virtual NEKMESHUTILS_EXPORT void | ClearElementLinks () |
Static Public Member Functions | |
static boost::shared_ptr< Module > | create (MeshSharedPtr m) |
Creates an instance of this class. More... | |
Static Public Attributes | |
static ModuleKey | className |
Private Types | |
typedef std::map< int, std::vector< ElUtilSharedPtr > > | NodeElMap |
Private Member Functions | |
void | Analytics () |
std::map < LibUtilities::ShapeType, DerivUtilSharedPtr > | BuildDerivUtil (int o) |
void | GetElementMap (int o, std::map< LibUtilities::ShapeType, DerivUtilSharedPtr > derMap) |
std::vector< ElUtilSharedPtr > | GetLockedElements (NekDouble thres) |
std::vector< std::vector < NodeSharedPtr > > | CreateColoursets (std::vector< NodeSharedPtr > remain) |
std::vector< std::vector < NodeSharedPtr > > | GetColouredNodes (std::vector< ElUtilSharedPtr > elLock) |
void | RemoveLinearCurvature () |
Private Attributes | |
NodeElMap | m_nodeElMap |
std::vector< ElUtilSharedPtr > | m_dataSet |
ResidualSharedPtr | m_res |
optiType | m_opti |
Additional Inherited Members | |
Protected Member Functions inherited from Nektar::NekMeshUtils::Module | |
NEKMESHUTILS_EXPORT void | ReorderPrisms (PerMap &perFaces) |
Reorder node IDs so that prisms and tetrahedra are aligned correctly. More... | |
NEKMESHUTILS_EXPORT void | PrismLines (int prism, PerMap &perFaces, std::set< int > &prismsDone, std::vector< ElementSharedPtr > &line) |
Protected Attributes inherited from Nektar::NekMeshUtils::Module | |
MeshSharedPtr | m_mesh |
Mesh object. More... | |
std::map< std::string, ConfigOption > | m_config |
List of configuration values. More... | |
Definition at line 83 of file ProcessVarOpti.h.
|
private |
Definition at line 101 of file ProcessVarOpti.h.
Nektar::Utilities::ProcessVarOpti::ProcessVarOpti | ( | MeshSharedPtr | m | ) |
Definition at line 67 of file ProcessVarOpti.cpp.
References Nektar::NekMeshUtils::Module::m_config.
|
virtual |
Definition at line 99 of file ProcessVarOpti.cpp.
|
private |
Definition at line 447 of file ProcessVarOpti.cpp.
References BuildDerivUtil(), Nektar::LibUtilities::NekFactory< tKey, tBase, >::CreateInstance(), GetElementMap(), Nektar::Utilities::GetNodeOptiFactory(), m_dataSet, Nektar::NekMeshUtils::Module::m_mesh, m_nodeElMap, m_opti, and m_res.
Referenced by Process().
|
private |
Definition at line 49 of file PreProcessing.cpp.
References ASSERTL0, Nektar::LibUtilities::eHexahedron, Nektar::LibUtilities::eNodalPrismElec, Nektar::LibUtilities::eNodalPrismSPI, Nektar::LibUtilities::eNodalQuadElec, Nektar::LibUtilities::eNodalTetElec, Nektar::LibUtilities::eNodalTetSPI, Nektar::LibUtilities::eNodalTriElec, Nektar::LibUtilities::eNodalTriSPI, Nektar::LibUtilities::ePrism, Nektar::LibUtilities::eQuadrilateral, Nektar::LibUtilities::eTetrahedron, Nektar::LibUtilities::eTriangle, Nektar::LibUtilities::NodalUtil::GetInterpolationMatrix(), Nektar::LibUtilities::NodalUtil::GetVandermonde(), Nektar::LibUtilities::NodalUtil::GetVandermondeForDeriv(), Nektar::iterator, and Nektar::LibUtilities::PointsManager().
Referenced by Analytics(), and Process().
|
inlinestatic |
Creates an instance of this class.
Definition at line 87 of file ProcessVarOpti.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr().
|
private |
Definition at line 455 of file PreProcessing.cpp.
References ASSERTL0, Nektar::iterator, and Nektar::LibUtilities::PrintProgressbar().
|
private |
Definition at line 186 of file PreProcessing.cpp.
References ASSERTL0, and Nektar::iterator.
Referenced by Process().
|
private |
Definition at line 520 of file PreProcessing.cpp.
References ASSERTL0.
Referenced by Analytics(), and Process().
|
private |
Definition at line 549 of file PreProcessing.cpp.
References Nektar::iterator.
Referenced by Process().
|
virtual |
Implements Nektar::NekMeshUtils::Module.
Definition at line 103 of file ProcessVarOpti.cpp.
References Analytics(), ASSERTL0, BuildDerivUtil(), Nektar::Thread::ThreadMaster::CreateInstance(), Nektar::LibUtilities::eGaussLobattoLegendre, Nektar::Utilities::eHypEl, Nektar::Utilities::eLinEl, Nektar::Utilities::eRoca, Nektar::Utilities::eWins, GetColouredNodes(), GetElementMap(), GetLockedElements(), Nektar::Utilities::GetNodeOptiFactory(), Nektar::iterator, Nektar::NekMeshUtils::Module::m_config, m_dataSet, Nektar::NekMeshUtils::Module::m_mesh, m_nodeElMap, m_opti, m_res, CellMLToNektar.cellml_metadata::p, Nektar::Thread::ThreadMaster::SessionJob, Nektar::Thread::ThreadMaster::SetThreadingType(), Nektar::Timer::Start(), Nektar::Timer::Stop(), and Nektar::Timer::TimePerTest().
|
private |
Definition at line 627 of file PreProcessing.cpp.
References ASSERTL0, and Nektar::iterator.
|
static |
Definition at line 91 of file ProcessVarOpti.h.
|
private |
Definition at line 115 of file ProcessVarOpti.h.
Referenced by Analytics(), and Process().
|
private |
Definition at line 114 of file ProcessVarOpti.h.
Referenced by Analytics(), and Process().
|
private |
Definition at line 118 of file ProcessVarOpti.h.
Referenced by Analytics(), and Process().
|
private |
Definition at line 117 of file ProcessVarOpti.h.
Referenced by Analytics(), and Process().