hp2FEM  0.1
Public Member Functions | Protected Attributes
Material Class Reference

Base class for the representation of material models. More...

#include <Material.h>

Inheritance diagram for Material:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 Material ()
 Default constructor (without parameters): the class attributes are initialized with default values.
 Material (unsigned long MaterialNumber, ProblemType_E Application)
 Constructor using parameters.
 Material (Material &Instance)
 Copy-initializer constructor. This operation copies all alltributes from another object (Instance) to this class.
virtual ~Material ()
 Destructor.
Materialoperator= (Material &Instance)
 Operator =. This operation copies all alltributes from another object (Instance) to this class.
virtual void Read (FILE *File)=0
virtual void Print (FILE *File, char *Message)=0
virtual void Print (FILE *File=stdout)=0
virtual void Save (FILE *File)=0
virtual void Restore (FILE *File)=0
virtual void Free ()
 Releases the memory allocated for the class attributes.
virtual ProblemType_E GetApplication ()
 Gives the application type.
virtual void SetApplication (ProblemType_E Application)
 Sets the application type.
void SetNumber (unsigned long MaterialNumber=1)
 Sets the number of the material.
unsigned long GetNumber ()
 Returns the material number.
virtual char * GetName ()=0
virtual MaterialType_E GetMaterialType ()=0
virtual void SetProperties (BuiltInArray< double > &Properties)=0
virtual void SetProperty (MaterialProperty_E Property, double Value)=0
virtual void GetProperties (BuiltInArray< double > &Properties)=0
virtual double GetProperty (MaterialProperty_E Property)=0
virtual unsigned long GetNumberProperties ()=0
virtual void GetCMatrix (SymmetricMatrix &CMatrix)=0
virtual void GetDMatrix (SymmetricMatrix &DMatrix, double *Strain=NULL, double pbar=0.0, double *DeltaDef=NULL, unsigned long ElementNumber=0, unsigned long PointStateNumber=0)=0
virtual unsigned long GetDMatrixOrder (unsigned long StrainOrder)=0
virtual void GetStress (double *Stress, double *Strain, double *StressTensor=NULL, double pbar=0.0, unsigned long ElementNumber=0, unsigned long PointStateNumber=0)=0
virtual void GetStressUpdate (double *Stress, double *Strain, SymmetricMatrix &DMatrix, double Damage_n, unsigned long IntPoint, double &Damage_n1, double *StressTensor, double pbar=0.0, unsigned long ElementNumber=0, unsigned long PointStateNumber=0)=0
virtual unsigned long GetStressOrder (unsigned long StrainOrder)=0
virtual double GetStrainEnergyDensity (double *Strain, double pbar=0.0, unsigned long ElementNumber=0, unsigned long PointStateNumber=0)=0
virtual int GetStrainEnergyDensityOrder (unsigned long StrainOrder)=0

Protected Attributes

unsigned long MaterialNum
 Identification number of the material.
ProblemType_E MatApp

Detailed Description

Base class for the representation of material models.

Author:
Marco Lucio Bittencourt/ Fabiano Fernandes Bargos
Date:
April/18/2011

Constructor & Destructor Documentation

Material::Material ( Material Instance)

Copy-initializer constructor. This operation copies all alltributes from another object (Instance) to this class.

Returns:
Reference to the current object.

Member Function Documentation

ProblemType_E Material::GetApplication ( ) [virtual]
unsigned long Material::GetNumber ( )

Returns the material number.

Returns:
Material number.
Material & Material::operator= ( Material Instance)

Operator =. This operation copies all alltributes from another object (Instance) to this class.

Returns:
Reference to the current object.

Reimplemented in MooneyRivlinMaterial, OgdenMaterial, DamagedMooneyRivlinMaterial, DamagedNeoHookeanMaterial, and NeoHookeanMaterial.

void Material::SetNumber ( unsigned long  MaterialNumber = 1)

Sets the number of the material.

Parameters:
[in]MaterialNumber,:number of the material.

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Friends Defines