MIDAS  0.75
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
midaspace::Point Class Referenceabstract

#include <point.h>

Inheritance diagram for midaspace::Point:
midaspace::GeometryComponent midaspace::GeometrySubject midaspace::ProblemSubject midaspace::Node midaspace::Vertex midaspace::HangingNode midaspace::RigidArmNode

Public Member Functions

long give_property (void) const
 
long give_property (int dim, long id) const
 
void set_property (int dim, long val)
 
void reset_property (int dim, long val)
 
void add_property (int dim, long val)
 
void attributes_allocation (char attflag, const Attributes *masterat)
 

*** *** *** *** CLASS POINT *** *** *** ***


More...
 
DOFsPerNode give_DOFspnod (void) const
 return DOFspnod inherited from Problem, or NULL if More...
 
 Point (const Geometry *owner, long gid, const PoinT *coo, char attflag)
 CONSTRUCTOR. More...
 
 Point (const Point *src, char attflag)
 CONSTRUCTOR COPY. More...
 
virtual ~Point ()
 DESTRUCTOR. More...
 
virtual classID give_classid () const =0
 Returns classID - class identification. More...
 
virtual void initialize (void)
 initiate/sets data More...
 
virtual void finitialize (void)
 finalize preprocessing More...
 
virtual void checkConsistency (void) const
 Checks data consistency. More...
 
void set_subdom (long val)
 
const PoinTgive_coords (void) const
 
double give_coord (int i) const
 
long give_subdom (void) const
 
PointAttribsgive_pointAttribs (void)
 
const PointAttribsgive_pointAttribs (void) const
 
void setadd_superedge (const Edge *comp, bool uniquecheck)
 CONNECTIVITY initiated only when Geom->connectivited() == true. More...
 
void setadd_superface (const Face *comp, bool uniquecheck)
 
void setadd_superelem (const Element *comp, bool uniquecheck)
 
void remove_superedge (const Edge *comp)
 
void remove_superface (const Face *comp)
 
void remove_superelem (const Element *comp)
 
void delete_connectivity (void)
 remove superiors More...
 
long give_numsuperedge (void) const
 
long give_numsuperface (void) const
 
long give_numsuperelem (void) const
 
const Edgegive_superedge (long i) const
 
const Facegive_superface (long i) const
 
const Elementgive_superelem (long i) const
 
const GPA< const Edge > * give_superedges (void) const
 
const GPA< const Face > * give_superfaces (void) const
 
const GPA< const Element > * give_superelems (void) const
 
const Edgegive_superedge (long nn, const Point **nods) const
 return superior Edge with nodes More...
 
void setup_duplicity_master (Point *val)
 DUPLICITY. More...
 
bool is_duplicated (void) const
 
void make_invisible (Point *master, bool duplcheck)
 
virtual bool invisible_duplicated (char flag='a')
 make invisible if duplicated More...
 
bool is_identical_to (double norm, const PoinT *point) const
 compare coords with tolerance norm*ZERO More...
 
bool is_on_3d_element (void) const
 any parent element is 3-dimensional More...
 
void print_row_VTK (FILE *stream) const
 *** READ *** More...
 
void print_row_VTX (char *str) const
 
- Public Member Functions inherited from midaspace::GeometryComponent
 GeometryComponent (const Geometry *owner, long gid, long oid, long prop)
 CONSTRUCTOR. More...
 
 GeometryComponent (const GeometryComponent *src)
 CONSTRUCTOR COPY. More...
 
virtual ~GeometryComponent ()
 DESTRUCTOR. More...
 
virtual void set_mprop (long val)
 *** SET *** More...
 
void reset_mprop (long val)
 
bool checkset_mprop (long val)
 
void set_origID (long val)
 
void set_delete_flag (bool val)
 
virtual void set_model_prop (long val, const Model *model, bool flag=false)
 
long give_mproperty () const
 *** GET *** More...
 
const Lvctrgive_mproperty_ptr (void) const
 
