OGS
|
2013/13/06 KR Initial implementation
Definition in file NodeReordering.cpp.
#include <tclap/CmdLine.h>
#include <algorithm>
#include <array>
#include <memory>
#include <vector>
#include "BaseLib/Algorithm.h"
#include "InfoLib/GitInfo.h"
#include "MeshLib/Elements/Element.h"
#include "MeshLib/IO/readMeshFromFile.h"
#include "MeshLib/IO/writeMeshToFile.h"
#include "MeshLib/Mesh.h"
#include "MeshLib/Node.h"
Go to the source code of this file.
Functions | |
void | reorderNodes (std::vector< MeshLib::Element * > &elements) |
void | reorderNodes2 (std::vector< MeshLib::Element * > &elements) |
void | reorderNonlinearNodes (MeshLib::Mesh &mesh) |
int | main (int argc, char *argv[]) |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 146 of file NodeReordering.cpp.
References INFO(), GitInfoLib::GitInfo::ogs_version, MeshLib::IO::readMeshFromFile(), reorderNodes(), reorderNodes2(), reorderNonlinearNodes(), and MeshLib::IO::writeMeshToFile().
void reorderNodes | ( | std::vector< MeshLib::Element * > & | elements | ) |
Re-ordering mesh elements to correct Data Explorer 5 meshes to work with Data Explorer 6.
Definition at line 29 of file NodeReordering.cpp.
References getNodes(), MeshLib::HEXAHEDRON, INFO(), MeshLib::PRISM, MeshLib::PYRAMID, and MeshLib::TETRAHEDRON.
Referenced by main().
void reorderNodes2 | ( | std::vector< MeshLib::Element * > & | elements | ) |
Re-ordering prism elements to correct OGS6 meshes with and without InSitu-Lib
Definition at line 86 of file NodeReordering.cpp.
References getNodes(), and MeshLib::PRISM.
Referenced by main().
void reorderNonlinearNodes | ( | MeshLib::Mesh & | mesh | ) |
Definition at line 110 of file NodeReordering.cpp.
References MeshLib::Mesh::getElements(), MathLib::Point3dWithID::getID(), MeshLib::Mesh::getNodes(), BaseLib::makeVectorUnique(), and MeshLib::Mesh::resetNodeIDs().
Referenced by main().