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 299 of file MaterialProperty.h.

Member Typedef Documentation

◆ const_iterator

Constant parameter map iterator.

Definition at line 314 of file MaterialProperty.h.

◆ iterator

Parameter map iterator.

Definition at line 309 of file MaterialProperty.h.

Constructor & Destructor Documentation

◆ MaterialProperties()

MaterialProperties::MaterialProperties ( )
inline

Definition at line 302 of file MaterialProperty.h.

302 {}

◆ ~MaterialProperties()

virtual MaterialProperties::~MaterialProperties ( )
inlinevirtual

Definition at line 304 of file MaterialProperty.h.

304 {}

Member Function Documentation

◆ destroy()

void MaterialProperties::destroy ( )
inline

Deallocates the memory.

Definition at line 319 of file MaterialProperty.h.

Referenced by MaterialData::release().

320  {
321  for (iterator k = begin(); k != end(); ++k)
322  delete *k;
323  }
std::vector< PropertyValue * >::iterator iterator
Parameter map iterator.

◆ resizeItems()

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 330 of file MaterialProperty.h.

Referenced by MaterialData::resize().

331  {
332  for (iterator k = begin(); k != end(); ++k)
333  if (*k != NULL)
334  (*k)->resize(n_qpoints);
335  }
std::vector< PropertyValue * >::iterator iterator
Parameter map iterator.

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