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

#include <attribute.h>

Inheritance diagram for midaspace::Material:
midaspace::Attribute midaspace::ProblemSubject

Public Member Functions

 Material (const Problem *pd, long i)
 CONSTRUCTOR. More...
 
virtual ~Material ()
 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...
 
MaterialType give_type (void) const
 
MaterialType give_loctype (void) const
 
double give_Ry (void) const
 
bool isOOFEMplast (void) 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::Attribute
 Attribute (const Problem *pd, long gid)
 CONSTRUCTOR. More...
 
virtual ~Attribute ()
 DESTRUCTOR. More...
 
long give_sifid (void) const
 *** SET *** *** GET *** More...
 
void scan_linerec (const char *str)
 
void print_linerec (FILE *stream, bool pure) 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 void finitialize (void)
 finalize problem preprocessing More...
 
virtual void checkConsistency (void) const
 Checks data consistency. More...
 
void set_ID (long val)
 
long give_ID () const
 
void set_Pd (const Problem *owner)
 
const Problemgive_Pd (void) const
 

Protected Attributes

MaterialType type
 
MaterialType loctype
 
double density
 
double E
 
double ny
 
double tAlpha
 
double Ry
 
double IHM
 
double Capac
 
double Conduct
 
- Protected Attributes inherited from midaspace::Attribute
long sifid
 
char * linerec
 
- 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...
 

Detailed Description

Definition at line 243 of file attribute.h.

Constructor & Destructor Documentation

midaspace::Material::Material ( const Problem pd,
long  i 
)
inline

CONSTRUCTOR.

Definition at line 259 of file attribute.h.

References density, E, IHM, loctype, midaspace::MAT_Void, ny, Ry, tAlpha, and type.

virtual midaspace::Material::~Material ( )
inlinevirtual

DESTRUCTOR.

Definition at line 264 of file attribute.h.

Member Function Documentation

virtual classID midaspace::Material::give_classid ( ) const
inlinevirtual

Returns classID - class identification.

Reimplemented from midaspace::Attribute.

Definition at line 267 of file attribute.h.

References midaspace::classMaterial.

MaterialType midaspace::Material::give_loctype ( void  ) const
inline
double midaspace::Material::give_Ry ( void  ) const
inline

Definition at line 279 of file attribute.h.

References Ry.

Referenced by midaspace::FElement::give_CSusage_elast_rel().

MaterialType midaspace::Material::give_type ( void  ) const
inline

Definition at line 277 of file attribute.h.

References type.

Referenced by midaspace::Edge::give_elemSize(), and midaspace::Face::give_elemSize().

virtual void midaspace::Material::initialize ( void  )
inlinevirtual
bool midaspace::Material::initialize_from ( const char *&  str,
femFileFormat  ff,
bool  all = true 
)
virtual
bool midaspace::Material::isOOFEMplast ( void  ) const
inline

Definition at line 281 of file attribute.h.

References loctype, and midaspace::MAT_j2mat.

Referenced by midaspace::Triangle::read_output_OOFEM().

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

Member Data Documentation

double midaspace::Material::Capac
protected

Definition at line 254 of file attribute.h.

Referenced by initialize_from(), and print_row().

double midaspace::Material::Conduct
protected

Definition at line 255 of file attribute.h.

Referenced by initialize_from(), and print_row().

double midaspace::Material::density
protected

Definition at line 248 of file attribute.h.

Referenced by initialize_from(), Material(), and print_row().

double midaspace::Material::E
protected

Definition at line 249 of file attribute.h.

Referenced by initialize_from(), Material(), and print_row().

double midaspace::Material::IHM
protected

Definition at line 253 of file attribute.h.

Referenced by initialize_from(), Material(), and print_row().

MaterialType midaspace::Material::loctype
protected

Definition at line 247 of file attribute.h.

Referenced by give_loctype(), initialize_from(), isOOFEMplast(), and Material().

double midaspace::Material::ny
protected

Definition at line 250 of file attribute.h.

Referenced by initialize_from(), Material(), and print_row().

double midaspace::Material::Ry
protected

Definition at line 252 of file attribute.h.

Referenced by give_Ry(), initialize_from(), Material(), and print_row().

double midaspace::Material::tAlpha
protected

Definition at line 251 of file attribute.h.

Referenced by initialize_from(), Material(), and print_row().

MaterialType midaspace::Material::type
protected

Definition at line 246 of file attribute.h.

Referenced by give_loctype(), give_type(), initialize(), initialize_from(), Material(), and print_row().


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