#include <cell.h>
Public Member Functions | |
Edge (long nn, const Point **nods) | |
CONSTRUCTOR. More... | |
virtual | ~Edge () |
CONSTRUCTOR COPY. More... | |
virtual classID | give_classid () const |
Returns classID - class identification. More... | |
void | setadd_superface (const Face *comp, bool uniquecheck) |
CONNECTIVITY initiated only when Geom->connectivited() == true. More... | |
void | remove_superface (const Face *comp) |
long | give_numsuperface (void) const |
const Face * | give_superface (long i) const |
const GPA< const Face > * | give_superfaces (void) const |
void | connectivity_assembling (bool re=false) |
Function assembles connectivity between edge and its nodes. More... | |
void | connectivity_removing (void) |
Function removes connectivity between edge and its nodes. More... | |
void | switch_myself_at_connectivity (Cell *master) |
switch receiver to master in connectivity system More... | |
virtual void | set_model_prop (long val, const Model *model, bool flag=false) |
flag==1 master is element, flag==0 master is facedge More... | |
void | transform_nc (const Point *t1, const Point *t2, double &ksi) |
bool | is_nod_on (double norm, const PoinT *point, double &ksi) const |
Function finds out mutual position of node and edge. More... | |
const Face * | give_superface (long ne, const Edge **edgs) const |
return superior Face with edges More... | |
virtual void | switch_node_pointer (Point *slave, Point *master, bool duplcheck) |
switch node pointer form slave to master More... | |
virtual long | give_ord (void) const |
double | give_elemSize (void) const |
virtual void | print_row (FILE *stream, femFileFormat fff, bool endline=true, long did=0) const |
*** PRINT *** More... | |
![]() | |
Facedge (long gid, long oid, long prop, const Geometry *mg, long nn, long ne, long nf) | |
CONSTRUCTOR. More... | |
virtual | ~Facedge () |
CONSTRUCTOR COPY. More... | |
void | setadd_superelem (const Element *comp, bool uniquecheck) |
Returns classID - class identification. More... | |
void | remove_superelem (const Element *comp) |
void | setadd_masterel (const Element *comp) |
Set master element if it is. More... | |
long | give_numsuperelem (void) const |
const Element * | give_superelem (long i) const |
const GPA< const Element > * | give_superelems (void) const |
const Element * | give_masterel (void) const |
masterel is Element (not Facedge), the first one, with lowest dimension More... | |
const Element * | give_main_masterel_uniq (void) const |
main masterel is Element (not Facedge) with same dimension as face/edge More... | |
FacedgeAttribs * | give_facedgeAttribs (void) |
const FacedgeAttribs * | give_facedgeAttribs (void) const |
const GPA< const BoundaryCond > * | give_loads (const Element *fe) const |
long | give_cloads (const Element *fe) const |
![]() | |
CellGeometry | give_cellGeom (void) const |
int | give_dimension (void) const |
return type of element geometry, is identical with class derived from FElement More... | |
const PoinT * | give_centercoords (void) const |
double | give_circum (void) const |
double | give_lav (void) const |
double | give_GeomWeight1deg (void) const |
bool | is_point_in_sphere (const PoinT *point) const |
double | give_characteristic_size (void) const |
ComponentGeometry * | give_cg (void) |
Cell (classID mecg, long gid, long oid, long prop, const Geometry *mg, long nn, long ne, long nf) | |
CONSTRUCTOR. More... | |
Cell (classID mecg, const Cell *src) | |
CONSTRUCTOR COPY. More... | |
virtual | ~Cell () |
DESTRUCTOR. More... | |
virtual void | checkConsistency (void) const |
Checks data consistency. More... | |
void | check_connectivity_loc (void) const |
void | set_point (long i, const Point *val) |
ATRIBUTES. More... | |
void | set_point (long i, long pid) |
void | set_edge (long i, const Edge *val) |
void | set_face (long i, const Face *val) |
long | give_nno (void) const |
long | give_ned (void) const |
long | give_nfa (void) const |
const Point * | give_point (long i) const |
const Edge * | give_edge (long i) const |
const Face * | give_face (long i) const |
const GPA< const Point > * | give_points (void) const |
const GPA< const Edge > * | give_edges (void) const |
const GPA< const Face > * | give_faces (void) const |
long | give_point_indx (const Point *p) const |
virtual long | give_face_nodes_edges (const Point **&facnodes, const Edge **&facedges) const |
bool | switch_edge_pointer (Edge *slave, Edge *master) |
switch pointer to component edge - slave is replaced be master More... | |
bool | switch_face_pointer (Face *slave, Face *master) |
switch pointer to component face - slave is replaced be master More... | |
void | setup_duplicity_master (Cell *val) |
bool | invisible_duplicated (char flag='a') |
make invisible if duplicated More... | |
bool | has_same_geom_with (Cell *slave) const |
ASSORTED check same geometry. More... | |
bool | check_collapse (void) |
check any two nodes are same = element is collapsed More... | |
bool | cross_abscissa_node (const PoinT *a1, const PoinT *a2, long cunn, const Point **unnod, const Point *&nod, double &ksi, PoinT *cp) const |
Function finds out whether some element node lays on abscissa. More... | |
int | cross_abscissa_face (const PoinT *a1, const PoinT *a2, long cunf, const Face **unfac, const Cell *&comp, PoinT *nc, PoinT *cp) |
Function finds out whether abscissa intersects any face. More... | |
![]() | |
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 | initialize (void) |
initiate/sets data More... | |
virtual void | finitialize (void) |
finalize preprocessing 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) |
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) |
![]() | |
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 | |
virtual void | integrate_duplicated_cell (const Edge *slave) |
DUPLICITY. More... | |
![]() | |
virtual void | integrate_duplicated_cell (const Facedge *slave) |
DUPLICITY. More... | |
![]() | |
virtual void | integrate_duplicated_cell (const Cell *slave) |
Private Attributes | |
GPA< const Face > | superfaces |
CONNECTIVITY - full connectivity initiated only when Geom->connectivity_is_assembled() == true these arrays should be sorted!!! More... | |
Additional Inherited Members | |
![]() | |
GPA< const Point > | points |
GPA< const Edge > | edges |
GPA< const Face > | faces |
bool | connectivity_assembled |
Cell * | duplmaster |
![]() | |
GPA< const Element > | superelems |
CONNECTIVITY - full connectivity initiated only when Geom->connectivity_is_assembled() == true. More... | |
int | masterel_dim |
MASTER ELEMENT. More... | |
GPA< const Element > | masterels |
![]() | |
ComponentGeometry * | cg |
![]() | |
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... | |
|
inline |
CONSTRUCTOR.
CONSTRUCTOR
Definition at line 246 of file cell.h.
References midaspace::GeometryComponent::attributes, midaspace::Cell::cg, midaspace::Cell::points, superfaces, and ZERO.
|
inlinevirtual |
|
virtual |
Function assembles connectivity between edge and its nodes.
Implements midaspace::Cell.
Definition at line 396 of file cell.cpp.
References midaspace::Cell::connectivity_assembled, and midaspace::Cell::points.
Referenced by midaspace::Element::connectivity_assembling().
|
virtual |
Function removes connectivity between edge and its nodes.
Implements midaspace::Cell.
Definition at line 405 of file cell.cpp.
References midaspace::Cell::connectivity_assembled, and midaspace::Cell::points.
|
inlinevirtual |
Returns classID - class identification.
Reimplemented from midaspace::ProblemSubject.
Definition at line 261 of file cell.h.
References midaspace::classEdge.
double midaspace::Edge::give_elemSize | ( | void | ) | const |
size
count
Rigid Material
Definition at line 559 of file cell.cpp.
References midaspace::GeometryComponent::attributes, errol, midaspace::Cell::give_characteristic_size(), midaspace::Element::give_elemAttribs(), midaspace::Facedge::give_main_masterel_uniq(), midaspace::ElemAttribs::give_mat(), midaspace::Material::give_type(), midaspace::GelemAttribs::give_virtual(), midaspace::MAT_RIGID, and superfaces.
Referenced by print_row().
|
inline |
Definition at line 269 of file cell.h.
References midaspace::GeometryComponent::check_connectivity(), and superfaces.
Referenced by midaspace::PolyLine::divide(), and midaspace::Node::give_mdl_lcs().
|
inlinevirtual |
Implements midaspace::Facedge.
Definition at line 298 of file cell.h.
References errol, and midaspace::Cell::give_nno().
|
inline |
Definition at line 270 of file cell.h.
References midaspace::GeometryComponent::check_connectivity(), and superfaces.
Referenced by midaspace::Node::give_mdl_lcs().
return superior Face with edges
Definition at line 490 of file cell.cpp.
References midaspace::Cell::give_edges(), midaspace::Cell::give_ned(), and superfaces.
Definition at line 271 of file cell.h.
References midaspace::GeometryComponent::check_connectivity(), and superfaces.
Referenced by midaspace::PolyLine::divide(), and integrate_duplicated_cell().
|
protectedvirtual |
DUPLICITY.
Definition at line 453 of file cell.cpp.
References give_superfaces(), midaspace::Facedge::integrate_duplicated_cell(), and superfaces.
bool midaspace::Edge::is_nod_on | ( | double | norm, |
const PoinT * | point, | ||
double & | ksi | ||
) | const |
Function finds out mutual position of node and edge.
answer: 1(0) = node lays on(out of) edge
norm | - norm is on order equal to length of edge |
point | - array of coordinates of node |
ksi | - position of point on edge, ksi=<-1;+1> |
created 5.4.2003, Ladislav Svoboda, termi t@cm l.fsv .cvu t.cz
Definition at line 484 of file cell.cpp.
References midaspace::PoinT::give_ksiAtAbscissa(), midaspace::Cell::points, and ZERO.
|
virtual |
*** PRINT ***
unique master
Implements midaspace::GeometryComponent.
Definition at line 517 of file cell.cpp.
References errol, midaspace::FFF_T3d, midaspace::GeometrySubject::Geom, midaspace::Element::give_elemAttribs(), give_elemSize(), midaspace::ProblemSubject::give_ID(), midaspace::Facedge::give_main_masterel_uniq(), midaspace::Geometry::give_Nels(), midaspace::GelemAttribs::give_virtual(), midaspace::Element::isTruss(), midaspace::Cell::points, and midaspace::Facedge::superelems.
|
inline |
Definition at line 266 of file cell.h.
References superfaces.
|
virtual |
flag==1 master is element, flag==0 master is facedge
kdyz ... tak nema "master elem", po odectu Nels je to ID "master edge"
Reimplemented from midaspace::GeometryComponent.
Definition at line 424 of file cell.cpp.
References midaspace::GeometryComponent::checkset_mprop(), errol, midaspace::Geometry::give_Edge(), midaspace::Cell::give_edge(), midaspace::Geometry::give_Elem(), midaspace::Facedge::give_facedgeAttribs(), midaspace::ProblemSubject::give_ID(), midaspace::Cell::give_ned(), midaspace::Geometry::give_Nels(), and midaspace::FacedgeAttribs::set_new().
|
inline |
CONNECTIVITY initiated only when Geom->connectivited() == true.
Definition at line 265 of file cell.h.
References superfaces.
|
virtual |
switch receiver to master in connectivity system
Reimplemented from midaspace::Cell.
Definition at line 415 of file cell.cpp.
References midaspace::Facedge::superelems, superfaces, midaspace::Cell::switch_edge_pointer(), and midaspace::Cell::switch_myself_at_connectivity().
switch node pointer form slave to master
switch node pointer form oldnod to newnode, return yes, if any node switched
Reimplemented from midaspace::Cell.
Definition at line 501 of file cell.cpp.
References midaspace::Cell::duplmaster, midaspace::ProblemSubject::give_ID(), midaspace::Point::give_numsuperedge(), midaspace::Point::give_superedge(), midaspace::Cell::has_same_geom_with(), midaspace::Cell::setup_duplicity_master(), and midaspace::Cell::switch_node_pointer().
Definition at line 468 of file cell.cpp.
References midaspace::Cell::points.
Referenced by midaspace::Cell::cross_abscissa_face().
CONNECTIVITY - full connectivity initiated only when Geom->connectivity_is_assembled() == true these arrays should be sorted!!!
Definition at line 240 of file cell.h.
Referenced by Edge(), give_elemSize(), give_numsuperface(), give_superface(), give_superfaces(), integrate_duplicated_cell(), remove_superface(), setadd_superface(), and switch_myself_at_connectivity().