OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
oofem::RandomMaterialStatusExtensionInterface Class Reference

Abstract base class for all random constitutive model statuses. More...

#include <randommaterialext.h>

+ Inheritance diagram for oofem::RandomMaterialStatusExtensionInterface:
+ Collaboration diagram for oofem::RandomMaterialStatusExtensionInterface:

Public Member Functions

 RandomMaterialStatusExtensionInterface ()
 Constructor. More...
 
virtual ~RandomMaterialStatusExtensionInterface ()
 Destructor. More...
 
bool _giveProperty (int key, double &value)
 Returns the value of random property, identified by a key. More...
 
void _setProperty (int key, double value)
 Sets the value of random property, identified by a key. More...
 
- Public Member Functions inherited from oofem::Interface
 Interface ()
 Constructor. More...
 
virtual ~Interface ()
 
virtual const char * giveClassName () const =0
 

Protected Attributes

Dictionary randProperties
 Dictionary containing material model values. More...
 

Detailed Description

Abstract base class for all random constitutive model statuses.

Random materials can have some their constitutive constants randomly generated. In this case, these "constants" are stored in material statuses of corresponding integration points. Usually, an instance of randomGenerator is used to generate the values in integration points.

Definition at line 58 of file randommaterialext.h.

Constructor & Destructor Documentation

oofem::RandomMaterialStatusExtensionInterface::RandomMaterialStatusExtensionInterface ( )
inline

Constructor.

Definition at line 68 of file randommaterialext.h.

virtual oofem::RandomMaterialStatusExtensionInterface::~RandomMaterialStatusExtensionInterface ( )
inlinevirtual

Destructor.

Definition at line 71 of file randommaterialext.h.

Member Function Documentation

bool oofem::RandomMaterialStatusExtensionInterface::_giveProperty ( int  key,
double &  value 
)

Returns the value of random property, identified by a key.

Returns
False if property not available.

Definition at line 45 of file randommaterialext.C.

References oofem::Dictionary::at(), oofem::Dictionary::includes(), and randProperties.

Referenced by oofem::RandomMaterialExtensionInterface::give().

void oofem::RandomMaterialStatusExtensionInterface::_setProperty ( int  key,
double  value 
)

Sets the value of random property, identified by a key.

Definition at line 56 of file randommaterialext.C.

References oofem::Dictionary::at(), and randProperties.

Referenced by oofem::RandomMaterialExtensionInterface::_generateStatusVariables().

Member Data Documentation

Dictionary oofem::RandomMaterialStatusExtensionInterface::randProperties
protected

Dictionary containing material model values.

Definition at line 62 of file randommaterialext.h.

Referenced by _giveProperty(), and _setProperty().


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

This page is part of the OOFEM documentation. Copyright (c) 2011 Borek Patzak
Project e-mail: info@oofem.org
Generated at Tue Jan 2 2018 20:07:40 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011