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

#include <attribute.h>

Inheritance diagram for midaspace::HNAttribs:
midaspace::PointAttribs midaspace::Attributes midaspace::GeomCompSubject midaspace::GeometrySubject midaspace::ProblemSubject

Public Member Functions

 HNAttribs (const Point *ow, long a, const Problem *pd=NULL, const PointAttribs *gena=NULL)
 CONSTRUCTOR. More...
 
 HNAttribs (const Point *ow, const PointAttribs *src)
 CONSTRUCTOR COPY. More...
 
virtual ~HNAttribs ()
 DESTRUCTOR. More...
 
virtual classID give_classid () const
 Returns classID - class identification. More...
 
virtual bool initialize_from (const char *&str, femFileFormat ff, bool all=true)
 initialize form input string More...
 
virtual void initialize (void)
 initialize yourself More...
 
virtual void checkConsistency (void) const
 Checks data consistency. More...
 
const Cellgive_MC (void) const
 
long give_dimMC (void) const
 
void initialize_general (long countMN, const Node **mns, const double *cntrb, int n, int *val)
 initialize hanging node general More...
 
void initialize_atelemet (const Cell *mc, long dimmc, long ordmc, long countMN, const Node **mns, const PoinT *natcoords)
 initialize hanging node at element type More...
 
void add_masters_to_domain (long did)
 
void check_masters_at_domain (long did) const
 
void find_hndomain (void)
 
void print_one_row (FILE *stream, long hid) const
 
virtual void print_row (FILE *stream, femFileFormat fff, long did) const
 print row to solver input file More...
 
- Public Member Functions inherited from midaspace::PointAttribs
 PointAttribs (const Point *ow, long p, const Problem *pd=NULL, const PointAttribs *gena=NULL)
 CONSTRUCTOR. More...
 
 PointAttribs (const Point *ow, const Attributes *src)
 CONSTRUCTOR COPY. More...
 
virtual ~PointAttribs ()
 DESTRUCTOR. More...
 
virtual void finitialize (void)
 finalize preprocessing More...
 
void set_dofbc_with_ID (int i)
 check this is nongeneral == this has to have owner More...
 
void set_nDOFs_BC (int nd, int *bc)
 
void set_nDOFs_BC (int nd, long *bc)
 
void set_nDOFs_BC (const PointDOFsBCPM *src)
 
void set_hinge (int val)
 
void set_cs_of_type (CrossSectType type, int id)
 
void set_dofbc (const char *str, femFileFormat ff=FFF_Void)
 
void set_dofbc_copy_of (const PointDOFsBCPM *src)
 
void reset_dofbc_support_all_rot_dofs (void)
 
int give_nDOFs (void) const
 
const PointDOFsBCPMgive_DOFbc (void) const
 
const CrossSectiongive_cs (void) const
 
int give_hinge (void) const
 
const int * give_dofBCmask (void) const
 
bool is_supported (void) const
 
void assemble_full_constrained (Lvctr *aa) const
 
void setup_full_alloc_DOFvals (Dvctr *answer, const Dvctr *values) const
 
void checkEqualityWith (const PointAttribs *slave) const
 
void read_bc (FILE *stream, femFileFormat fff)
 
bool print_prescribed_values (FILE *stream, femFileFormat fff) const
 oofem a ansys berou podepreni jako predepsane posunuti velikosti 0.0 ale sifel zadava podepreni jako ano/ne hodnotu a nenulove predepsane posunuti definuje jinde proto sifel musi mit zvlasti fce More...
 
void print_supported_BC_to_line (FILE *stream, femFileFormat fff) const
 
void print_DofIDMask_OOFEM (FILE *stream) const
 
void print_bc (FILE *stream, femFileFormat fff) const
 
- Public Member Functions inherited from midaspace::Attributes
 Attributes (const GeometryComponent *owner, long p)
 CONSTRUCTOR. More...
 
 Attributes (const GeometryComponent *owner, const Attributes *src)
 CONSTRUCTOR COPY. More...
 
virtual ~Attributes ()
 DESTRUCTOR. More...
 
void set_prop (long val)
 
void add_load (const BoundaryCond *val)
 
void add_load (int i)
 
long give_prop (void) const
 
const GPA< const BoundaryCond > * give_loads (void) const
 
const BoundaryCondgive_load (int i) const
 
long give_cloads (void) const
 
bool is_loaded (void) const
 
- Public Member Functions inherited from midaspace::GeomCompSubject
 GeomCompSubject (long gid)
 CONSTRUCTOR. More...
 
 GeomCompSubject (long gid, const Problem *owner)
 CONSTRUCTOR. More...
 
 GeomCompSubject (long gid, const Geometry *owner)
 CONSTRUCTOR. More...
 
 GeomCompSubject (long gid, const GeometryComponent *owner)
 CONSTRUCTOR. More...
 
virtual ~GeomCompSubject ()
 DESTRUCTOR. More...
 
void set_GC (const GeometryComponent *owner)
 
const GeometryComponentgive_GC (void) const
 
- 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...
 
void set_ID (long val)
 
long give_ID () const
 
void set_Pd (const Problem *owner)
 
const Problemgive_Pd (void) const
 

Protected Attributes

int type
 
long cm
 
long * AUX_msprops
 
long * AUX_mslids
 
const Node ** masters
 
PointDOFsRANHNdoftype
 RAN DOF types - contain ndofs, dof type array, master mask array. More...
 
double * contrib
 type == 1 ** HN general More...
 
const CellMC
 type == 2 ** HN at finite element More...
 
long dimMC
 
long ordMC
 
PoinTnc
 
- Protected Attributes inherited from midaspace::PointAttribs
const PointAttribsgenatt
 
int hinge
 VALUES. More...
 
PointDOFsBCPMdofbc
 OWNED OBJECTS. More...
 
const CrossSectioncs
 POINTERS TO ATTRIBUTES listed in problem class. More...
 
LCS_purelcs
 local coordinate systen at node More...
 
- Protected Attributes inherited from midaspace::Attributes
long prop
 
GPA< const BoundaryCondloads
 POINTERS TO ATTRIBUTES listed in problem class. More...
 
- Protected Attributes inherited from midaspace::GeomCompSubject
const GeometryComponentGC
 Pointer to owner == parent geometry component. 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

- Protected Member Functions inherited from midaspace::PointAttribs
const Pointowner () const
 POINTERS TO SUPERIORS. More...
 

Detailed Description

Definition at line 1148 of file attribute.h.

Constructor & Destructor Documentation

midaspace::HNAttribs::HNAttribs ( const Point ow,
long  a,
const Problem pd = NULL,
const PointAttribs gena = NULL 
)

CONSTRUCTOR.

Definition at line 2194 of file attribute.cpp.

References AUX_mslids, AUX_msprops, cm, contrib, dimMC, doftype, masters, MC, nc, ordMC, and type.

midaspace::HNAttribs::HNAttribs ( const Point ow,
const PointAttribs src 
)
midaspace::HNAttribs::~HNAttribs ( )
virtual

DESTRUCTOR.

Definition at line 2213 of file attribute.cpp.

References AUX_mslids, AUX_msprops, contrib, doftype, masters, MC, and nc.

Member Function Documentation

void midaspace::HNAttribs::add_masters_to_domain ( long  did)

Definition at line 2466 of file attribute.cpp.

References cm, midaspace::PointAttribs::genatt, and masters.

void midaspace::HNAttribs::check_masters_at_domain ( long  did) const
void midaspace::HNAttribs::checkConsistency ( void  ) const
virtual
void midaspace::HNAttribs::find_hndomain ( void  )
virtual classID midaspace::HNAttribs::give_classid ( ) const
inlinevirtual

Returns classID - class identification.

Reimplemented from midaspace::PointAttribs.

Definition at line 1177 of file attribute.h.

References midaspace::classHNAttribs.

long midaspace::HNAttribs::give_dimMC ( void  ) const
inline

Definition at line 1187 of file attribute.h.

References dimMC.

Referenced by midaspace::PolyLine::divide().

const Cell* midaspace::HNAttribs::give_MC ( void  ) const
inline

Definition at line 1186 of file attribute.h.

References MC.

Referenced by midaspace::PolyLine::divide().

void midaspace::HNAttribs::initialize ( void  )
virtual
void midaspace::HNAttribs::initialize_atelemet ( const Cell mc,
long  dimmc,
long  ordmc,
long  countMN,
const Node **  mns,
const PoinT natcoords 
)
bool midaspace::HNAttribs::initialize_from ( const char *&  str,
femFileFormat  ff,
bool  all = true 
)
virtual
void midaspace::HNAttribs::initialize_general ( long  countMN,
const Node **  mns,
const double *  cntrb,
int  n,
int *  val 
)

initialize hanging node general

Definition at line 2421 of file attribute.cpp.

References cm, contrib, doftype, errol, masters, midaspace::PointAttribs::owner(), midaspace::PointDOFsAttributes::set_ndofsatt(), and type.

void midaspace::HNAttribs::print_one_row ( FILE *  stream,
long  hid 
) const
void midaspace::HNAttribs::print_row ( FILE *  stream,
femFileFormat  fff,
long  did 
) const
virtual

Member Data Documentation

long* midaspace::HNAttribs::AUX_mslids
protected

Definition at line 1154 of file attribute.h.

Referenced by checkConsistency(), HNAttribs(), initialize(), initialize_from(), and ~HNAttribs().

long* midaspace::HNAttribs::AUX_msprops
protected

Definition at line 1153 of file attribute.h.

Referenced by checkConsistency(), HNAttribs(), initialize(), initialize_from(), and ~HNAttribs().

long midaspace::HNAttribs::cm
protected
double* midaspace::HNAttribs::contrib
protected

type == 1 ** HN general

Definition at line 1161 of file attribute.h.

Referenced by checkConsistency(), HNAttribs(), initialize(), initialize_from(), initialize_general(), print_row(), and ~HNAttribs().

long midaspace::HNAttribs::dimMC
protected
PointDOFsRANHN* midaspace::HNAttribs::doftype
protected

RAN DOF types - contain ndofs, dof type array, master mask array.

Definition at line 1158 of file attribute.h.

Referenced by checkConsistency(), HNAttribs(), initialize(), initialize_atelemet(), initialize_from(), initialize_general(), print_row(), and ~HNAttribs().

const Node** midaspace::HNAttribs::masters
protected
const Cell* midaspace::HNAttribs::MC
protected

type == 2 ** HN at finite element

Definition at line 1163 of file attribute.h.

Referenced by checkConsistency(), find_hndomain(), give_MC(), HNAttribs(), initialize_atelemet(), print_row(), and ~HNAttribs().

PoinT* midaspace::HNAttribs::nc
protected
long midaspace::HNAttribs::ordMC
protected
int midaspace::HNAttribs::type
protected

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