long give_mpropertyORzero (void) const
 
long give_mproperty_cnt (void) const
 
bool has_mproperty (long prop) const
 
long give_origID () const
 
bool give_delete_flag () const
 
Attributesgive_attributes (void)
 
const Attributesgive_attributes (void) const
 
bool Parallel (void) const
 *** FEMesh *** More...
 
long NumDomains (void) const
 
void check_connectivity (void) const
 
void mg_connectivity_assembling (void)
 
virtual void print_row (FILE *stream, femFileFormat fff, bool endline=true, long did=0) const =0
 *** PRINT *** More...
 
- Public Member Functions inherited from midaspace::GeometrySubject
 GeometrySubject (long gid)
 CONSTRUCTOR. More...
 
 GeometrySubject (long gid, const Problem *owner)
 CONSTRUCTOR. More...
 
 GeometrySubject (long gid, const Geometry *owner)
 CONSTRUCTOR. More...
 
virtual ~GeometrySubject ()
 DESTRUCTOR. More...
 
void set_Geom (const Geometry *owner)
 
void reset_Geom (const Geometry *owner)
 
const Geometrygive_Geom (void) const
 
- Public Member Functions inherited from midaspace::ProblemSubject
 ProblemSubject (long gid)
 CONSTRUCTOR. More...
 
 ProblemSubject (long gid, const Problem *owner)
 CONSTRUCTOR. More...
 
virtual ~ProblemSubject ()
 DESTRUCTOR. More...
 
void set_ID (long val)
 
long give_ID () const
 
void set_Pd (const Problem *owner)
 
const Problemgive_Pd (void) const
 

Protected Member Functions

PointAttribspointAttribs ()
 
const PointAttribspointAttribs () const
 
void integrate_duplicated_point (Point *slave)
 

Protected Attributes

PoinT coords
 
long subdom
 
Lvctr eproperty
 
Lvctr fproperty
 
Lvctr vproperty
 
GPA< const Edgesuperedges
 CONNECTIVITY - full connectivity initiated only when Geom->connectivity_is_assembled() == true. More...
 
GPA< const Facesuperfaces
 
GPA< const Elementsuperelems
 
Pointduplmaster
 DUPLICITY there is no chain as on element. More...
 
- Protected Attributes inherited from midaspace::GeometryComponent
Lvctr mproperty
 
long origid
 
bool fordelete
 
Attributesattributes
 ATTRIBUTES. More...
 
- Protected Attributes inherited from midaspace::GeometrySubject
const GeometryGeom
 Pointer to owner == parent geometry. More...
 
- Protected Attributes inherited from midaspace::ProblemSubject
long ID
 (global) identification number == position in list of members; zero-based numbering. More...
 
const ProblemPd
 Pointer to owner = parent problem. More...
 

Detailed Description

Definition at line 24 of file point.h.

Constructor & Destructor Documentation

midaspace::Point::Point ( const Geometry owner,
long  gid,
const PoinT coo,
char  attflag 
)
midaspace::Point::Point ( const Point src,
char  attflag 
)
midaspace::Point::~Point ( )
virtual

DESTRUCTOR.

Definition at line 85 of file point.cpp.

Member Function Documentation

void midaspace::Point::add_property ( int  dim,
long  val 
)
void midaspace::Point::attributes_allocation ( char  attflag,
const Attributes masterat 
)
void midaspace::Point::checkConsistency ( void  ) const
virtual
void midaspace::Point::delete_connectivity ( void  )
inline

remove superiors

Definition at line 106 of file point.h.

References superedges, superelems, and superfaces.

Referenced by finitialize().

void midaspace::Point::finitialize ( void  )
virtual

finalize preprocessing

HINGES

predpoklad: probihajici pruty jsou b1+b2 a b3+b4 tady overime predpoklad; nebo ukazatele prehodime tak, aby predpoklad byl splnen

