OOFEM 3.0
Loading...
Searching...
No Matches
oofem::UPSimpleMaterial Class Reference
Inheritance diagram for oofem::UPSimpleMaterial:
Collaboration diagram for oofem::UPSimpleMaterial:

Public Member Functions

 UPSimpleMaterial (int n, Domain *d)
void giveCharacteristicMatrix (FloatMatrix &answer, MatResponseMode type, GaussPoint *gp, TimeStep *tStep) const override
 Returns characteristic matrix of the receiver.
void giveCharacteristicVector (FloatArray &answer, FloatArray &flux, MatResponseMode type, GaussPoint *gp, TimeStep *tStep) const override
 Returns characteristic vector of the receiver.
double giveCharacteristicValue (MatResponseMode type, GaussPoint *gp, TimeStep *tStep) const override
 Returns characteristic value of the receiver.
void initializeFrom (InputRecord &ir) override
void giveInputRecord (DynamicInputRecord &input) override
std::unique_ptr< MaterialStatusCreateStatus (GaussPoint *gp) const override
const char * giveClassName () const override
const char * giveInputRecordName () const override
int giveIPValue (FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override
Public Member Functions inherited from oofem::Material
 Material (int n, Domain *d)
virtual ~Material ()=default
 Destructor.
virtual bool isCharacteristicMtrxSymmetric (MatResponseMode rMode) const
virtual double give (int aProperty, GaussPoint *gp) const
virtual bool hasProperty (int aProperty, GaussPoint *gp) const
virtual void modifyProperty (int aProperty, double value, GaussPoint *gp)
double giveCastingTime () const
virtual bool isActivated (TimeStep *tStep) const
virtual bool hasMaterialModeCapability (MaterialMode mode) const
virtual bool hasCastingTimeSupport () const
virtual int setIPValue (const FloatArray &value, GaussPoint *gp, InternalStateType type)
void printYourself () override
 Prints receiver state on stdout. Useful for debugging.
virtual void saveIPContext (DataStream &stream, ContextMode mode, GaussPoint *gp)
virtual void restoreIPContext (DataStream &stream, ContextMode mode, GaussPoint *gp)
int checkConsistency () override
virtual void restoreConsistency (GaussPoint *gp)
virtual int initMaterial (Element *element)
virtual MaterialStatusgiveStatus (GaussPoint *gp) const
virtual int packUnknowns (DataStream &buff, TimeStep *tStep, GaussPoint *ip)
virtual int unpackAndUpdateUnknowns (DataStream &buff, TimeStep *tStep, GaussPoint *ip)
virtual int estimatePackSize (DataStream &buff, GaussPoint *ip)
virtual double predictRelativeComputationalCost (GaussPoint *gp)
virtual double predictRelativeRedistributionCost (GaussPoint *gp)
virtual void initTempStatus (GaussPoint *gp) const
void saveContext (DataStream &stream, ContextMode mode) override
void restoreContext (DataStream &stream, ContextMode mode) override
Public Member Functions inherited from oofem::FEMComponent
 FEMComponent (int n, Domain *d)
virtual ~FEMComponent ()=default
 Virtual destructor.
DomaingiveDomain () const
virtual void setDomain (Domain *d)
int giveNumber () const
void setNumber (int num)
virtual void updateLocalNumbering (EntityRenumberingFunctor &f)
virtual void initializeFrom (InputRecord &ir, int priority)
virtual void initializeFinish ()
virtual void postInitialize ()
 Performs post initialization steps. Called after all components are created and initialized.
virtual void printOutputAt (FILE *file, TimeStep *tStep)
virtual InterfacegiveInterface (InterfaceType t)
std::string errorInfo (const char *func) const
 Returns string for prepending output (used by error reporting macros).

Protected Attributes

double e
double nu
double k
double alpha
double c
double muw
Protected Attributes inherited from oofem::Material
Dictionary propertyDictionary
double castingTime
int preCastingTimeMat
 Material existing before casting time - optional parameter, zero by default.
Protected Attributes inherited from oofem::FEMComponent
int number
 Component number.
Domaindomain
 Link to domain object, useful for communicating with other FEM components.

Detailed Description

Definition at line 572 of file up.C.

Constructor & Destructor Documentation

◆ UPSimpleMaterial()

oofem::UPSimpleMaterial::UPSimpleMaterial ( int n,
Domain * d )
inline

Definition at line 580 of file up.C.

References alpha, c, e, k, oofem::Material::Material(), muw, and nu.

Member Function Documentation

◆ CreateStatus()

std::unique_ptr< MaterialStatus > oofem::UPSimpleMaterial::CreateStatus ( GaussPoint * gp) const
inlineoverridevirtual

Creates new copy of associated status and inserts it into given integration point.

Parameters
gpIntegration point where newly created status will be stored.
Returns
Reference to new status.

Reimplemented from oofem::Material.

Definition at line 660 of file up.C.

◆ giveCharacteristicMatrix()

void oofem::UPSimpleMaterial::giveCharacteristicMatrix ( FloatMatrix & answer,
MatResponseMode type,
GaussPoint * gp,
TimeStep * tStep ) const
inlineoverridevirtual

◆ giveCharacteristicValue()

double oofem::UPSimpleMaterial::giveCharacteristicValue ( MatResponseMode type,
GaussPoint * gp,
TimeStep * tStep ) const
inlineoverridevirtual

Returns characteristic value of the receiver.

Reimplemented from oofem::Material.

Definition at line 638 of file up.C.

References alpha, and c.

◆ giveCharacteristicVector()

void oofem::UPSimpleMaterial::giveCharacteristicVector ( FloatArray & answer,
FloatArray & flux,
MatResponseMode type,
GaussPoint * gp,
TimeStep * tStep ) const
inlineoverridevirtual

Returns characteristic vector of the receiver.

Reimplemented from oofem::Material.

Definition at line 619 of file up.C.

References oofem::FloatArray::beProductOf(), giveCharacteristicMatrix(), and oofem::Material::giveStatus().

◆ giveClassName()

const char * oofem::UPSimpleMaterial::giveClassName ( ) const
inlineoverridevirtual
Returns
Class name of the receiver.

Implements oofem::FEMComponent.

Definition at line 662 of file up.C.

◆ giveInputRecord()

void oofem::UPSimpleMaterial::giveInputRecord ( DynamicInputRecord & input)
inlineoverridevirtual

Setups the input record string of receiver.

Parameters
inputDynamic input record to be filled by receiver.

Reimplemented from oofem::Material.

Definition at line 659 of file up.C.

◆ giveInputRecordName()

const char * oofem::UPSimpleMaterial::giveInputRecordName ( ) const
inlineoverridevirtual
Returns
Input record name of the receiver.

Implements oofem::FEMComponent.

Definition at line 663 of file up.C.

References _IFT_UPSimpleMaterial_Name.

◆ giveIPValue()

int oofem::UPSimpleMaterial::giveIPValue ( FloatArray & answer,
GaussPoint * gp,
InternalStateType type,
TimeStep * tStep )
inlineoverridevirtual

Returns the integration point corresponding value in Reduced form.

Parameters
answerContain corresponding ip value, zero sized if not available.
gpIntegration point to which the value refers.
typeDetermines the type of internal variable.
tStepDetermines the time step.
Returns
Nonzero if the assignment can be done, zero if this type of variable is not supported.

Reimplemented from oofem::Material.

Definition at line 664 of file up.C.

References oofem::Material::giveIPValue(), and oofem::Material::giveStatus().

◆ initializeFrom()

void oofem::UPSimpleMaterial::initializeFrom ( InputRecord & ir)
inlineoverridevirtual

Initializes receiver according to object description stored in input record. This function is called immediately after creating object using constructor. Input record can be imagined as data record in component database belonging to receiver. Receiver may use value-name extracting functions to extract particular field from record. Note that initializeFrom may be called mutiple times.

See also
IR_GIVE_FIELD
IR_GIVE_OPTIONAL_FIELD
Parameters
irInput record to initialize from.
priorityPriority of the input record. This is used to determine the order of initialization

Reimplemented from oofem::Material.

Definition at line 648 of file up.C.

References _IFT_UPSimpleMaterial_alpha, _IFT_UPSimpleMaterial_c, _IFT_UPSimpleMaterial_E, _IFT_UPSimpleMaterial_k, _IFT_UPSimpleMaterial_nu, alpha, c, e, IR_GIVE_OPTIONAL_FIELD, k, and nu.

Member Data Documentation

◆ alpha

double oofem::UPSimpleMaterial::alpha
protected

Definition at line 576 of file up.C.

Referenced by giveCharacteristicValue(), initializeFrom(), and UPSimpleMaterial().

◆ c

double oofem::UPSimpleMaterial::c
protected

Definition at line 577 of file up.C.

Referenced by giveCharacteristicValue(), initializeFrom(), and UPSimpleMaterial().

◆ e

double oofem::UPSimpleMaterial::e
protected

Definition at line 574 of file up.C.

Referenced by giveCharacteristicMatrix(), initializeFrom(), and UPSimpleMaterial().

◆ k

double oofem::UPSimpleMaterial::k
protected

Definition at line 575 of file up.C.

Referenced by initializeFrom(), and UPSimpleMaterial().

◆ muw

double oofem::UPSimpleMaterial::muw
protected

Definition at line 578 of file up.C.

Referenced by UPSimpleMaterial().

◆ nu

double oofem::UPSimpleMaterial::nu
protected

Definition at line 574 of file up.C.

Referenced by giveCharacteristicMatrix(), initializeFrom(), and UPSimpleMaterial().


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

This page is part of the OOFEM-3.0 documentation. Copyright Copyright (C) 1994-2025 Borek Patzak Bořek Patzák
Project e-mail: oofem@fsv.cvut.cz
Generated at for OOFEM by doxygen 1.15.0 written by Dimitri van Heesch, © 1997-2011