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

#include <cell.h>

Inheritance diagram for midaspace::Gelement:
midaspace::Element midaspace::Cell midaspace::GeometryComponent midaspace::GeometrySubject midaspace::ProblemSubject midaspace::PolygonMdl midaspace::PolyLine midaspace::Line

Public Member Functions

 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...
 
GelemAttribsgive_gelemAttribs (void)
 
const GelemAttribsgive_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...
 
- Public Member Functions inherited from midaspace::Element
 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 Facedgegive_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)
 
ElemAttribsgive_elemAttribs (void)
 
const ElemAttribsgive_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...
 
virtual long give_edge_nodes (const Point **&edgnodes) const
 
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
 
- Public Member Functions inherited from midaspace::Cell
CellGeometry give_cellGeom (void) const
 
int give_dimension (void) const
 return type of element geometry, is identical with class derived from FElement More...
 
const PoinTgive_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
 
ComponentGeometrygive_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 Pointgive_point (long i) const
 
const Edgegive_edge (long i) const
 
const Facegive_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...
 
- 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 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 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)
 
- 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...
 
virtual classID give_classid () const
 Returns classID - class identification. More...
 
void set_ID (long val)
 
long give_ID () const
 
void set_Pd (const Problem *owner)
 
const Problemgive_Pd (void) const
 

Protected Attributes

GPA< const Vertex > * fixedVertices
 
GPA< const Gelement > * fixedGelements
 
- Protected Attributes inherited from midaspace::Cell
ComponentGeometrycg
 
- 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...
 

Additional Inherited Members

- Public Attributes inherited from midaspace::Cell
GPA< const Pointpoints
 
GPA< const Edgeedges
 
GPA< const Facefaces
 
bool connectivity_assembled
 
Cellduplmaster
 
- Protected Member Functions inherited from midaspace::Element
ElemAttribselemAttribs ()
 Gives attribute attributes, data type changed to ElemAttribs*. More...
 
const ElemAttribselemAttribs () const
 
virtual void integrate_duplicated_cell (const Element *slave)
 DUPLICITY. More...
 
- Protected Member Functions inherited from midaspace::Cell
virtual void integrate_duplicated_cell (const Cell *slave)
 

Detailed Description

Definition at line 452 of file cell.h.

Constructor & Destructor Documentation

midaspace::Gelement::Gelement ( classID  mecg,
long  gid,
long  oid,
const Geometry mg,
long  nn,
long  ne,
long  nf 
)

CONSTRUCTOR.

Definition at line 1114 of file cell.cpp.

References midaspace::GeometryComponent::attributes, midaspace::EAL_direct, fixedGelements, and fixedVertices.

midaspace::Gelement::Gelement ( classID  mecg,
const Gelement src 
)

CONSTRUCTOR COPY.

Definition at line 1121 of file cell.cpp.

References midaspace::GeometryComponent::attributes, and midaspace::EAL_direct.

virtual midaspace::Gelement::~Gelement ( )
inlinevirtual

DESTRUCTOR.

Definition at line 464 of file cell.h.

References fixedGelements, and fixedVertices.

Member Function Documentation

void midaspace::Gelement::assign_fixed_entities_by_ID ( bool  node,
long  ncn,
const long *  icn 
)

Definition at line 1151 of file cell.cpp.

References fixedGelements, fixedVertices, and midaspace::GeometrySubject::Geom.

virtual DOFsPerNode midaspace::Gelement::give_DOFsPerNode_default ( void  ) const
inlinevirtual

give default DOFs per node

Implements midaspace::Element.

Definition at line 471 of file cell.h.

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

const GPA<const Gelement>* midaspace::Gelement::give_fixedGelements ( void  ) const
inline

Definition at line 477 of file cell.h.

References fixedGelements.

Referenced by midaspace::Face::print_row().

const GPA<const Vertex>* midaspace::Gelement::give_fixedVertices ( void  ) const
inline

Definition at line 476 of file cell.h.

References fixedVertices.

Referenced by midaspace::Face::print_row().

GelemAttribs* midaspace::Gelement::give_gelemAttribs ( void  )
inline
const GelemAttribs* midaspace::Gelement::give_gelemAttribs ( void  ) const
inline

Definition at line 468 of file cell.h.

References midaspace::GeometryComponent::attributes.

virtual SStype midaspace::Gelement::give_SSType_default ( void  ) const
inlinevirtual

give default type of stress state

Implements midaspace::Element.

Definition at line 473 of file cell.h.

References midaspace::SST_Void.

virtual void midaspace::Gelement::print_row ( FILE *  stream,
femFileFormat  fff,
bool  endline = true,
long  did = 0 
) const
inlinevirtual

*** PRINT ***

Implements midaspace::GeometryComponent.

Reimplemented in midaspace::PolygonMdl, and midaspace::Line.

Definition at line 487 of file cell.h.

References errol.

void midaspace::Gelement::set_elemCount ( double  val)

Definition at line 1143 of file cell.cpp.

References _errorr, midaspace::Cell::give_edge(), and midaspace::Cell::give_ned().

void midaspace::Gelement::set_elemSize ( double  val)

Member Data Documentation

GPA<const Gelement>* midaspace::Gelement::fixedGelements
protected

Definition at line 456 of file cell.h.

Referenced by assign_fixed_entities_by_ID(), Gelement(), give_fixedGelements(), and ~Gelement().

GPA<const Vertex>* midaspace::Gelement::fixedVertices
protected

Definition at line 455 of file cell.h.

Referenced by assign_fixed_entities_by_ID(), Gelement(), give_fixedVertices(), and ~Gelement().


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