predpokladame, ze probihajici prut je zcela primy, tj. b1 a b2 jsou rovnobezne, taktez b3 a b4 pokud takovou kci nedokazeme nagenerovat, tak zkusime detekci podle prurezi, see next if

cely primy prut (b1+b2 a b3+b4) ma stejny prurez, dva prime maji rozdilny prurez

TADY KONTROLUJU, zda node nema DOFy, ktere nejsou "drzeny" zadnym elementem je to relativne slozity proces, kde bych mel kontrolovat vsechny dofy na uzlu zatim to delam dost zjednodusene

vlastni dofmask, predpokladam ze kolem takovem uzlu nebudou condofy

kontrolu, zda dalsi uzly nejsou nedostatecne "podepreny" bych dal mozna do checkConsistency

Reimplemented from midaspace::GeometryComponent.

Definition at line 95 of file point.cpp.

References _errorr, midaspace::Element::connectivity_assembling(), delete_connectivity(), midaspace::DPN_DxyzR___, midaspace::DPN_DxyzRxyz, midaspace::DPN_Void, errol, midaspace::GeometryComponent::finitialize(), midaspace::GeometrySubject::Geom, midaspace::ElemAttribs::give_cs(), give_DOFspnod(), midaspace::Element::give_elemAttribs(), midaspace::PointAttribs::give_hinge(), midaspace::Beam::give_vector(), midaspace::VectoR::is_parallel_with(), midaspace::GeometryComponent::mg_connectivity_assembling(), pointAttribs(), midaspace::PointAttribs::reset_dofbc_support_all_rot_dofs(), midaspace::PointAttribs::set_hinge(), superelems, midaspace::Element::switch_node_pointer_in_all_components(), and ZERO.

virtual classID midaspace::Point::give_classid ( ) const
pure virtual

Returns classID - class identification.

Reimplemented from midaspace::ProblemSubject.

Implemented in midaspace::RigidArmNode, midaspace::HangingNode, midaspace::Node, and midaspace::Vertex.

double midaspace::Point::give_coord ( int  i) const
inline
const PoinT* midaspace::Point::give_coords ( void  ) const
inline
DOFsPerNode midaspace::Point::give_DOFspnod ( void  ) const

return DOFspnod inherited from Problem, or NULL if

Definition at line 43 of file point.cpp.

References midaspace::DPN_Void, midaspace::Problem::give_DOFspnod(), midaspace::ProblemSubject::Pd, and pointAttribs().

Referenced by finitialize().

long midaspace::Point::give_numsuperedge ( void  ) const
inline
long midaspace::Point::give_numsuperelem ( void  ) const
inline
long midaspace::Point::give_numsuperface ( void  ) const
inline
PointAttribs* midaspace::Point::give_pointAttribs ( void  )
inline
const PointAttribs* midaspace::Point::give_pointAttribs ( void  ) const
inline

Definition at line 94 of file point.h.

References midaspace::GeometryComponent::attributes.

long midaspace::Point::give_property ( void  ) const
long midaspace::Point::give_property ( int  dim,
long  id 
) const
long midaspace::Point::give_subdom ( void  ) const
inline

Definition at line 91 of file point.h.

References subdom.

const Edge* midaspace::Point::give_superedge ( long  i) const
inline
const Edge * midaspace::Point::give_superedge ( long  nn,
const Point **  nods 
) const

return superior Edge with nodes

Definition at line 249 of file point.cpp.

References superedges.

const GPA<const Edge >* midaspace::Point::give_superedges ( void  ) const
inline
const Element* midaspace::Point::give_superelem ( long  i) const
inline
const GPA<const Element>* midaspace::Point::give_superelems ( void  ) const
inline
const Face* midaspace::Point::give_superface ( long  i) const
inline
const GPA<const Face >* midaspace::Point::give_superfaces ( void  ) const
inline
void midaspace::Point::initialize ( void  )
virtual
void midaspace::Point::integrate_duplicated_point ( Point slave)
protected
bool midaspace::Point::invisible_duplicated ( char  flag = 'a')
virtual

