61 OOFEM_ERROR(
"property #%d on element %d and GP %d not defined", aProperty, gp->giveElement()->giveNumber(), gp->giveNumber() );
74Material :: hasProperty(
int aProperty,
GaussPoint *gp)
const
82Material :: modifyProperty(
int aProperty,
double value,
GaussPoint *gp)
115 FEMComponent :: giveInputRecord(input);
122Material :: hasMaterialModeCapability(MaterialMode mode)
const
131Material :: hasCastingTimeSupport()
const
140 if ( type == IST_MaterialNumber ) {
144 }
else if ( type == IST_Density ) {
156Material :: printYourself()
159 printf(
"Material with properties : \n");
171 if ( gp ==
nullptr ) {
184 if ( gp ==
nullptr ) {
195int Material :: checkConsistency()
201 return FEMComponent :: checkConsistency();
211 if (gp->hasMaterialStatus()) {
212 return static_cast< MaterialStatus *
>( gp->giveMaterialStatus() );
243 FEMComponent :: saveContext(stream, mode);
257 FEMComponent :: restoreContext(stream, mode);
virtual int read(int *data, std::size_t count)=0
Reads count integer values into array pointed by data.
virtual int write(const int *data, std::size_t count)=0
Writes count integer values from array pointed by data.
FEMComponent(int n, Domain *d)
int giveNumber()
Returns number of receiver.
Element * giveElement()
Returns corresponding element to receiver.
virtual void restoreContext(DataStream &stream, ContextMode mode)
virtual void saveContext(DataStream &stream, ContextMode mode)
virtual void initTempStatus()
virtual std::unique_ptr< MaterialStatus > CreateStatus(GaussPoint *gp) const
virtual MaterialStatus * giveStatus(GaussPoint *gp) const
int preCastingTimeMat
Material existing before casting time - optional parameter, zero by default.
Dictionary propertyDictionary
virtual bool hasCastingTimeSupport() const
#define OOFEM_WARNING(...)
#define _IFT_Material_density
#define _IFT_Material_castingtime
#define _IFT_Material_preCastingTimeMat
@ CIO_IOERR
General IO error.
@ CIO_BADOBJ
Bad object passed.