#include <point.h>
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 PoinT * | give_coords (void) const |
double | give_coord (int i) const |
long | give_subdom (void) const |
PointAttribs * | give_pointAttribs (void) |
const PointAttribs * | give_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 Edge * | give_superedge (long i) const |
const Face * | give_superface (long i) const |
const Element * | give_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 Edge * | give_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 |
![]() | |
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 Lvctr * | give_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 |
Attributes * | give_attributes (void) |
const Attributes * | give_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... | |
![]() | |
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 Geometry * | give_Geom (void) const |
![]() | |
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 Problem * | give_Pd (void) const |
Protected Member Functions | |
PointAttribs * | pointAttribs () |
const PointAttribs * | pointAttribs () const |
void | integrate_duplicated_point (Point *slave) |
Protected Attributes | |
PoinT | coords |
long | subdom |
Lvctr | eproperty |
Lvctr | fproperty |
Lvctr | vproperty |
GPA< const Edge > | superedges |
CONNECTIVITY - full connectivity initiated only when Geom->connectivity_is_assembled() == true. More... | |
GPA< const Face > | superfaces |
GPA< const Element > | superelems |
Point * | duplmaster |
DUPLICITY there is no chain as on element. More... | |
![]() | |
Lvctr | mproperty |
long | origid |
bool | fordelete |
Attributes * | attributes |
ATTRIBUTES. More... | |
![]() | |
const Geometry * | Geom |
Pointer to owner == parent geometry. More... | |
![]() | |
long | ID |
(global) identification number == position in list of members; zero-based numbering. More... | |
const Problem * | Pd |
Pointer to owner = parent problem. More... | |
CONSTRUCTOR.
Definition at line 52 of file point.cpp.
References attributes_allocation(), coords, midaspace::PoinT::copy(), duplmaster, subdom, superedges, superelems, superfaces, and midaspace::Elem3D::zero().
midaspace::Point::Point | ( | const Point * | src, |
char | attflag | ||
) |
CONSTRUCTOR COPY.
Definition at line 68 of file point.cpp.
References attributes_allocation(), coords, midaspace::PoinT::copy(), duplmaster, errol, give_pointAttribs(), subdom, superedges, superelems, and superfaces.
void midaspace::Point::add_property | ( | int | dim, |
long | val | ||
) |
Definition at line 303 of file point.cpp.
References _errorr, midaspace::Lvctr::add(), eproperty, fproperty, midaspace::GeometryComponent::mproperty, and vproperty.
Referenced by midaspace::PolyLine::init_point_on(), and midaspace::Node::read_input().
void midaspace::Point::attributes_allocation | ( | char | attflag, |
const Attributes * | masterat | ||
) |
*** *** *** *** CLASS POINT *** *** *** ***
Definition at line 17 of file point.cpp.
References _errorr0, midaspace::GeometryComponent::attributes, midaspace::classHNAttribs, midaspace::classRANAttribs, errol, midaspace::PointAttribs::give_classid(), midaspace::Problem::give_NdAt_with_prop(), give_property(), and midaspace::ProblemSubject::Pd.
Referenced by Point(), and midaspace::Node::read_input().
|
virtual |
Checks data consistency.
Reimplemented from midaspace::GeometryComponent.
Reimplemented in midaspace::RigidArmNode, midaspace::HangingNode, midaspace::Node, and midaspace::Vertex.
Definition at line 240 of file point.cpp.
References midaspace::GeometryComponent::checkConsistency().
Referenced by midaspace::Vertex::checkConsistency(), and midaspace::Node::checkConsistency().
|
inline |
remove superiors
Definition at line 106 of file point.h.
References superedges, superelems, and superfaces.
Referenced by finitialize().
|
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.
|
pure virtual |
Returns classID - class identification.
Reimplemented from midaspace::ProblemSubject.
Implemented in midaspace::RigidArmNode, midaspace::HangingNode, midaspace::Node, and midaspace::Vertex.
|
inline |
Definition at line 90 of file point.h.
References coords.
Referenced by midaspace::Element::is_point_on(), midaspace::Vertex::print_row(), midaspace::Node::print_row(), and midaspace::Model::read_model_MELNIK().
|
inline |
Definition at line 89 of file point.h.
References coords.
Referenced by midaspace::PolyLine::divide(), midaspace::Geometry::give_3Delement_with_point_inside(), midaspace::Brick::give_ssstate(), midaspace::HNAttribs::print_one_row(), and midaspace::LCS_beam::print_row_OOFEM().
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().
|
inline |
Definition at line 108 of file point.h.
References midaspace::GeometryComponent::check_connectivity(), and superedges.
Referenced by midaspace::Mesh::delete_subdomains_except(), and midaspace::Edge::switch_node_pointer().
|
inline |
Definition at line 110 of file point.h.
References midaspace::GeometryComponent::check_connectivity(), and superelems.
Referenced by midaspace::Mesh::delete_subdomains_except(), midaspace::PolyLine::divide(), midaspace::Geometry::give_3Delement_with_point_inside(), and midaspace::Element::switch_node_pointer().
|
inline |
Definition at line 109 of file point.h.
References midaspace::GeometryComponent::check_connectivity(), and superfaces.
Referenced by midaspace::Mesh::delete_subdomains_except(), midaspace::PolyLine::divide(), midaspace::Node::give_mdl_lcs(), and midaspace::Face::switch_node_pointer().
|
inline |
Definition at line 93 of file point.h.
References midaspace::GeometryComponent::attributes.
Referenced by midaspace::ElemAttribs::checkConsistency(), midaspace::PointAttribs::checkConsistency(), midaspace::PolyLine::generate_mesh_RFbyHN(), integrate_duplicated_point(), Point(), midaspace::Mesh::print_block_nodal_load(), midaspace::Mesh::print_block_supported_dofs(), midaspace::Mesh::print_characteristics_to_VTK(), midaspace::Mesh::read_mesh_SIFEL(), midaspace::Problem::read_mesh_SIFEL(), midaspace::Node::read_output_OOFEM(), midaspace::Node::read_output_SIFEL(), and midaspace::Mesh::RIGIDmatToRAN().
|
inline |
Definition at line 94 of file point.h.
References midaspace::GeometryComponent::attributes.
long midaspace::Point::give_property | ( | void | ) | const |
Definition at line 260 of file point.cpp.
References eproperty, errol, fproperty, midaspace::Xvctr::give_size(), midaspace::GeometryComponent::mproperty, and vproperty.
Referenced by midaspace::Node::add_domain(), and attributes_allocation().
long midaspace::Point::give_property | ( | int | dim, |
long | id | ||
) | const |
Definition at line 269 of file point.cpp.
References _errorr, eproperty, errol, fproperty, midaspace::Xvctr::give_size(), midaspace::GeometryComponent::mproperty, and vproperty.
|
inline |
|
inline |
Definition at line 111 of file point.h.
References midaspace::GeometryComponent::check_connectivity(), and superedges.
Referenced by midaspace::Mesh::delete_subdomains_except(), and midaspace::Edge::switch_node_pointer().
Definition at line 114 of file point.h.
References midaspace::GeometryComponent::check_connectivity(), and superedges.
Referenced by integrate_duplicated_point(), and midaspace::Mesh::print_control().
|
inline |
Definition at line 113 of file point.h.
References midaspace::GeometryComponent::check_connectivity(), and superelems.
Referenced by midaspace::Mesh::delete_subdomains_except(), midaspace::Geometry::give_3Delement_with_point_inside(), and midaspace::Element::switch_node_pointer().
Definition at line 116 of file point.h.
References midaspace::GeometryComponent::check_connectivity(), and superelems.
Referenced by midaspace::Mesh::adaptivity(), midaspace::PolyLine::divide(), integrate_duplicated_point(), midaspace::Mesh::print_control(), and midaspace::Node::read_input().
|
inline |
Definition at line 112 of file point.h.
References midaspace::GeometryComponent::check_connectivity(), and superfaces.
Referenced by midaspace::Mesh::delete_subdomains_except(), midaspace::Node::give_mdl_lcs(), and midaspace::Face::switch_node_pointer().
Definition at line 115 of file point.h.
References midaspace::GeometryComponent::check_connectivity(), and superfaces.
Referenced by midaspace::PolyLine::divide(), and integrate_duplicated_point().
|
virtual |
initiate/sets data
Reimplemented from midaspace::GeometryComponent.
Reimplemented in midaspace::RigidArmNode, midaspace::HangingNode, midaspace::Node, and midaspace::Vertex.
Definition at line 90 of file point.cpp.
References midaspace::GeometryComponent::initialize().
Referenced by midaspace::Vertex::initialize(), and midaspace::Node::initialize().
|
protected |
Definition at line 336 of file point.cpp.
References _errorr, midaspace::PointAttribs::checkEqualityWith(), duplmaster, give_pointAttribs(), give_superedges(), give_superelems(), give_superfaces(), superedges, superelems, and superfaces.
Referenced by invisible_duplicated().
|
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().
|
inline |
Definition at line 123 of file point.h.
References duplmaster.
|
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 | ||
) |
Definition at line 320 of file point.cpp.
References midaspace::GeometryComponent::check_connectivity(), midaspace::ProblemSubject::Pd, superedges, superelems, superfaces, and midaspace::Element::switch_node_pointer().
Referenced by invisible_duplicated(), and midaspace::Geometry::replace_Pjnt_by().
|
inlineprotected |
Definition at line 82 of file point.h.
References midaspace::GeometryComponent::attributes.
Referenced by finitialize(), give_DOFspnod(), midaspace::Vertex::initialize(), midaspace::Node::print_row(), midaspace::Node::read_input(), midaspace::Node::read_output_OOFEM(), midaspace::Node::read_output_SIFEL(), and midaspace::Node::setup_full_alloc_DOFvals_at().
|
inlineprotected |
Definition at line 83 of file point.h.
References midaspace::GeometryComponent::attributes.
void midaspace::Point::print_row_VTK | ( | FILE * | stream | ) | const |
void midaspace::Point::print_row_VTX | ( | char * | str | ) | const |
|
inline |
Definition at line 102 of file point.h.
References superedges.
|
inline |
Definition at line 104 of file point.h.
References superelems.
|
inline |
Definition at line 103 of file point.h.
References superfaces.
void midaspace::Point::reset_property | ( | int | dim, |
long | val | ||
) |
Definition at line 292 of file point.cpp.
References _errorr, eproperty, fproperty, midaspace::GeometryComponent::mproperty, midaspace::Lvctr::resize_ignore_vals(), and vproperty.
void midaspace::Point::set_property | ( | int | dim, |
long | val | ||
) |
Definition at line 281 of file point.cpp.
References _errorr, eproperty, fproperty, midaspace::Xvctr::give_size(), midaspace::GeometryComponent::mproperty, midaspace::Lvctr::resize_ignore_vals(), and vproperty.
Referenced by midaspace::Node::read_input().
|
inline |
|
inline |
CONNECTIVITY initiated only when Geom->connectivited() == true.
Definition at line 99 of file point.h.
References superedges.
|
inline |
Definition at line 101 of file point.h.
References superelems.
|
inline |
Definition at line 100 of file point.h.
References superfaces.
|
inline |
|
protected |
Definition at line 27 of file point.h.
Referenced by midaspace::Node::add_domain(), give_coord(), give_coords(), midaspace::HangingNode::initialize_hn(), is_identical_to(), Point(), print_row_VTK(), print_row_VTX(), and midaspace::Node::read_input().
|
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().
|
protected |
Definition at line 34 of file point.h.
Referenced by add_property(), give_property(), midaspace::Node::print_row(), reset_property(), and set_property().
|
protected |
Definition at line 35 of file point.h.
Referenced by add_property(), give_property(), midaspace::Node::print_row(), reset_property(), and set_property().
|
protected |
Definition at line 28 of file point.h.
Referenced by midaspace::Node::find_parent_subdom(), give_subdom(), Point(), and set_subdom().
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().
Definition at line 50 of file point.h.
Referenced by delete_connectivity(), midaspace::Node::find_parent_subdom(), finitialize(), give_numsuperelem(), midaspace::Node::give_ssstate(), give_superelem(), give_superelems(), midaspace::Vertex::initialize(), integrate_duplicated_point(), is_on_3d_element(), make_invisible(), Point(), remove_superelem(), and setadd_superelem().
Definition at line 49 of file point.h.
Referenced by delete_connectivity(), give_numsuperface(), give_superface(), give_superfaces(), integrate_duplicated_point(), make_invisible(), Point(), remove_superface(), and setadd_superface().
|
protected |
Definition at line 36 of file point.h.
Referenced by add_property(), give_property(), midaspace::Node::print_row(), reset_property(), and set_property().