make invisible if duplicated

Reimplemented in midaspace::Vertex.

Definition at line 350 of file point.cpp.

References duplmaster, integrate_duplicated_point(), and make_invisible().

bool midaspace::Point::is_duplicated ( void  ) const
inline

Definition at line 123 of file point.h.

References duplmaster.

bool midaspace::Point::is_identical_to ( double  norm,
const PoinT point 
) const
inline

compare coords with tolerance norm*ZERO

Definition at line 134 of file point.h.

References coords, midaspace::Elem3D::is_identical_to(), and ZERO.

bool midaspace::Point::is_on_3d_element ( void  ) const

any parent element is 3-dimensional

Definition at line 593 of file point.cpp.

References superelems.

void midaspace::Point::make_invisible ( Point master,
bool  duplcheck 
)
PointAttribs* midaspace::Point::pointAttribs ( )
inlineprotected
const PointAttribs* midaspace::Point::pointAttribs ( ) const
inlineprotected

Definition at line 83 of file point.h.

References midaspace::GeometryComponent::attributes.

void midaspace::Point::print_row_VTK ( FILE *  stream) const

*** READ ***

print node row output for VTK

Definition at line 367 of file point.cpp.

References coords.

void midaspace::Point::print_row_VTX ( char *  str) const

Definition at line 372 of file point.cpp.

References coords.

void midaspace::Point::remove_superedge ( const Edge comp)
inline

Definition at line 102 of file point.h.

References superedges.

void midaspace::Point::remove_superelem ( const Element comp)
inline

Definition at line 104 of file point.h.

References superelems.

void midaspace::Point::remove_superface ( const Face comp)
inline

Definition at line 103 of file point.h.

References superfaces.

void midaspace::Point::reset_property ( int  dim,
long  val 
)
void midaspace::Point::set_property ( int  dim,
long  val 
)
void midaspace::Point::set_subdom ( long  val)
inline

Definition at line 87 of file point.h.

References subdom.

void midaspace::Point::setadd_superedge ( const Edge comp,
bool  uniquecheck 
)
inline

CONNECTIVITY initiated only when Geom->connectivited() == true.

Definition at line 99 of file point.h.

References superedges.

void midaspace::Point::setadd_superelem ( const Element comp,
bool  uniquecheck 
)
inline

Definition at line 101 of file point.h.

References superelems.

void midaspace::Point::setadd_superface ( const Face comp,
bool  uniquecheck 
)
inline

Definition at line 100 of file point.h.

References superfaces.

void midaspace::Point::setup_duplicity_master ( Point val)
inline

DUPLICITY.

Definition at line 122 of file point.h.

References duplmaster.

Member Data Documentation

PoinT midaspace::Point::coords
protected
Point* midaspace::Point::duplmaster
protected

DUPLICITY there is no chain as on element.

Definition at line 53 of file point.h.

Referenced by integrate_duplicated_point(), invisible_duplicated(), is_duplicated(), Point(), and setup_duplicity_master().

Lvctr midaspace::Point::eproperty
protected
Lvctr midaspace::Point::fproperty
protected
long midaspace::Point::subdom
protected

Definition at line 28 of file point.h.

Referenced by midaspace::Node::find_parent_subdom(), give_subdom(), Point(), and set_subdom().

GPA<const Edge > midaspace::Point::superedges
protected

CONNECTIVITY - full connectivity initiated only when Geom->connectivity_is_assembled() == true.

Definition at line 48 of file point.h.

Referenced by delete_connectivity(), give_numsuperedge(), give_superedge(), give_superedges(), integrate_duplicated_point(), make_invisible(), Point(), remove_superedge(), and setadd_superedge().

GPA<const Element> midaspace::Point::superelems
protected
GPA<const Face > midaspace::Point::superfaces
protected
Lvctr midaspace::Point::vproperty
protected

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