#include <iostream>
#include <fstream>
#include <string>
#include <list>
#include <map>
#include <sstream>
#include <iomanip>
#include <vector>
#include <cstdio>
#include <cassert>
#include "TRAIL_UnixUtils.H"
#include "mpi.h"
#include "GEM.H"
#include "TRAIL.H"
#include "TRAIL_Flu.H"
#include "TRAIL_Remesh.H"
Go to the source code of this file.
Functions | |
COM_EXTERN_MODULE (Rocface) | |
COM_EXTERN_MODULE (Rocout) | |
COM_EXTERN_MODULE (Rocin) | |
COM_EXTERN_MODULE (Rocblas) | |
COM_EXTERN_MODULE (Rocsurf) | |
void | TRAIL_RemeshRunDirSetup (const std::string &path, double t, MPI_Comm comm, bool shuffle) |
void | TRAIL_RemeshShutdown (MPI_Comm comm) |
bool | TRAIL_RemeshInitFluSurfData (GEM_Partition &gp) |
bool | TRAIL_RemeshInitFluSurfData (GEM_DomainBoundary &db, int src_index) |
bool | TRAIL_RemeshInitFluVolData (GEM_Partition &gp, int src_index) |
void | TRAIL_RemeshFixRocstarFiles (GEM_Partition &gp, const std::string &path, double t) |
bool | TRAIL_RemeshAutoSurfer (GEM_Partition &gp, const std::string &src, const std::string &srcpath, const std::string &trgpath, const std::string &destpath, double t, MPI_Comm comm) |
void | TRAIL_RemeshShuffle (const std::string &solver, double t, bool debug) |
bool | TRAIL_RemeshWrite (GEM_Partition &gp, const std::string &solver, const std::string &srcd, const std::string &trgd, double t, MPI_Comm comm, bool surftrans, bool rocstarshuffle) |
COM_EXTERN_MODULE | ( | Rocface | ) |
COM_EXTERN_MODULE | ( | Rocout | ) |
COM_EXTERN_MODULE | ( | Rocin | ) |
COM_EXTERN_MODULE | ( | Rocblas | ) |
COM_EXTERN_MODULE | ( | Rocsurf | ) |
bool TRAIL_RemeshAutoSurfer | ( | GEM_Partition & | gp, |
const std::string & | src, | ||
const std::string & | srcpath, | ||
const std::string & | trgpath, | ||
const std::string & | destpath, | ||
double | t, | ||
MPI_Comm | comm | ||
) |
Definition at line 337 of file RemeshFunctions.C.
References GEM_Partition::_debug, GEM_Partition::_id, GEM_Partition::_out, rank, GEM_Partition::surface_window, TRAIL_AutoSurfer(), TRAIL_CreateDirectory(), TRAIL_CWD(), TRAIL_TimeString(), and TRAIL_TransferSurfDataFILE().
Referenced by TRAIL_RemeshWrite().
void TRAIL_RemeshFixRocstarFiles | ( | GEM_Partition & | gp, |
const std::string & | path, | ||
double | t | ||
) |
Definition at line 327 of file RemeshFunctions.C.
References GEM_Partition::_npart, GEM_Partition::surface_window, TRAIL_MergeRocinFiles(), and GEM_Partition::volume_window.
bool TRAIL_RemeshInitFluSurfData | ( | GEM_Partition & | gp | ) |
Definition at line 108 of file RemeshFunctions.C.
References GEM_Partition::_db, n, TRAIL_FluInitSurfSoln(), and TRAIL_RemeshInitFluSurfData().
Referenced by TRAIL_RemeshInitFluSurfData(), and TRAIL_RemeshWrite().
bool TRAIL_RemeshInitFluSurfData | ( | GEM_DomainBoundary & | db, |
int | src_index | ||
) |
Definition at line 121 of file RemeshFunctions.C.
References GEM_DomainBoundary::_data, GEM_DomainBoundary::_debug, GEM_UserData::_field_data, GEM_UserData::_int_data, GEM_DomainBoundary::_out, GEM_DomainBoundary::_quadconn, GEM_DomainBoundary::_solver_data, GEM_UserData::_stride_field, GEM_UserData::_stride_int, GEM_DomainBoundary::_triconn, and GEM_DomainBoundary::NNodes().
bool TRAIL_RemeshInitFluVolData | ( | GEM_Partition & | gp, |
int | src_index | ||
) |
Definition at line 248 of file RemeshFunctions.C.
References GEM_Partition::_data, GEM_UserData::_field_data, GEM_Partition::_hexconn, GEM_Partition::_nc, GEM_Partition::_prisconn, GEM_Partition::_pyrconn, GEM_Partition::_solver_data, GEM_UserData::_stride_field, GEM_Partition::_tetconn, and TRAIL_FluInitVolSoln().
Referenced by TRAIL_RemeshWrite().
void TRAIL_RemeshRunDirSetup | ( | const std::string & | path, |
double | t, | ||
MPI_Comm | comm, | ||
bool | shuffle | ||
) |
Definition at line 56 of file RemeshFunctions.C.
References rank, and TRAIL_CWD().
void TRAIL_RemeshShuffle | ( | const std::string & | solver, |
double | t, | ||
bool | debug | ||
) |
Definition at line 403 of file RemeshFunctions.C.
References ResolveLink(), and TRAIL_TimeString().
void TRAIL_RemeshShutdown | ( | MPI_Comm | comm | ) |
Definition at line 102 of file RemeshFunctions.C.
bool TRAIL_RemeshWrite | ( | GEM_Partition & | gp, |
const std::string & | solver, | ||
const std::string & | srcd, | ||
const std::string & | trgd, | ||
double | t, | ||
MPI_Comm | comm, | ||
bool | surftrans, | ||
bool | rocstarshuffle | ||
) |
Definition at line 795 of file RemeshFunctions.C.
References GEM_Partition::_debug, GEM_Partition::_npart, GEM_Partition::_out, COM_delete_window(), COM_new_window(), COM_set_profiling(), GEM_Partition::DestroyWindows(), GEM_Partition::InitRoccomWindows(), MPI_COMM_WORLD, rank, test(), TRAIL_CD(), TRAIL_CreateDirectory(), TRAIL_CWD(), TRAIL_FILEEXISTS(), TRAIL_FluCopyCaseFiles(), TRAIL_FluInitSolver(), TRAIL_FluPopRemBordIndFILE(), TRAIL_FluRegisterSurfMesh(), TRAIL_FluRegisterSurfSoln(), TRAIL_FluRegisterVolSoln(), TRAIL_FluWriteNative(), TRAIL_ISDIR(), TRAIL_ISLINK(), TRAIL_RemeshAutoSurfer(), TRAIL_RemeshInitFluSurfData(), TRAIL_RemeshInitFluVolData(), TRAIL_SafeRemove(), TRAIL_TimeString(), GEM_Partition::WindowInitDone(), and GEM_Partition::WriteRocstar().