#include "moab/Core.hpp"
#include "moab/Range.hpp"
#include "moab/Skinner.hpp"
#include "moab/LloydSmoother.hpp"
#include "moab/ProgOptions.hpp"
#include "moab/BoundBox.hpp"
#include "moab/SpatialLocator.hpp"
#include "MBTagConventions.hpp"
#include "DataCoupler.hpp"
#include <iostream>
#include <set>
#include <sstream>
#include <cassert>
Go to the source code of this file.
Classes | |
class | DeformMeshRemap |
Macros | |
#define | MESH_DIR "." |
Functions | |
ErrorCode | read_file (string &fname, EntityHandle &seth, Range &solids, Range &solid_elems, Range &fluids, Range &fluid_elems) |
void | deform_func (const BoundBox &bbox, double *xold, double *xnew) |
ErrorCode | deform_master (Range &fluid_elems, Range &solid_elems, Tag &xnew) |
ErrorCode | smooth_master (int dim, Tag xnew, EntityHandle &master, Range &fluids) |
ErrorCode | write_to_coords (Range &elems, Tag tagh) |
int | main (int argc, char **argv) |
Variables | |
const int | SOLID_SETNO = 100 |
const int | FLUID_SETNO = 200 |
Interface * | mb |
const bool | debug = true |
#define MESH_DIR "." |
Definition at line 36 of file DeformMeshRemap.cpp.
void deform_func | ( | const BoundBox & | bbox, |
double * | xold, | ||
double * | xnew | ||
) |
Definition at line 544 of file DeformMeshRemap.cpp.
References moab::BoundBox::bMin.
Referenced by DeformMeshRemap::deform_master().
Referenced by DeformMeshRemap::execute().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 427 of file DeformMeshRemap.cpp.
References DeformMeshRemap::add_set_no(), ProgOptions::addOpt(), ErrorCode, DeformMeshRemap::execute(), DeformMeshRemap::FLUID, ProgOptions::getOpt(), ProgOptions::getOptAllArgs(), DeformMeshRemap::MASTER, mb, MESH_DIR, ProgOptions::parseCommandLine(), DeformMeshRemap::set_file_name(), DeformMeshRemap::SLAVE, DeformMeshRemap::SOLID, and DeformMeshRemap::xdisp_name().
ErrorCode read_file | ( | string & | fname, |
EntityHandle & | seth, | ||
Range & | solids, | ||
Range & | solid_elems, | ||
Range & | fluids, | ||
Range & | fluid_elems | ||
) |
Referenced by DeformMeshRemap::execute().
ErrorCode smooth_master | ( | int | dim, |
Tag | xnew, | ||
EntityHandle & | master, | ||
Range & | fluids | ||
) |
Referenced by DeformMeshRemap::execute().
const bool debug = true |
Definition at line 54 of file DeformMeshRemap.cpp.
Referenced by DeformMeshRemap::deform_master(), DeformMeshRemap::find_other_sets(), and DeformMeshRemap::read_file().
const int FLUID_SETNO = 200 |
Definition at line 50 of file DeformMeshRemap.cpp.
Interface* mb |
Definition at line 52 of file DeformMeshRemap.cpp.
Referenced by main().
const int SOLID_SETNO = 100 |
Definition at line 50 of file DeformMeshRemap.cpp.