#include <LloydSmoother.hpp>
Public Member Functions | |
LloydSmoother (Interface *impl) | |
LloydSmoother (Interface *impl, ParallelComm *pc, Range &elems, Tag cds_tag=0, Tag fixed_tag=0, double abs_tol=-1.0, double rel_tol=1.0e-6) | |
~LloydSmoother () | |
ErrorCode | perform_smooth () |
Interface * | mb_impl () |
ParallelComm * | pcomm () |
void | pcomm (ParallelComm *pc) |
Range & | elems () |
const Range & | elems () const |
Tag | fixed_tag () |
void | fixed_tag (Tag fixed) |
Tag | coords_tag () |
void | coords_tag (Tag coords) |
double | abs_tol () |
void | abs_tol (double tol) |
double | rel_tol () |
void | rel_tol (double tol) |
int | num_its () |
void | num_its (int num) |
int | report_its () |
void | report_its (int num) |
Private Member Functions | |
ErrorCode | initialize () |
Private Attributes | |
Interface * | mbImpl |
ParallelComm * | myPcomm |
Range | myElems |
Tag | coordsTag |
Tag | fixedTag |
double | absTol |
double | relTol |
int | reportIts |
int | numIts |
bool | iCreatedTag |
Definition at line 26 of file LloydSmoother.hpp.
moab::LloydSmoother::LloydSmoother | ( | Interface * | impl | ) |
moab::LloydSmoother::LloydSmoother | ( | Interface * | impl, |
ParallelComm * | pc, | ||
Range & | elems, | ||
Tag | cds_tag = 0 , |
||
Tag | fixed_tag = 0 , |
||
double | abs_tol = -1.0 , |
||
double | rel_tol = 1.0e-6 |
||
) |
moab::LloydSmoother::~LloydSmoother | ( | ) |
Definition at line 23 of file LloydSmoother.cpp.
References ErrorCode, fixedTag, iCreatedTag, MB_CHK_SET_ERR_RET, mbImpl, and moab::Interface::tag_delete().
|
inline |
|
inline |
|
inline |
Definition at line 113 of file LloydSmoother.hpp.
References coordsTag.
|
inline |
Definition at line 120 of file LloydSmoother.hpp.
References coordsTag.
|
inline |
|
inline |
|
inline |
Definition at line 99 of file LloydSmoother.hpp.
References fixedTag.
|
inline |
Definition at line 106 of file LloydSmoother.hpp.
References fixedTag.
|
private |
Definition at line 207 of file LloydSmoother.cpp.
References ErrorCode, moab::ParallelComm::filter_pstatus(), moab::Skinner::find_skin(), fixedTag, moab::Interface::get_adjacencies(), iCreatedTag, MB_CHK_SET_ERR, MB_SUCCESS, MB_TAG_CREAT, MB_TAG_DENSE, MB_TYPE_OPAQUE, mbImpl, myElems, myPcomm, PSTATUS_GHOST, PSTATUS_INTERFACE, PSTATUS_NOT, moab::Range::size(), moab::Interface::tag_get_handle(), moab::Interface::tag_set_data(), and moab::Interface::UNION.
Referenced by perform_smooth().
|
inline |
|
inline |
Definition at line 155 of file LloydSmoother.hpp.
References numIts.
Referenced by DeformMeshRemap::execute().
|
inline |
|
inline |
|
inline |
ErrorCode moab::LloydSmoother::perform_smooth | ( | ) |
Definition at line 31 of file LloydSmoother.cpp.
References absTol, moab::Range::begin(), moab::ParallelComm::comm(), coordsTag, moab::BoundBox::diagonal_length(), dim, moab::Interface::dimension_from_handle(), moab::Range::empty(), moab::Range::end(), ErrorCode, moab::ParallelComm::exchange_tags(), moab::ParallelComm::filter_pstatus(), fixedTag, moab::Interface::get_adjacencies(), moab::Interface::get_connectivity(), moab::Interface::get_coords(), initialize(), moab::Range::insert(), length(), moab::CN::MAX_NODES_PER_ELEMENT, MB_CHK_SET_ERR, MB_SET_ERR, MB_SUCCESS, MB_TAG_CREAT, MB_TAG_DENSE, MB_TYPE_DOUBLE, mbImpl, myElems, myPcomm, numIts, PSTATUS_AND, PSTATUS_NOT, PSTATUS_NOT_OWNED, PSTATUS_SHARED, moab::ParallelComm::rank(), moab::Range::rbegin(), relTol, reportIts, moab::Interface::set_coords(), moab::Range::size(), moab::ParallelComm::size(), moab::Interface::tag_get_data(), moab::Interface::tag_get_handle(), moab::Interface::tag_set_data(), moab::Interface::UNION, and moab::BoundBox::update().
Referenced by DeformMeshRemap::execute(), and run_local_smoother().
|
inline |
|
inline |
|
inline |
Definition at line 166 of file LloydSmoother.hpp.
References reportIts.
|
inline |
Definition at line 170 of file LloydSmoother.hpp.
References reportIts.
|
private |
Definition at line 195 of file LloydSmoother.hpp.
Referenced by abs_tol(), and perform_smooth().
|
private |
Definition at line 189 of file LloydSmoother.hpp.
Referenced by coords_tag(), and perform_smooth().
|
private |
Definition at line 192 of file LloydSmoother.hpp.
Referenced by fixed_tag(), initialize(), perform_smooth(), and ~LloydSmoother().
|
private |
Definition at line 204 of file LloydSmoother.hpp.
Referenced by initialize(), and ~LloydSmoother().
|
private |
Definition at line 180 of file LloydSmoother.hpp.
Referenced by initialize(), mb_impl(), perform_smooth(), and ~LloydSmoother().
|
private |
Definition at line 186 of file LloydSmoother.hpp.
Referenced by elems(), initialize(), and perform_smooth().
|
private |
Definition at line 183 of file LloydSmoother.hpp.
Referenced by initialize(), pcomm(), and perform_smooth().
|
private |
Definition at line 201 of file LloydSmoother.hpp.
Referenced by num_its(), and perform_smooth().
|
private |
Definition at line 195 of file LloydSmoother.hpp.
Referenced by perform_smooth(), and rel_tol().
|
private |
Definition at line 198 of file LloydSmoother.hpp.
Referenced by perform_smooth(), and report_its().