www.mooseframework.org
Public Types | Public Member Functions | List of all members
MaterialProperties Class Reference

Container for storing material properties. More...

#include <MaterialProperty.h>

Inheritance diagram for MaterialProperties:
[legend]

Public Types

typedef std::vector< PropertyValue * >::iterator iterator
 Parameter map iterator. More...
 
typedef std::vector< PropertyValue * >::const_iterator const_iterator
 Constant parameter map iterator. More...
 

Public Member Functions

 MaterialProperties ()
 
virtual ~MaterialProperties ()
 
void destroy ()
 Deallocates the memory. More...
 
void resizeItems (unsigned int n_qpoints)
 Resize items in this array, i.e. More...
 

Detailed Description

Container for storing material properties.

Definition at line 268 of file MaterialProperty.h.

Member Typedef Documentation

Constant parameter map iterator.

Definition at line 283 of file MaterialProperty.h.

Parameter map iterator.

Definition at line 278 of file MaterialProperty.h.

Constructor & Destructor Documentation

MaterialProperties::MaterialProperties ( )
inline

Definition at line 271 of file MaterialProperty.h.

271 {}
virtual MaterialProperties::~MaterialProperties ( )
inlinevirtual

Definition at line 273 of file MaterialProperty.h.

273 {}

Member Function Documentation

void MaterialProperties::destroy ( )
inline

Deallocates the memory.

Definition at line 288 of file MaterialProperty.h.

Referenced by MaterialData::release().

289  {
290  for (iterator k = begin(); k != end(); ++k)
291  delete *k;
292  }
std::vector< PropertyValue * >::iterator iterator
Parameter map iterator.
void MaterialProperties::resizeItems ( unsigned int  n_qpoints)
inline

Resize items in this array, i.e.

the number of values needed in PropertyValue array

Parameters
n_qpointsThe number of values needed to store (equals the the number of quadrature points per mesh element)

Definition at line 299 of file MaterialProperty.h.

Referenced by MaterialData::resize().

300  {
301  for (iterator k = begin(); k != end(); ++k)
302  if (*k != NULL)
303  (*k)->resize(n_qpoints);
304  }
std::vector< PropertyValue * >::iterator iterator
Parameter map iterator.

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