#include <spdlog/spdlog.h>
#include <tclap/CmdLine.h>
#include <vtkXMLUnstructuredGridReader.h>
#include <vtkXMLUnstructuredGridWriter.h>
#include <fstream>
#include <nlohmann/json.hpp>
#include "BaseLib/FileTools.h"
#include "BaseLib/Logging.h"
#include "ComputeNaturalCoordsAlgorithm.h"
#include "InfoLib/GitInfo.h"
Go to the source code of this file.
Functions | |
vtkSmartPointer< vtkUnstructuredGrid > | readGrid (std::string const &input_filename) |
void | writeGrid (vtkUnstructuredGrid *grid, std::string const &output_filename) |
Eigen::MatrixX3d | readJSON (TCLAP::ValueArg< std::string > const &input_filename) |
int | main (int argc, char **argv) |
int main | ( | int | argc, |
char ** | argv ) |
Definition at line 102 of file CreateAnchors.cpp.
References OGS_FATAL, GitInfoLib::GitInfo::ogs_version, readGrid(), readJSON(), BaseLib::setConsoleLogLevel(), and writeGrid().
vtkSmartPointer< vtkUnstructuredGrid > readGrid | ( | std::string const & | input_filename | ) |
Definition at line 23 of file CreateAnchors.cpp.
References BaseLib::IsFileExisting(), and OGS_FATAL.
Referenced by main().
Eigen::MatrixX3d readJSON | ( | TCLAP::ValueArg< std::string > const & | input_filename | ) |
Definition at line 53 of file CreateAnchors.cpp.
References OGS_FATAL.
Referenced by main().
void writeGrid | ( | vtkUnstructuredGrid * | grid, |
std::string const & | output_filename ) |
Definition at line 45 of file CreateAnchors.cpp.
Referenced by main().