Nektar++
|
#include <cstdio>
#include <cstdlib>
#include <iomanip>
#include <LibUtilities/BasicUtils/ParseUtils.h>
#include <MultiRegions/ExpList.h>
#include <SpatialDomains/MeshGraphIO.h>
#include <tinyxml.h>
#include "ExtractCriticalLayerFunctions.h"
Go to the source code of this file.
Classes | |
struct | MoveVerts |
Enumerations | |
enum | SolveType { eSolveX , eSolveY , eSolveXY , eNoSolve } |
Functions | |
void | GetInterfaceVerts (const int compositeID, SpatialDomains::MeshGraphSharedPtr &mesh, vector< int > &InterfaceVerts) |
void | GetStreakLocation (LibUtilities::SessionReaderSharedPtr &vSession, SpatialDomains::MeshGraphSharedPtr &mesh, string &fieldfile, Array< OneD, NekDouble > &xc, Array< OneD, NekDouble > &yc) |
void | GetNewVertexLocation (TiXmlElement *doc, SpatialDomains::MeshGraphSharedPtr &mesh, vector< int > &InterfaceVerts, Array< OneD, NekDouble > &xstreak, Array< OneD, NekDouble > &ystreak, Array< OneD, NekDouble > &vertx, Array< OneD, NekDouble > &verty, int maxiter) |
void | TurnOffEdges (TiXmlElement *doc, SpatialDomains::SegGeomMap &meshedges, Array< OneD, MoveVerts > &verts) |
void | RedefineVertices (TiXmlElement *doc, Array< OneD, NekDouble > &dvertx, Array< OneD, NekDouble > &dverty) |
void | EnforceRotationalSymmetry (SpatialDomains::MeshGraphSharedPtr &mesh, Array< OneD, NekDouble > &dvertx, Array< OneD, NekDouble > &dverty) |
int | main (int argc, char *argv[]) |
enum SolveType |
void EnforceRotationalSymmetry | ( | SpatialDomains::MeshGraphSharedPtr & | mesh, |
Array< OneD, NekDouble > & | dvertx, | ||
Array< OneD, NekDouble > & | dverty | ||
) |
Definition at line 689 of file MoveMeshToCriticalLayer.cpp.
References Vmath::Vmax().
Referenced by main().
void GetInterfaceVerts | ( | const int | compositeID, |
SpatialDomains::MeshGraphSharedPtr & | mesh, | ||
vector< int > & | InterfaceVerts | ||
) |
Definition at line 162 of file MoveMeshToCriticalLayer.cpp.
Referenced by main().
void GetNewVertexLocation | ( | TiXmlElement * | doc, |
SpatialDomains::MeshGraphSharedPtr & | mesh, | ||
vector< int > & | InterfaceVerts, | ||
Array< OneD, NekDouble > & | xstreak, | ||
Array< OneD, NekDouble > & | ystreak, | ||
Array< OneD, NekDouble > & | vertx, | ||
Array< OneD, NekDouble > & | verty, | ||
int | maxiter | ||
) |
Definition at line 223 of file MoveMeshToCriticalLayer.cpp.
References ASSERTL0, Nektar::SpatialDomains::PointGeom::dist(), eNoSolve, eSolveX, eSolveXY, eSolveY, tinysimd::sqrt(), TurnOffEdges(), and Nektar::UnitTests::z().
Referenced by main().
void GetStreakLocation | ( | LibUtilities::SessionReaderSharedPtr & | vSession, |
SpatialDomains::MeshGraphSharedPtr & | mesh, | ||
string & | fieldfile, | ||
Array< OneD, NekDouble > & | xc, | ||
Array< OneD, NekDouble > & | yc | ||
) |
Definition at line 187 of file MoveMeshToCriticalLayer.cpp.
References Computestreakpositions(), and Nektar::LibUtilities::Import().
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 91 of file MoveMeshToCriticalLayer.cpp.
References EnforceRotationalSymmetry(), GetInterfaceVerts(), GetNewVertexLocation(), GetStreakLocation(), and RedefineVertices().
void RedefineVertices | ( | TiXmlElement * | doc, |
Array< OneD, NekDouble > & | dvertx, | ||
Array< OneD, NekDouble > & | dverty | ||
) |
Error value returned by TinyXML.
Definition at line 616 of file MoveMeshToCriticalLayer.cpp.
References ASSERTL0.
Referenced by main().
void TurnOffEdges | ( | TiXmlElement * | doc, |
SpatialDomains::SegGeomMap & | meshedges, | ||
Array< OneD, MoveVerts > & | verts | ||
) |
All elements are of the form: "<C ID = "N"> ... </C>". Read the ID field first.
Parse out the element components corresponding to type of element.
Keep looking
Definition at line 462 of file MoveMeshToCriticalLayer.cpp.
References ASSERTL0, eNoSolve, eSolveX, eSolveY, FilterPython_Function::field, and NEKERROR.
Referenced by GetNewVertexLocation().