ug4
|
Public Member Functions | |
BalanceWeightsLuaCallback (SmartPtr< TDomain > spDom, const char *luaCallbackName) | |
virtual number | get_weight (Edge *e) |
virtual number | get_weight (Face *e) |
virtual number | get_weight (Vertex *e) |
virtual number | get_weight (Volume *e) |
void | set_time (number time) |
number | time () const |
virtual | ~BalanceWeightsLuaCallback () |
Public Member Functions inherited from ug::IBalanceWeights | |
virtual number | get_refined_weight (Edge *e) |
virtual number | get_refined_weight (Face *e) |
todo: use a more sophisticated implementation More... | |
virtual number | get_refined_weight (Vertex *e) |
virtual number | get_refined_weight (Volume *e) |
todo: use a more sophisticated implementation More... | |
virtual bool | has_level_offsets () |
virtual void | refresh_weights (int baseLevel) |
virtual | ~IBalanceWeights () |
virtual bool | consider_in_level_above (Vertex *) |
Relative indicator in which level the specifed elements should be partitioned. More... | |
virtual bool | consider_in_level_above (Edge *) |
Relative indicator in which level the specifed elements should be partitioned. More... | |
virtual bool | consider_in_level_above (Face *) |
Relative indicator in which level the specifed elements should be partitioned. More... | |
virtual bool | consider_in_level_above (Volume *) |
Relative indicator in which level the specifed elements should be partitioned. More... | |
Private Types | |
typedef TDomain::position_accessor_type | aapos_t |
typedef TDomain::grid_type | grid_t |
typedef TDomain::position_type | pos_t |
Private Member Functions | |
template<class TElem > | |
number | get_weight_impl (TElem *e) |
Private Attributes | |
aapos_t | m_aaPos |
LuaFunction< number, number > | m_callback |
MultiGrid * | m_pmg |
SmartPtr< TDomain > | m_spDom |
number | m_time |
|
private |
|
private |
|
private |
|
inline |
References SmartPtr< T, FreePolicy >::get().
|
inlinevirtual |
|
inlinevirtual |
Reimplemented from ug::IBalanceWeights.
|
inlinevirtual |
Reimplemented from ug::IBalanceWeights.
|
inlinevirtual |
Reimplemented from ug::IBalanceWeights.
|
inlinevirtual |
Reimplemented from ug::IBalanceWeights.
|
inlineprivate |
References ug::CalculateCenter(), p, and ug::VecCopy().
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |