#include <cell.h>
Public Member Functions | |
PolyLine (long gid, long oid, const Geometry *mg, int nv, classID mecg=classVoid) | |
CONSTRUCTOR. More... | |
PolyLine (const PolyLine *src, classID mecg=classVoid) | |
CONSTRUCTOR COPY. More... | |
virtual | ~PolyLine () |
DESTRUCTOR. More... | |
virtual classID | give_classid () const |
Returns classID - class identification. More... | |
virtual void | checkConsistency (void) const |
Checks data consistency. More... | |
void | add_point (const Point *val) |
void | del_points_down (long val) |
virtual long | give_edge_nodes (const Point **&edgnodes) const |
void | init_point_on (Mesh *pm, GPA< const Node > &hnodes, const PoinT *point, const GeometryComponent *comp, const PoinT *nc, const Point *parentpoint) const |
RFbyHN. More... | |
PolyLine * | generate_mesh_RFbyHN (Mesh *pm, GPA< const Node > &hnodes) const |
void | divide (Mesh *pm, GPA< const Node > &hnodes) const |
Function splits polyline segments up subsegments, one subsegment belongs to one element. More... | |
void | findout_segment_domain (Mesh *pm, GPA< const Node > &hnodes) const |
![]() | |
Gelement (classID mecg, long gid, long oid, const Geometry *mg, long nn, long ne, long nf) | |
CONSTRUCTOR. More... | |
Gelement (classID mecg, const Gelement *src) | |
CONSTRUCTOR COPY. More... | |
virtual | ~Gelement () |
DESTRUCTOR. More... | |
GelemAttribs * | give_gelemAttribs (void) |
const GelemAttribs * | give_gelemAttribs (void) const |
virtual DOFsPerNode | give_DOFsPerNode_default (void) const |
give default DOFs per node More... | |
virtual SStype | give_SSType_default (void) const |
give default type of stress state More... | |
const GPA< const Vertex > * | give_fixedVertices (void) const |
const GPA< const Gelement > * | give_fixedGelements (void) const |
void | set_elemSize (double val) |
void | set_elemCount (double val) |
void | assign_fixed_entities_by_ID (bool node, long ncn, const long *icn) |
virtual void | print_row (FILE *stream, femFileFormat fff, bool endline=true, long did=0) const |
*** PRINT *** More... | |
![]() | |
Element (classID mecg, long gid, long oid, long prop, const Geometry *mg, long nn, long ne, long nf) | |
CONSTRUCTOR. More... | |
Element (classID mecg, const Element *src) | |
CONSTRUCTOR COPY. More... | |
virtual | ~Element () |
DESTRUCTOR. More... | |
VTKPDtopology | give_VTKPDtopology (void) const |
const Facedge * | give_same_dimension_facedge (void) const |
Returns edge/face/volume of same dimension as receiver (Beam returns edge, etc.) More... | |
void | set_mprop (long val) |
*** SET *** More... | |
void | set_prop_node_inher (bool everynode) |
inherit property from element to nodes, only if node has one superelem More... | |
void | set_fullhinge_at (const Point *p) |
ElemAttribs * | give_elemAttribs (void) |
const ElemAttribs * | give_elemAttribs (void) const |
bool | has_fullhinge_at (int point) const |
void | connectivity_assembling (bool re=false) |
Function assembles connectivity between element and its nodes, edges and faces (which are allocated if needed) More... | |
void | connectivity_removing (void) |
Function removes connectivity between element and its components == nodes, edges and faces. More... | |
void | set_load (int i, int indx=-1) |
bool | is_point_on (const PoinT *point, const GeometryComponent *&comp, PoinT *nc) const |
Function finds out mutual position of point with coords and 'element'. More... | |
void | switch_node_pointer_in_all_components (Point *slave, Point *master, bool duplcheck) |
switch node pointer from oldnode/slave to newnode/master on this and all components (edges, faces) More... | |
virtual void | switch_node_pointer (Point *slave, Point *master, bool duplcheck) |
switch node pointer form slave to master More... | |
virtual double | give_quality (void) const |
compute quality of element More... | |
virtual double | give_volume (void) const |
compute volume of element More... | |
bool | isBeam (void) const |
bool | isTruss (void) const |
void | print_row_VTK (FILE *stream) const |
print element row output for VTK More... | |
virtual void | print_row_VTX (char *str) 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... | |
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 |
virtual void | switch_myself_at_connectivity (Cell *master) |
switch receiver to master in connectivity system More... | |
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... | |
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) |
![]() | |
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 |
Additional Inherited Members | |
![]() | |
GPA< const Point > | points |
GPA< const Edge > | edges |
GPA< const Face > | faces |
bool | connectivity_assembled |
Cell * | duplmaster |
![]() | |
ElemAttribs * | elemAttribs () |
Gives attribute attributes, data type changed to ElemAttribs*. More... | |
const ElemAttribs * | elemAttribs () const |
virtual void | integrate_duplicated_cell (const Element *slave) |
DUPLICITY. More... | |
![]() | |
virtual void | integrate_duplicated_cell (const Cell *slave) |
![]() | |
GPA< const Vertex > * | fixedVertices |
GPA< const Gelement > * | fixedGelements |
![]() | |
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... | |
|
inlinevirtual |
|
inline |
Definition at line 510 of file cell.h.
References midaspace::Cell::cg, midaspace::Cell::edges, and midaspace::Cell::points.
Referenced by midaspace::Model::read_model_MELNIK().
|
virtual |
Checks data consistency.
Reimplemented from midaspace::Cell.
Definition at line 1165 of file cell.cpp.
References _errorr2, midaspace::Cell::checkConsistency(), midaspace::DPN_Dxy_R___, midaspace::DPN_Dxy_R__z, midaspace::DPN_DxyzR___, midaspace::DPN_DxyzRxyz, midaspace::Element::elemAttribs(), errol, and midaspace::ProblemSubject::ID.
|
inline |
Definition at line 515 of file cell.h.
References midaspace::Cell::cg, midaspace::Cell::edges, and midaspace::Cell::points.
Referenced by generate_mesh_RFbyHN().
Function splits polyline segments up subsegments, one subsegment belongs to one element.
created 3.4.2003, Ladislav Svoboda, termi t@cm l.fsv .cvu t.cz
cut outside part of reinforcement
prochazi to stenou 3d prvku a stena ma jen jeden superelem tj. lezi na okraji pak je jasne, ze to opousti domenu
jinak zatim error, ale nemusi to byt error, muze to opoustet domenu v edgi
prochazi to stenou 3d prvku a stena ma dva superelem - vyztuz neopousti domenu
vyztuz opousti domenu asi edgi, ale to jsem zatim neosefoval
Definition at line 1299 of file cell.cpp.
References _errorr, midaspace::Cell::cross_abscissa_node(), errol, midaspace::Point::give_coords(), midaspace::Cell::give_dimension(), midaspace::HNAttribs::give_dimMC(), midaspace::HangingNode::give_HNattrb(), midaspace::HNAttribs::give_MC(), midaspace::Cell::give_nno(), midaspace::Point::give_numsuperelem(), midaspace::Facedge::give_numsuperelem(), midaspace::Point::give_numsuperface(), midaspace::Edge::give_numsuperface(), midaspace::Problem::give_PDBO(), midaspace::Cell::give_points(), midaspace::Point::give_superelems(), midaspace::Facedge::give_superelems(), midaspace::Point::give_superfaces(), midaspace::Edge::give_superfaces(), init_point_on(), midaspace::Element::is_point_on(), midaspace::GPA< T >::last(), midaspace::ProblemSubject::Pd, midaspace::PDBO_cutRF, midaspace::Cell::points, midaspace::same_array_elements_asym(), midaspace::Elem3D::x, and midaspace::Elem3D::zero().
Referenced by generate_mesh_RFbyHN().
Definition at line 1438 of file cell.cpp.
References _errorr, midaspace::Mesh::add_another_Element(), midaspace::DPN_DxyzR___, midaspace::Element::elemAttribs(), midaspace::ElemAttribs::give_dpn(), midaspace::Problem::give_fulldata(), midaspace::GeometryComponent::give_mproperty(), midaspace::Mesh::give_NumDomains(), midaspace::Mesh::give_Parallel(), midaspace::ProblemSubject::Pd, midaspace::Element::set_mprop(), and midaspace::FElement::set_node().
Referenced by generate_mesh_RFbyHN().
PolyLine * midaspace::PolyLine::generate_mesh_RFbyHN | ( | Mesh * | pm, |
GPA< const Node > & | hnodes | ||
) | const |
start point
Definition at line 1221 of file cell.cpp.
References _errorr2, _warningg2, del_points_down(), divide(), findout_segment_domain(), midaspace::Geometry::give_3Delement_with_point_inside(), midaspace::ProblemSubject::give_ID(), midaspace::Mesh::give_Parallel(), midaspace::Problem::give_PDBO(), midaspace::Point::give_pointAttribs(), init_point_on(), midaspace::ProblemSubject::Pd, midaspace::PDBO_cutRF, midaspace::Cell::points, PolyLine(), and midaspace::Elem3D::zero().
Referenced by midaspace::Model::generate_mesh_RFbyHN().
|
inlinevirtual |
Returns classID - class identification.
Reimplemented from midaspace::ProblemSubject.
Reimplemented in midaspace::Line.
Definition at line 505 of file cell.h.
References midaspace::classPolyLine.
|
inlinevirtual |
Reimplemented from midaspace::Element.
Reimplemented in midaspace::Line.
Definition at line 522 of file cell.h.
References errol.
void midaspace::PolyLine::init_point_on | ( | Mesh * | pm, |
GPA< const Node > & | hnodes, | ||
const PoinT * | point, | ||
const GeometryComponent * | comp, | ||
const PoinT * | nc, | ||
const Point * | parentpoint | ||
) | const |
RFbyHN.
Definition at line 1183 of file cell.cpp.
References midaspace::GPA< T >::add(), midaspace::Point::add_property(), errol, midaspace::Cell::give_dimension(), midaspace::GeometryComponent::give_mproperty(), midaspace::GeometryComponent::give_mproperty_cnt(), midaspace::Cell::give_nno(), midaspace::Facedge::give_ord(), midaspace::FElement::give_ord(), midaspace::Cell::give_points(), midaspace::HangingNode::initialize_hn(), and midaspace::GeometryComponent::set_mprop().
Referenced by divide(), and generate_mesh_RFbyHN().