MIDAS  0.75
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
midaspace::DuplicatePoints Class Reference


*** *** *** *** CLASS MESHGEOMETRY *** *** *** ***


More...

#include <dupl.h>

Public Member Functions

 DuplicatePoints (long n, double ad, double zero)
 CONSTRUCTOR. More...
 
 ~DuplicatePoints ()
 DESTRUCTOR. More...
 
void set_point (long i, const PoinT *p)
 
void assign_cellpoints (void)
 
void find_duplicitys (long &nd, long *Cduplicity, long **duplicity)
 return duplicity squads = 2 or more points with same coordinates nd ... More...
 

Private Member Functions

void add_point_to_cell (long id, long pos[])
 

*** *** *** *** CLASS MESHGEOMETRY *** *** *** ***


More...
 
bool point_is_in_cell (long id, long pos[], double offset)
 

Private Attributes

long np
 
const PoinT ** points
 
double averdist
 
double Zero
 
double Zero_dist
 
double mincoo [3]
 
double maxcoo [3]
 
double dcoo [3]
 
long cc [3]
 
int **** ccellpoints
 
long **** cellpoints
 

Static Private Attributes

static const bool PRINT = false
 

Detailed Description


*** *** *** *** CLASS MESHGEOMETRY *** *** *** ***


Definition at line 22 of file dupl.h.

Constructor & Destructor Documentation

midaspace::DuplicatePoints::DuplicatePoints ( long  n,
double  ad,
double  zero 
)
inline

CONSTRUCTOR.

Definition at line 39 of file dupl.h.

References averdist, np, points, Zero, and Zero_dist.

midaspace::DuplicatePoints::~DuplicatePoints ( )
inline

DESTRUCTOR.

Definition at line 48 of file dupl.h.

References points.

Member Function Documentation

void midaspace::DuplicatePoints::add_point_to_cell ( long  id,
long  pos[] 
)
private


*** *** *** *** CLASS MESHGEOMETRY *** *** *** ***


Definition at line 18 of file dupl.cpp.

References midaspace::allocate_another_val(), ccellpoints, and cellpoints.

Referenced by assign_cellpoints().

void midaspace::DuplicatePoints::assign_cellpoints ( void  )
void midaspace::DuplicatePoints::find_duplicitys ( long &  nd,
long *  Cduplicity,
long **  duplicity 
)

return duplicity squads = 2 or more points with same coordinates nd ...

number of squads Cduplicity ... count of points in particular squads duplicity ... points in particular squads

Definition at line 139 of file dupl.cpp.

References _errorr, midaspace::allocate(), cc, ccellpoints, cellpoints, midaspace::deallocateCheck(), midaspace::PoinT::dist2_to(), midaspace::is_member_of_array(), midaspace::members_are_unique(), points, PRINT, and Zero_dist.

Referenced by midaspace::Mesh::check_duplicity_nodes().

bool midaspace::DuplicatePoints::point_is_in_cell ( long  id,
long  pos[],
double  offset 
)
private

Definition at line 36 of file dupl.cpp.

References cc, dcoo, mincoo, and points.

Referenced by assign_cellpoints().

void midaspace::DuplicatePoints::set_point ( long  i,
const PoinT p 
)
inline

Definition at line 51 of file dupl.h.

References points.

Referenced by midaspace::Mesh::check_duplicity_nodes().

Member Data Documentation

double midaspace::DuplicatePoints::averdist
private

Definition at line 28 of file dupl.h.

Referenced by assign_cellpoints(), and DuplicatePoints().

long midaspace::DuplicatePoints::cc[3]
private

Definition at line 33 of file dupl.h.

Referenced by assign_cellpoints(), find_duplicitys(), and point_is_in_cell().

int**** midaspace::DuplicatePoints::ccellpoints
private

Definition at line 34 of file dupl.h.

Referenced by add_point_to_cell(), assign_cellpoints(), and find_duplicitys().

long**** midaspace::DuplicatePoints::cellpoints
private

Definition at line 35 of file dupl.h.

Referenced by add_point_to_cell(), assign_cellpoints(), and find_duplicitys().

double midaspace::DuplicatePoints::dcoo[3]
private

Definition at line 32 of file dupl.h.

Referenced by assign_cellpoints(), and point_is_in_cell().

double midaspace::DuplicatePoints::maxcoo[3]
private

Definition at line 32 of file dupl.h.

Referenced by assign_cellpoints().

double midaspace::DuplicatePoints::mincoo[3]
private

Definition at line 32 of file dupl.h.

Referenced by assign_cellpoints(), and point_is_in_cell().

long midaspace::DuplicatePoints::np
private

Definition at line 26 of file dupl.h.

Referenced by assign_cellpoints(), and DuplicatePoints().

const PoinT** midaspace::DuplicatePoints::points
private
const bool midaspace::DuplicatePoints::PRINT = false
staticprivate

Definition at line 24 of file dupl.h.

Referenced by assign_cellpoints(), and find_duplicitys().

double midaspace::DuplicatePoints::Zero
private

Definition at line 29 of file dupl.h.

Referenced by DuplicatePoints().

double midaspace::DuplicatePoints::Zero_dist
private

Definition at line 30 of file dupl.h.

Referenced by assign_cellpoints(), DuplicatePoints(), and find_duplicitys().


The documentation for this class was generated from the following files: