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

assignment of attributes to element More...

#include <attribute.h>

Inheritance diagram for midaspace::ElemAttribs:
midaspace::CellAttribs midaspace::Attributes midaspace::GeomCompSubject midaspace::GeometrySubject midaspace::ProblemSubject midaspace::FElemAttribs midaspace::GelemAttribs

Public Member Functions

 ElemAttribs (const Element *ow, long p, ElAttLevel eal)
 CONSTRUCTOR. More...
 
 ElemAttribs (const Element *ow, const ElemAttribs *src, char samegeom)
 CONSTRUCTOR COPY. More...
 
virtual ~ElemAttribs ()
 DESTRUCTOR. More...
 
virtual classID give_classid () const =0
 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 finitialize (void)
 finalize preprocessing More...
 
virtual void checkConsistency (void) const
 Checks data consistency. More...
 
void integrate_duplicated_one (const ElemAttribs *slv)
 
void EALdirectCheck (void) const
 check this is nongeneral == this has to have owner More...
 
void set_Patt (void)
 
void set_FETS (const FiniteElementTypeSet *val)
 
void set_dpn (DOFsPerNode val)
 
void set_sst (SStype val)
 
void set_approx (FEApproximation val)
 
void set_cs (int i)
 void set_NIP (int val) { NIP = val; } More...
 
void set_cs_of_type (CrossSectType type, int id)
 
void set_mat (int i)
 
void set_load (int i, char flag='\0', int indx=-1)
 
void set_load (const BoundaryCond *bc, char flag='\0', int indx=-1)
 
void set_HNmstr (bool val)
 
void set_nlgeo (bool val)
 
void set_MatStiffMtrx (int n, double *src)
 
void set_mat_of_type (MaterialType type, int id)
 
void set_lcs (LCSdirection dir, LCStype typ, long num)
 
void set_lcs (LCSdirection dir, LCStype typ, const double *auxDv)
 
DOFsPerNode give_dpn_default (void) const
 DEFAULT. More...
 
SStype give_sst_default (void) const
 
DOFsPerNode give_dpn_loc (void) const
 LOCAL. More...
 
SStype give_sst_loc (void) const
 
FEApproximation give_approx_loc (void) const
 
FiniteElementType give_expltype_loc (void) const
 
int give_ord (void) const
 
IntPointSet give_IPset_loc (void) const
 
bool * give_HNmstr_loc (void) const
 
const CrossSectiongive_cs_loc (void) const
 
const Materialgive_mat_loc (void) const
 
const LCS_beamgive_lcs_loc (void) const
 
const GPA< PointDOFsCondense > * give_conDOFs (void) const
 
const PointDOFsCondensegive_conDOFs (const Point *p) const
 
FiniteElementTypeSetgive_FETS (FiniteElementTypeSet *set) const
 GLOBAL, EAL_direct only. More...
 
DOFsPerNode give_dpn (void) const
 
SStype give_sst (void) const
 
FEApproximation give_approx (void) const
 
FiniteElementType give_expltype (void) const
 
IntPointSet give_IPset (void) const
 
bool give_HNmstr (void) const
 
const CrossSectiongive_cs (void) const
 
const Materialgive_mat (void) const
 
const LCS_beamgive_lcs (void) const
 
const LCS_beamgive_lcs_global (void) const
 
void set_fullhinge_at (int point)
 
bool has_fullhinge_ends (void) const
 
void switch_dpn_Line (void)
 
long give_mat_ID (void)
 give material ID, or -1 if mat==NULL More...
 
void print_Bbc_SIFEL (FILE *stream) const
 
void print_Fbc_SIFEL (FILE *stream) const
 
void print_Ebc_SIFEL (FILE *stream) const
 
- Public Member Functions inherited from midaspace::CellAttribs
 CellAttribs (const Cell *owner, long p)
 CONSTRUCTOR. More...
 
 CellAttribs (const Cell *owner, const CellAttribs *src)
 CONSTRUCTOR COPY. More...
 
virtual ~CellAttribs ()
 DESTRUCTOR. More...
 
- 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...
 
virtual void print_row (FILE *stream, femFileFormat fff, long did) const =0
 print row to solver input file 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 Member Functions

const Elementowner () const
 POINTERS TO SUPERIORS. More...
 

Protected Attributes

ElAttLevel EAL
 LEVEL. More...
 
const ElemAttribsPatt
 
const ElemAttribsGatt
 
const ElemAttribsDatt
 
DOFsPerNode dpn
 FINITE ELEMENT TYPE SET // viz alias.h. More...
 
SStype sst
 
FEApproximation approx
 
FiniteElementType expltype
 
IntPointSet IPset
 VALUES. More...
 
bool * HNmstr
 
bool * nlgeo
 
const CrossSectioncs
 POINTERS TO ATTRIBUTES listed in problem class cs, mat, ... More...
 
const Materialmat
 
LCS_beamlcs
 OWNED OBJECTS. More...
 
DvctrMatStiffMtrx
 
GPA< PointDOFsCondense > * conDOFs
 
- 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...
 

Static Protected Attributes

static const int ord = -4
 

Detailed Description

assignment of attributes to element

Definition at line 707 of file attribute.h.

Constructor & Destructor Documentation

midaspace::ElemAttribs::ElemAttribs ( const Element ow,
long  p,
ElAttLevel  eal 
)
midaspace::ElemAttribs::ElemAttribs ( const Element ow,
const ElemAttribs src,
char  samegeom 
)

CONSTRUCTOR COPY.

this->owner and src->owner has same geometry, points has same coords

different geometry, subdivision of quadrangle to two triangles

src->owner is mdl_master

Definition at line 974 of file attribute.cpp.

References approx, conDOFs, cs, Datt, dpn, EAL, midaspace::EAL_direct, errol, expltype, Gatt, HNmstr, IPset, lcs, mat, MatStiffMtrx, nlgeo, Patt, and sst.

midaspace::ElemAttribs::~ElemAttribs ( )
virtual

DESTRUCTOR.

Definition at line 1016 of file attribute.cpp.

References conDOFs, HNmstr, MatStiffMtrx, and nlgeo.

Member Function Documentation

void midaspace::ElemAttribs::checkConsistency ( void  ) const
virtual
void midaspace::ElemAttribs::EALdirectCheck ( void  ) const
inline
void midaspace::ElemAttribs::finitialize ( void  )
virtual

finalize preprocessing

Reimplemented from midaspace::ProblemSubject.

Definition at line 1142 of file attribute.cpp.

FEApproximation midaspace::ElemAttribs::give_approx ( void  ) const
inline

Definition at line 839 of file attribute.h.

References Datt, EALdirectCheck(), midaspace::FEA_default, Gatt, give_approx_loc(), and Patt.

Referenced by give_FETS().

FEApproximation midaspace::ElemAttribs::give_approx_loc ( void  ) const
inline

Definition at line 819 of file attribute.h.

References approx.

Referenced by give_approx().

virtual classID midaspace::ElemAttribs::give_classid ( ) const
pure virtual

Returns classID - class identification.

Reimplemented from midaspace::ProblemSubject.

Implemented in midaspace::GelemAttribs, and midaspace::FElemAttribs.

Referenced by initialize_from().

const GPA<PointDOFsCondense>* midaspace::ElemAttribs::give_conDOFs ( void  ) const
inline

Definition at line 830 of file attribute.h.

References conDOFs.

Referenced by midaspace::FElemAttribs::initialize(), and midaspace::Beam::print_row().

const PointDOFsCondense * midaspace::ElemAttribs::give_conDOFs ( const Point p) const

Definition at line 1313 of file attribute.cpp.

References conDOFs, midaspace::Cell::give_point_indx(), and owner().

const CrossSection* midaspace::ElemAttribs::give_cs ( void  ) const
inline
const CrossSection* midaspace::ElemAttribs::give_cs_loc ( void  ) const
inline

Definition at line 826 of file attribute.h.

References cs.

Referenced by give_cs().

DOFsPerNode midaspace::ElemAttribs::give_dpn ( void  ) const
inline
DOFsPerNode midaspace::ElemAttribs::give_dpn_default ( void  ) const

DEFAULT.

Definition at line 1308 of file attribute.cpp.

References midaspace::Element::give_DOFsPerNode_default(), and owner().

Referenced by give_dpn().

DOFsPerNode midaspace::ElemAttribs::give_dpn_loc ( void  ) const
inline

LOCAL.

Definition at line 817 of file attribute.h.

References dpn.

Referenced by give_dpn().

FiniteElementType midaspace::ElemAttribs::give_expltype ( void  ) const
inline

Definition at line 840 of file attribute.h.

References Datt, EALdirectCheck(), midaspace::FET_Void, Gatt, give_expltype_loc(), and Patt.

Referenced by give_FETS().

FiniteElementType midaspace::ElemAttribs::give_expltype_loc ( void  ) const
inline

Definition at line 820 of file attribute.h.

References expltype.

Referenced by give_expltype().

FiniteElementTypeSet * midaspace::ElemAttribs::give_FETS ( FiniteElementTypeSet set) const
bool midaspace::ElemAttribs::give_HNmstr ( void  ) const
inline

Definition at line 843 of file attribute.h.

References Datt, EALdirectCheck(), Gatt, give_HNmstr_loc(), and Patt.

bool* midaspace::ElemAttribs::give_HNmstr_loc ( void  ) const
inline

Definition at line 824 of file attribute.h.

References HNmstr.

Referenced by give_HNmstr().

IntPointSet midaspace::ElemAttribs::give_IPset ( void  ) const
inline
IntPointSet midaspace::ElemAttribs::give_IPset_loc ( void  ) const
inline

Definition at line 823 of file attribute.h.

References IPset.

Referenced by give_IPset().

const LCS_beam* midaspace::ElemAttribs::give_lcs ( void  ) const
inline

Definition at line 848 of file attribute.h.

References Datt, EALdirectCheck(), Gatt, give_lcs_loc(), and Patt.

Referenced by give_lcs_global().

const LCS_beam* midaspace::ElemAttribs::give_lcs_global ( void  ) const
inline
const LCS_beam* midaspace::ElemAttribs::give_lcs_loc ( void  ) const
inline

Definition at line 829 of file attribute.h.

References lcs.

Referenced by give_lcs().

const Material* midaspace::ElemAttribs::give_mat ( void  ) const
inline
long midaspace::ElemAttribs::give_mat_ID ( void  )
inline

give material ID, or -1 if mat==NULL

Definition at line 890 of file attribute.h.

References midaspace::ProblemSubject::give_ID(), and give_mat().

const Material* midaspace::ElemAttribs::give_mat_loc ( void  ) const
inline

Definition at line 827 of file attribute.h.

References mat.

Referenced by give_mat().

int midaspace::ElemAttribs::give_ord ( void  ) const
inline
SStype midaspace::ElemAttribs::give_sst ( void  ) const
inline
SStype midaspace::ElemAttribs::give_sst_default ( void  ) const

Definition at line 1309 of file attribute.cpp.

References midaspace::Element::give_SSType_default(), and owner().

Referenced by give_sst().

SStype midaspace::ElemAttribs::give_sst_loc ( void  ) const
inline

Definition at line 818 of file attribute.h.

References sst.

Referenced by give_sst().

bool midaspace::ElemAttribs::has_fullhinge_ends ( void  ) const

Definition at line 1337 of file attribute.cpp.

References conDOFs.

Referenced by switch_dpn_Line().

void midaspace::ElemAttribs::initialize ( void  )
virtual
bool midaspace::ElemAttribs::initialize_from ( const char *&  str,
femFileFormat  ff,
bool  all = true 
)
virtual
void midaspace::ElemAttribs::integrate_duplicated_one ( const ElemAttribs slv)
const Element* midaspace::ElemAttribs::owner ( ) const
inlineprotected
void midaspace::ElemAttribs::print_Bbc_SIFEL ( FILE *  stream) const
void midaspace::ElemAttribs::print_Ebc_SIFEL ( FILE *  stream) const
void midaspace::ElemAttribs::print_Fbc_SIFEL ( FILE *  stream) const
void midaspace::ElemAttribs::set_approx ( FEApproximation  val)
inline

Definition at line 786 of file attribute.h.

References approx.

Referenced by midaspace::Problem::set_domainElAt().

void midaspace::ElemAttribs::set_cs ( int  i)
inline

void set_NIP (int val) { NIP = val; }

Definition at line 790 of file attribute.h.

References _errorr2, cs, midaspace::Problem::give_CS(), and midaspace::ProblemSubject::Pd.

Referenced by initialize_from().

void midaspace::ElemAttribs::set_cs_of_type ( CrossSectType  type,
int  id 
)
inline

Definition at line 791 of file attribute.h.

