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::Facedge Class Referenceabstract

#include <cell.h>

Inheritance diagram for midaspace::Facedge:
midaspace::Cell midaspace::GeometryComponent midaspace::GeometrySubject midaspace::ProblemSubject midaspace::Edge midaspace::Face

Public Member Functions

 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 Elementgive_superelem (long i) const
 
const GPA< const Element > * give_superelems (void) const
 
const Elementgive_masterel (void) const
 masterel is Element (not Facedge), the first one, with lowest dimension More...
 
const Elementgive_main_masterel_uniq (void) const
 main masterel is Element (not Facedge) with same dimension as face/edge More...
 
FacedgeAttribsgive_facedgeAttribs (void)
 
const FacedgeAttribsgive_facedgeAttribs (void) const
 
virtual long give_ord (void) const =0
 
const GPA< const BoundaryCond > * give_loads (const Element *fe) const
 
long give_cloads (const Element *fe) 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 connectivity_assembling (bool re=false)=0
 Function setups connectivity of element and its components == nodes, edges and faces; re == reassembling. More...
 
virtual void connectivity_removing (void)=0
 Function removes connectivity of element and its components == nodes, edges and faces; re == reassembling. More...
 
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...
 
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...
 
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 Member Functions

virtual void integrate_duplicated_cell (const Facedge *slave)
 DUPLICITY. More...
 
- Protected Member Functions inherited from midaspace::Cell
virtual void integrate_duplicated_cell (const Cell *slave)
 
virtual void switch_node_pointer (Point *slave, Point *master, bool duplcheck)
 switch node pointer form slave to master More...
 

Protected Attributes

GPA< const Elementsuperelems
 CONNECTIVITY - full connectivity initiated only when Geom->connectivity_is_assembled() == true. More...
 
int masterel_dim
 MASTER ELEMENT. More...
 
GPA< const Elementmasterels
 
- 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
 

Detailed Description

Definition at line 150 of file cell.h.

Constructor & Destructor Documentation

midaspace::Facedge::Facedge ( long  gid,
long  oid,
long  prop,
const Geometry mg,
long  nn,
long  ne,
long  nf 
)
inline

CONSTRUCTOR.

Definition at line 165 of file cell.h.

References masterel_dim, and superelems.

virtual midaspace::Facedge::~Facedge ( )
inlinevirtual

CONSTRUCTOR COPY.

DESTRUCTOR

Definition at line 173 of file cell.h.

Member Function Documentation

long midaspace::Facedge::give_cloads ( const Element fe) const
inline
FacedgeAttribs* midaspace::Facedge::give_facedgeAttribs ( void  )
inline
const FacedgeAttribs* midaspace::Facedge::give_facedgeAttribs ( void  ) const
inline

Definition at line 199 of file cell.h.

References midaspace::GeometryComponent::attributes.

const GPA<const BoundaryCond>* midaspace::Facedge::give_loads ( const Element fe) const
inline
const Element * midaspace::Facedge::give_main_masterel_uniq ( void  ) const
const Element* midaspace::Facedge::give_masterel ( void  ) const
inline

masterel is Element (not Facedge), the first one, with lowest dimension

Definition at line 193 of file cell.h.

References midaspace::GeometryComponent::check_connectivity(), and masterels.

Referenced by give_cloads(), and give_loads().

long midaspace::Facedge::give_numsuperelem ( void  ) const
inline
virtual long midaspace::Facedge::give_ord ( void  ) const
pure virtual
const Element* midaspace::Facedge::give_superelem ( long  i) const
inline
const GPA<const Element>* midaspace::Facedge::give_superelems ( void  ) const
inline
void midaspace::Facedge::integrate_duplicated_cell ( const Facedge slave)
protectedvirtual
void midaspace::Facedge::remove_superelem ( const Element comp)
inline

Definition at line 182 of file cell.h.

References superelems.

void midaspace::Facedge::setadd_masterel ( const Element comp)

Set master element if it is.

Definition at line 352 of file cell.cpp.

References midaspace::Cell::give_dimension(), masterel_dim, and masterels.

Referenced by setadd_superelem().

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

Returns classID - class identification.

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

Definition at line 181 of file cell.h.

References setadd_masterel(), and superelems.

Referenced by midaspace::Element::connectivity_assembling().

Member Data Documentation

int midaspace::Facedge::masterel_dim
protected

MASTER ELEMENT.

Definition at line 160 of file cell.h.

Referenced by Facedge(), give_main_masterel_uniq(), and setadd_masterel().

GPA<const Element> midaspace::Facedge::masterels
protected

Definition at line 161 of file cell.h.

Referenced by give_main_masterel_uniq(), give_masterel(), and setadd_masterel().

GPA<const Element> midaspace::Facedge::superelems
protected

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