49 #define _IFT_ActiveBoundaryCondition_elementSides "elementsides" 54 class UnknownNumberingScheme;
82 for (
int i = 0; i < tempB.
giveSize() / 2; ++i ) {
83 this->addElementSide( tempB(i * 2), tempB(i * 2 + 1) );
virtual bool requiresActiveDofs()
Checks to see if active boundary condition requires special DOFs.
Base class for all matrices stored in sparse format.
IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
Abstract class representing field of primary variables (those, which are unknown and are typically as...
ValueModeType
Type representing the mode of UnknownType or CharType, or similar types.
virtual double giveBcValue(Dof *dof, ValueModeType mode, TimeStep *tStep)
Returns the prescribed value of a dof (if any).
virtual int giveNumberOfMasterDofs(ActiveDof *dof)
Allows for active boundary conditions to handle their own special DOF.
virtual Dof * giveMasterDof(ActiveDof *dof, int mdof)
Give the pointer to master dof belonging to active DOF.
virtual void assemble(SparseMtrx &answer, TimeStep *tStep, CharType type, const UnknownNumberingScheme &r_s, const UnknownNumberingScheme &c_s, double scale=1.0)
Assembles B.C.
virtual double giveUnknown(PrimaryField &field, ValueModeType mode, TimeStep *tStep, ActiveDof *dof)
Computes the value of the dof.
Class implementing an array of integers.
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
virtual void addElementSide(int elem, int side)
Adds element for active boundary condition.
virtual bool hasBc(Dof *dof, TimeStep *tStep)
Returns the prescribed value of a dof (if any).
virtual void computeDofTransformation(ActiveDof *dof, FloatArray &masterContribs)
Abstract base class allowing to control the way, how equations are assigned to individual DOFs...
Abstract base class for all active boundary conditions.
Abstract base class for all boundary conditions of problem.
Class representing "slave" degree of freedom with an active boundary condition.
Class representing vector of real numbers.
IRResultType
Type defining the return values of InputRecord reading operations.
virtual bool isPrimaryDof(ActiveDof *dof)
Checks to see if the dof is a primary DOF.
ActiveBoundaryCondition(int n, Domain *d)
Constructor.
#define _IFT_ActiveBoundaryCondition_elementSides
the oofem namespace is to define a context or scope in which all oofem names are defined.
Abstract class Dof represents Degree Of Freedom in finite element mesh.
virtual ~ActiveBoundaryCondition()
Destructor.
virtual void assembleVector(FloatArray &answer, TimeStep *tStep, CharType type, ValueModeType mode, const UnknownNumberingScheme &s, FloatArray *eNorms=NULL)
Assembles B.C.
Class representing solution step.
virtual double giveUnknown(ValueModeType mode, TimeStep *tStep, ActiveDof *dof)
Computes the value of the dof.
virtual void giveLocationArrays(std::vector< IntArray > &rows, std::vector< IntArray > &cols, CharType type, const UnknownNumberingScheme &r_s, const UnknownNumberingScheme &c_s)
Gives a list of location arrays that will be assembled.