hp2FEM
0.1
|
Base class for the representation of material models. More...
#include <Material.h>
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. | |
Material & | operator= (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 |
Base class for the representation of material models.
Material::Material | ( | Material & | Instance | ) |
Copy-initializer constructor. This operation copies all alltributes from another object (Instance) to this class.
ProblemType_E Material::GetApplication | ( | ) | [virtual] |
Gives the application type.
Reimplemented in MooneyRivlinMaterial, HeatConductionMaterial, HookeMaterial, OgdenMaterial, DamagedMooneyRivlinMaterial, DamagedNeoHookeanMaterial, and NeoHookeanMaterial.
unsigned long Material::GetNumber | ( | ) |
Returns the material number.
Operator =. This operation copies all alltributes from another object (Instance) to this class.
Reimplemented in MooneyRivlinMaterial, OgdenMaterial, DamagedMooneyRivlinMaterial, DamagedNeoHookeanMaterial, and NeoHookeanMaterial.
void Material::SetNumber | ( | unsigned long | MaterialNumber = 1 | ) |
Sets the number of the material.
[in] | MaterialNumber,: | number of the material. |