35 #ifndef mixedgradientpressurecneumann_h 36 #define mixedgradientpressurecneumann_h 48 #define _IFT_MixedGradientPressureWeakPeriodic_Name "mixedgradientpressureweakperiodic" 49 #define _IFT_MixedGradientPressureWeakPeriodic_order "order" 54 class IntegrationRule;
56 class SparseLinearSystemNM;
104 virtual int giveNumberOfInternalDofManagers();
108 virtual DofManager *giveInternalDofManager(
int i);
123 virtual void scale(
double s);
130 virtual void setPrescribedDeviatoricGradientFromVoigt(
const FloatArray &ddev);
139 virtual void giveLocationArrays(std :: vector< IntArray > &rows, std :: vector< IntArray > &cols,
CharType type,
142 virtual const char *
giveClassName()
const {
return "MixedGradientPressureWeakPeriodic"; }
146 void integrateTractionVelocityTangent(
FloatMatrix &answer,
Element *el,
int boundary);
155 #endif // mixedgradientpressurecneumann_h
Base class for all matrices stored in sparse format.
double pressure
Prescribed pressure.
ValueModeType
Type representing the mode of UnknownType or CharType, or similar types.
std::unique_ptr< Node > tractionsdman
DOF-manager containing the unknown tractions (Lagrange mult. for micro-periodic velocity) ...
Abstract base class for all finite elements.
Base class for dof managers.
virtual const char * giveClassName() const
Class implementing an array of integers.
#define _IFT_MixedGradientPressureWeakPeriodic_Name
FloatMatrix devGradient
Prescribed gradient .
virtual void setPrescribedPressure(double p)
Set prescribed pressure.
bcType
Type representing the type of bc.
double volGradient
The volumetric part of what was sent in (needed to return the difference).
Applies a mean deviatoric shear rate and pressure (Neumann boundary condition) in a weakly periodic w...
Abstract base class allowing to control the way, how equations are assigned to individual DOFs...
int order
Order if polynomials.
std::unique_ptr< Node > voldman
DOF-manager containing the unknown volumetric gradient (always exactly one dof).
Class representing vector of real numbers.
Implementation of matrix containing floating point numbers.
IRResultType
Type defining the return values of InputRecord reading operations.
virtual const char * giveInputRecordName() const
virtual bcType giveType() const
Not relevant for this boundary condition.
the oofem namespace is to define a context or scope in which all oofem names are defined.
General class for boundary condition that prolongates macroscopic fields to incompressible flow...
Class representing solution step.