ug4
|
#include <z_ray_tracer.hpp>
Public Member Functions | |
bool | get_min_at (const MathVector< dim > &over, number tolerance, number &z) |
computes the minimum z-coordiate of the top (returns true if the top found, false otherwise) More... | |
ZRayTracer (SmartPtr< domain_type > sp_domain, const std::string &top_ss_names, int grid_level, bool useLocalTopFacesOnly=false) | |
class constructor More... | |
Private Types | |
typedef TDomain | domain_type |
grid function type More... | |
typedef domain_type::position_attachment_type | position_attachment_type |
type of the position accessor More... | |
typedef grid_dim_traits< dim-1 >::element_type | side_t |
side type More... | |
typedef RayElemIntersectionRecord< side_t * > | top_intersection_record_t |
typedef lg_ntree< dim-1, dim, side_t > | top_tracer_tree_t |
Private Attributes | |
SmartPtr< domain_type > | m_sp_domain |
multigrid of the domain More... | |
Grid | m_top_grid |
auxiliary grid of the top faces More... | |
std::vector< top_intersection_record_t > | m_top_intersection_records |
array to store all the intersections More... | |
SubsetGroup | m_top_ss_grp |
subset group of the top faces More... | |
top_tracer_tree_t | m_top_tracer_tree |
tracer tree of the top faces More... | |
Static Private Attributes | |
static const int | dim = domain_type::dim |
world dimension More... | |
|
private |
grid function type
|
private |
type of the position accessor
|
private |
side type
|
private |
|
private |
|
inline |
class constructor
sp_domain | the domain |
top_ss_names | top surface subset names |
References ug::GridDataSerializationHandler::add(), ug::AllGatherGrid(), ug::Grid::begin(), ug::MultiGridSubsetHandler::begin(), ug::lg_ntree< tree_dim, world_dim, grid_elem_t >::create_tree(), ug::Grid::distributed_grid_manager(), ug::Grid::end(), ug::MultiGridSubsetHandler::end(), ug::MultiGrid::has_children(), ug::DistributedGridManager::is_ghost(), ug::ZRayTracer< TDomain >::m_sp_domain, ug::ZRayTracer< TDomain >::m_top_grid, ug::ZRayTracer< TDomain >::m_top_ss_grp, ug::ZRayTracer< TDomain >::m_top_tracer_tree, ug::MultiGridSubsetHandler::num_levels(), ug::ISelector::select(), ug::lg_ntree< tree_dim, world_dim, grid_elem_t >::set_grid(), and ug::SubsetGroup::size().
|
inline |
computes the minimum z-coordiate of the top (returns true if the top found, false otherwise)
over | to look over this point |
tolerance | the tolerance of the ray tracer |
z | the result |
References ug::ZRayTracer< TDomain >::dim, ug::ZRayTracer< TDomain >::m_top_intersection_records, ug::ZRayTracer< TDomain >::m_top_tracer_tree, ug::PointOnRay(), ug::RayElementIntersections(), and ug::RayElemIntersectionRecord< TElem >::smin.
|
staticprivate |
world dimension
Referenced by ug::ZRayTracer< TDomain >::get_min_at().
|
private |
multigrid of the domain
Referenced by ug::ZRayTracer< TDomain >::ZRayTracer().
|
private |
auxiliary grid of the top faces
Referenced by ug::ZRayTracer< TDomain >::ZRayTracer().
|
private |
array to store all the intersections
Referenced by ug::ZRayTracer< TDomain >::get_min_at().
|
private |
subset group of the top faces
Referenced by ug::ZRayTracer< TDomain >::ZRayTracer().
|
private |
tracer tree of the top faces
Referenced by ug::ZRayTracer< TDomain >::get_min_at(), and ug::ZRayTracer< TDomain >::ZRayTracer().