#include <Intx2MeshOnSphere.hpp>
Public Attributes | |
const IntxAreaUtils::AreaMethod | areaMethod |
Private Attributes | |
int | plane |
double | Rsrc |
double | Rdest |
Additional Inherited Members | |
Protected Attributes inherited from moab::Intx2Mesh | |
Interface * | mb |
EntityHandle | mbs1 |
EntityHandle | mbs2 |
Range | rs1 |
Range | rs2 |
EntityHandle | outSet |
Tag | gid |
Tag | TgtFlagTag |
Range | TgtEdges |
Tag | tgtParentTag |
Tag | srcParentTag |
Tag | countTag |
Tag | srcNeighTag |
Tag | tgtNeighTag |
Tag | neighTgtEdgeTag |
Tag | orgSendProcTag |
Tag | imaskTag |
for coverage mesh, will store the original sender More... | |
const EntityHandle * | tgtConn |
const EntityHandle * | srcConn |
CartVect | tgtCoords [MAXEDGES] |
CartVect | srcCoords [MAXEDGES] |
double | tgtCoords2D [MAXEDGES2] |
double | srcCoords2D [MAXEDGES2] |
std::vector< std::vector< EntityHandle > * > | extraNodesVec |
double | epsilon_1 |
double | epsilon_area |
std::vector< double > | allBoxes |
double | box_error |
EntityHandle | localRoot |
Range | localEnts |
unsigned int | my_rank |
int | max_edges_1 |
int | max_edges_2 |
int | counting |
Definition at line 16 of file Intx2MeshOnSphere.hpp.
moab::Intx2MeshOnSphere::Intx2MeshOnSphere | ( | Interface * | mbimpl, |
IntxAreaUtils::AreaMethod | amethod = IntxAreaUtils::lHuiller |
||
) |
Definition at line 28 of file Intx2MeshOnSphere.cpp.
|
virtual |
Definition at line 33 of file Intx2MeshOnSphere.cpp.
|
virtual |
Implements moab::Intx2Mesh.
Definition at line 78 of file Intx2MeshOnSphere.cpp.
References moab::IntxUtils::area2D(), moab::IntxUtils::borderPointsOfXinY2(), moab::GeomUtil::bounding_boxes_overlap(), moab::GeomUtil::bounding_boxes_overlap_2d(), moab::Intx2Mesh::box_error, moab::IntxUtils::decide_gnomonic_plane(), moab::IntxUtils::EdgeIntersections2(), moab::Intx2Mesh::epsilon_1, moab::Intx2Mesh::epsilon_area, ErrorCode, moab::Interface::get_connectivity(), moab::Interface::get_coords(), moab::IntxUtils::gnomonic_projection(), moab::Interface::id_from_handle(), moab::Interface::list_entities(), MAXEDGES, moab::Intx2Mesh::mb, MB_CHK_ERR, MB_SUCCESS, plane, Rsrc, setup_tgt_cell(), moab::IntxUtils::SortAndRemoveDoubles2(), moab::Intx2Mesh::srcConn, moab::Intx2Mesh::srcCoords, moab::Intx2Mesh::srcCoords2D, moab::Intx2Mesh::tgtCoords, and moab::Intx2Mesh::tgtCoords2D.
|
virtual |
Implements moab::Intx2Mesh.
Definition at line 247 of file Intx2MeshOnSphere.cpp.
References moab::Interface::add_entities(), moab::IntxUtils::area2D(), moab::CartVect::array(), moab::Intx2Mesh::correct_polygon(), moab::Intx2Mesh::counting, moab::Intx2Mesh::countTag, moab::Interface::create_element(), moab::Interface::create_vertex(), moab::IntxUtils::dist2(), moab::Intx2Mesh::epsilon_1, ErrorCode, moab::Intx2Mesh::extraNodesVec, moab::Interface::get_coords(), moab::Intx2Mesh::gid, moab::Interface::id_from_handle(), moab::Range::index(), length(), MAXEDGES, moab::Intx2Mesh::mb, MB_CHK_ERR, MB_CHK_SET_ERR, MB_SUCCESS, MBPOLYGON, moab::Intx2Mesh::my_rank, moab::Intx2Mesh::neighTgtEdgeTag, moab::Intx2Mesh::orgSendProcTag, moab::Intx2Mesh::outSet, plane, Rdest, moab::IntxUtils::reverse_gnomonic_projection(), moab::Intx2Mesh::srcConn, moab::Intx2Mesh::srcCoords2D, moab::Intx2Mesh::srcParentTag, moab::Interface::tag_get_data(), moab::Interface::tag_set_data(), moab::Intx2Mesh::tgtConn, moab::Intx2Mesh::tgtCoords2D, moab::Intx2Mesh::TgtEdges, moab::Intx2Mesh::tgtParentTag, and moab::Interface::write_mesh().
|
inline |
Definition at line 27 of file Intx2MeshOnSphere.hpp.
References Rdest.
Referenced by moab::TempestRemapper::ConstructCoveringSet(), and main().
|
inline |
Definition at line 23 of file Intx2MeshOnSphere.hpp.
References Rsrc.
Referenced by moab::TempestRemapper::ConstructCoveringSet(), and main().
|
virtual |
Implements moab::Intx2Mesh.
Definition at line 38 of file Intx2MeshOnSphere.cpp.
References moab::IntxUtils::area2D(), moab::IntxUtils::decide_gnomonic_plane(), ErrorCode, moab::Interface::get_connectivity(), moab::Interface::get_coords(), moab::IntxUtils::gnomonic_projection(), moab::Intx2Mesh::mb, MB_CHK_ERR_RET_VAL, plane, Rdest, moab::Intx2Mesh::tgtConn, moab::Intx2Mesh::tgtCoords, and moab::Intx2Mesh::tgtCoords2D.
Referenced by computeIntersectionBetweenTgtAndSrc().
ErrorCode moab::Intx2MeshOnSphere::update_tracer_data | ( | EntityHandle | out_set, |
Tag & | tagElem, | ||
Tag & | tagArea | ||
) |
TODO: VSM: Its unclear whether we need the source or destination radius here.
Definition at line 520 of file Intx2MeshOnSphere.cpp.
References moab::IntxAreaUtils::area_spherical_element(), areaMethod, moab::Range::begin(), CORRTAGNAME, moab::dum, moab::Range::end(), ErrorCode, moab::Interface::get_entities_by_dimension(), moab::Intx2Mesh::gid, moab::Range::index(), moab::Intx2Mesh::mb, MB_CHK_SET_ERR, MB_SUCCESS, MB_TAG_DENSE, MB_TAG_NOT_FOUND, MB_TYPE_HANDLE, moab::Intx2Mesh::my_rank, moab::Intx2Mesh::rs1, moab::Intx2Mesh::rs2, Rsrc, moab::Range::size(), moab::Intx2Mesh::srcParentTag, moab::Interface::tag_get_data(), moab::Interface::tag_get_handle(), moab::Interface::tag_get_length(), moab::Interface::tag_iterate(), moab::Interface::tag_set_data(), and moab::Intx2Mesh::tgtParentTag.
const IntxAreaUtils::AreaMethod moab::Intx2MeshOnSphere::areaMethod |
Definition at line 59 of file Intx2MeshOnSphere.hpp.
Referenced by update_tracer_data().
|
private |
Definition at line 62 of file Intx2MeshOnSphere.hpp.
Referenced by computeIntersectionBetweenTgtAndSrc(), findNodes(), and setup_tgt_cell().
|
private |
Definition at line 63 of file Intx2MeshOnSphere.hpp.
Referenced by findNodes(), set_radius_destination_mesh(), and setup_tgt_cell().
|
private |
Definition at line 63 of file Intx2MeshOnSphere.hpp.
Referenced by computeIntersectionBetweenTgtAndSrc(), set_radius_source_mesh(), and update_tracer_data().