41 #include "../../sm/EngineeringModels/structengngmodel.h" 97 if ( structuralProblem ) {
100 for (
int dofid: dofIDArry ) {
108 for (
int dofid: dofIDArry) {
109 answer.
at(dofid) = velocities.
at( dofid );
126 if ( structuralProblem ) {
156 return structuralProblem;
FluidStructureProblem * giveFluidStructureMasterProblem()
virtual EngngModel * giveSlaveProblem(int i)
Returns i-th slave problem.
Domain * domain
Link to domain object, useful for communicating with other FEM components.
double & at(int i)
Coefficient access function.
ValueModeType
Type representing the mode of UnknownType or CharType, or similar types.
oofem::oofegGraphicContext gc[OOFEG_LAST_LAYER]
virtual int checkConsistency()
Checks internal data consistency in node.
EngngModel * giveEngngModel()
Returns engineering model to which receiver is associated.
Base class for dof managers.
Class implementing an array of integers.
void rotatedWith(FloatMatrix &r, char mode)
Returns the receiver a rotated according the change-of-base matrix r.
void giveCoupledVelocities(FloatArray &answer, TimeStep *stepN)
#define _IFT_InteractionPFEMParticle_CoupledNode
REGISTER_DofManager(ElementSide)
virtual void givePrescribedUnknownVector(FloatArray &answer, const IntArray &dofMask, ValueModeType mode, TimeStep *stepN)
virtual void updateYourself(TimeStep *tStep)
Updates receiver at end of time step (i.e.
virtual int checkConsistency()
Checks internal data consistency in node.
Implementation of fluid-structure interaction ) problem based on Dirichlet-Neumann approach...
virtual void printOutputAt(FILE *stream, TimeStep *stepN)
Prints output of receiver to stream, for given time step.
void giveCompleteUnknownVector(FloatArray &answer, ValueModeType mode, TimeStep *tStep)
Assembles the complete unknown vector in node.
EngngModel * giveMasterEngngModel()
Returns the master engnmodel.
virtual void drawScalar(oofegGraphicContext &gc)
Class representing vector of real numbers.
StructuralEngngModel * giveStructuralProblem()
Implementation of matrix containing floating point numbers.
IRResultType
Type defining the return values of InputRecord reading operations.
virtual IRResultType initializeFrom(InputRecord *ir)
Gets from the source line from the data file all the data of the receiver.
Dof * giveDofWithID(int dofID) const
Returns DOF with given dofID; issues error if not present.
virtual double giveBcValue(ValueModeType mode, TimeStep *tStep)
Returns value of boundary condition of dof if it is prescribed.
virtual void printOutputAt(FILE *stream, TimeStep *stepN)
Prints output of receiver to stream, for given time step.
This class implements extension of EngngModel for structural models.
Particle class being used in PFEM computations.
virtual bool computeL2GTransformation(FloatMatrix &answer, const IntArray &dofIDArry)
Computes transformation matrix from global c.s.
InteractionPFEMParticle(int n, Domain *aDomain)
Constructor.
the oofem namespace is to define a context or scope in which all oofem names are defined.
virtual void drawScalar(oofegGraphicContext &gc)
Domain * giveDomain(int n)
Service for accessing particular problem domain.
virtual int giveNumberOfSlaveProblems()
Returns number of slave problems.
DofManager * giveDofManager(int n)
Service for accessing particular domain dof manager.
virtual void updateYourself(TimeStep *tStep)
Updates receiver at end of time step (i.e.
virtual IRResultType initializeFrom(InputRecord *ir)
Gets from the source line from the data file all the data of the receiver.
Class representing solution step.
int giveIterationNumber()
void resize(int s)
Resizes receiver towards requested size.