References cs, midaspace::Problem::give_CS_of_type(), and midaspace::ProblemSubject::Pd.

Referenced by initialize_from().

void midaspace::ElemAttribs::set_dpn ( DOFsPerNode  val)
inline

Definition at line 784 of file attribute.h.

References dpn.

Referenced by switch_dpn_Line().

void midaspace::ElemAttribs::set_FETS ( const FiniteElementTypeSet val)
void midaspace::ElemAttribs::set_fullhinge_at ( int  point)
void midaspace::ElemAttribs::set_HNmstr ( bool  val)
inline

Definition at line 795 of file attribute.h.

References HNmstr.

void midaspace::ElemAttribs::set_lcs ( LCSdirection  dir,
LCStype  typ,
long  num 
)
inline

Definition at line 806 of file attribute.h.

References errol, and lcs.

Referenced by midaspace::Problem::set_lcs().

void midaspace::ElemAttribs::set_lcs ( LCSdirection  dir,
LCStype  typ,
const double *  auxDv 
)
inline

Definition at line 807 of file attribute.h.

References errol, and lcs.

void midaspace::ElemAttribs::set_load ( int  i,
char  flag = '\0',
int  indx = -1 
)

Referenced by initialize_from().

void midaspace::ElemAttribs::set_load ( const BoundaryCond bc,
char  flag = '\0',
int  indx = -1 
)
void midaspace::ElemAttribs::set_mat ( int  i)
inline

Definition at line 792 of file attribute.h.

References _errorr2, midaspace::Problem::give_Mat(), mat, and midaspace::ProblemSubject::Pd.

Referenced by initialize_from().

void midaspace::ElemAttribs::set_mat_of_type ( MaterialType  type,
int  id 
)
inline

Definition at line 798 of file attribute.h.

References midaspace::Problem::give_Mat_of_type(), mat, and midaspace::ProblemSubject::Pd.

Referenced by initialize_from().

void midaspace::ElemAttribs::set_MatStiffMtrx ( int  n,
double *  src 
)

Definition at line 1284 of file attribute.cpp.

References midaspace::Dvctr::beCopyOf(), and MatStiffMtrx.

void midaspace::ElemAttribs::set_nlgeo ( bool  val)
inline

Definition at line 796 of file attribute.h.

References nlgeo.

Referenced by initialize_from().

void midaspace::ElemAttribs::set_Patt ( void  )
void midaspace::ElemAttribs::set_sst ( SStype  val)
inline

Definition at line 785 of file attribute.h.

References sst.

Referenced by midaspace::Triangle::read_input(), and midaspace::Quadrangle::read_input().

void midaspace::ElemAttribs::switch_dpn_Line ( void  )

Member Data Documentation

FEApproximation midaspace::ElemAttribs::approx
protected
GPA<PointDOFsCondense>* midaspace::ElemAttribs::conDOFs
protected
const CrossSection* midaspace::ElemAttribs::cs
protected

POINTERS TO ATTRIBUTES listed in problem class cs, mat, ...

Definition at line 740 of file attribute.h.

Referenced by midaspace::GelemAttribs::checkConsistency(), ElemAttribs(), give_cs_loc(), initialize_from(), integrate_duplicated_one(), set_cs(), and set_cs_of_type().

const ElemAttribs* midaspace::ElemAttribs::Datt
protected
DOFsPerNode midaspace::ElemAttribs::dpn
protected
ElAttLevel midaspace::ElemAttribs::EAL
protected
FiniteElementType midaspace::ElemAttribs::expltype
protected
const ElemAttribs* midaspace::ElemAttribs::Gatt
protected
bool* midaspace::ElemAttribs::HNmstr
protected
IntPointSet midaspace::ElemAttribs::IPset
protected
LCS_beam* midaspace::ElemAttribs::lcs
protected
const Material* midaspace::ElemAttribs::mat
protected
Dvctr* midaspace::ElemAttribs::MatStiffMtrx
protected
bool* midaspace::ElemAttribs::nlgeo
protected
const int midaspace::ElemAttribs::ord = -4
staticprotected

Definition at line 730 of file attribute.h.

Referenced by give_FETS(), and give_ord().

const ElemAttribs* midaspace::ElemAttribs::Patt
protected
SStype midaspace::ElemAttribs::sst
protected

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