70 if ( gradPNorm != 0.0 ) {
91 answer.
add(1 +
C * pow(gradPNorm,
alpha), t2);
124 case IST_PressureGradient:
virtual int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep)
Returns the integration point corresponding value in Reduced form.
virtual double giveCharacteristicValue(MatResponseMode mode, GaussPoint *gp, TimeStep *tStep)
Computes the characteristic value of receiver in given integration point, respecting its history...
InternalStateType
Type representing the physical meaning of element or constitutive model internal variable.
MaterialMode giveMaterialMode()
Returns corresponding material mode of receiver.
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
virtual MaterialStatus * giveStatus(GaussPoint *gp) const
Returns material status of receiver in given integration point.
virtual void giveFluxVector(FloatArray &answer, GaussPoint *gp, const FloatArray &grad, const FloatArray &field, TimeStep *tStep)
Returns the flux for the field and its gradient.
virtual int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep)
Returns the integration point corresponding value in Reduced form.
double C
Indicates the level of nonlinearity in the model.
#define _IFT_NonlinearMassTransferMaterial_c
This class implements a transport material status information.
MaterialMode
Type representing material mode of integration point.
MatResponseMode
Describes the character of characteristic material matrix.
const FloatArray & giveTempGradient()
Return last gradient.
void beScaled(double s, const FloatArray &b)
Sets receiver to be .
const char * __MaterialModeToString(MaterialMode _value)
const FloatArray & giveFlux()
Returns last flux.
void times(double f)
Multiplies receiver by factor f.
void setTempField(FloatArray newField)
Set field.
void setTempGradient(FloatArray grad)
Set gradient.
Class representing vector of real numbers.
Implementation of matrix containing floating point numbers.
#define _IFT_NonlinearMassTransferMaterial_alpha
IRResultType
Type defining the return values of InputRecord reading operations.
void setTempFlux(FloatArray w)
Set flux.
double computeNorm() const
Computes the norm (or length) of the vector.
void resize(int rows, int cols)
Checks size of receiver towards requested bounds.
void add(const FloatMatrix &a)
Adds matrix to the receiver.
void beDyadicProductOf(const FloatArray &vec1, const FloatArray &vec2)
Assigns to the receiver the dyadic product .
void beUnitMatrix()
Sets receiver to unity matrix.
REGISTER_Material(DummyMaterial)
the oofem namespace is to define a context or scope in which all oofem names are defined.
void clear()
Sets size of receiver to be an empty matrix. It will have zero rows and zero columns size...
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
double alpha
Indicates the level of nonlinearity in the model.
Class representing integration point in finite element program.
Class representing solution step.
const FloatArray & giveGradient()
Return last gradient.
virtual void giveCharacteristicMatrix(FloatMatrix &answer, MatResponseMode mode, GaussPoint *gp, TimeStep *tStep)
Computes characteristic matrix of receiver in given integration point.