OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
oofem::TractionPressureBC Class Reference

Class implementing prescribed pressure bc due to prescribed tractions (Dirichlet boundary condition on DOF). More...

#include <tractionpressurebc.h>

+ Inheritance diagram for oofem::TractionPressureBC:
+ Collaboration diagram for oofem::TractionPressureBC:

Public Member Functions

 TractionPressureBC (int i, Domain *d)
 Constructor. More...
virtual ~TractionPressureBC ()
 Destructor. More...
virtual double give (Dof *dof, ValueModeType mode, double time)
virtual void scale (double s)
 Scales the receiver according to given value. More...
virtual const char * giveClassName () const
virtual const char * giveInputRecordName () const
- Public Member Functions inherited from oofem::BoundaryCondition
 BoundaryCondition (int i, Domain *d)
 Constructor. More...
virtual ~BoundaryCondition ()
 Destructor. More...
virtual double give (Dof *dof, ValueModeType mode, TimeStep *tStep)
 Returns the value of a prescribed unknown, respecting requested mode for given time. More...
void setPrescribedValue (double s)
 Set prescribed value at the input record string of receiver. More...
virtual bcType giveType () const
virtual IRResultType initializeFrom (InputRecord *ir)
 Initializes receiver according to object description stored in input record. More...
virtual void giveInputRecord (DynamicInputRecord &input)
 Setups the input record string of receiver. More...
virtual contextIOResultType saveContext (DataStream &stream, ContextMode mode, void *obj=NULL)
 Stores receiver state to output stream. More...
virtual contextIOResultType restoreContext (DataStream &stream, ContextMode mode, void *obj=NULL)
 Restores the receiver state previously written in stream. More...
- Public Member Functions inherited from oofem::GeneralBoundaryCondition
 GeneralBoundaryCondition (int n, Domain *d)
 Constructor. More...
virtual ~GeneralBoundaryCondition ()
 Destructor. More...
int giveSetNumber ()
 Gives the set number which boundary condition is applied to. More...
virtual int giveNumberOfInternalDofManagers ()
 Gives the number of internal dof managers. More...
virtual DofManagergiveInternalDofManager (int i)
 Gives an internal dof manager from receiver. More...
FunctiongiveTimeFunction ()
virtual bcValType giveBCValType () const
 Returns receiver load type. More...
virtual bool isImposed (TimeStep *tStep)
 Returns nonzero if receiver representing BC is imposed at given time, otherwise returns zero. More...
virtual const IntArraygiveDofIDs () const
 Array with default dofs which b.c. More...
virtual bcGeomType giveBCGeoType () const
 Returns geometry character of boundary condition. More...
virtual void postInitialize ()
 Performs post initialization steps. More...
- Public Member Functions inherited from oofem::FEMComponent
 FEMComponent (int n, Domain *d)
 Regular constructor, creates component with given number and belonging to given domain. More...
virtual ~FEMComponent ()
 Virtual destructor. More...
DomaingiveDomain () const
virtual void setDomain (Domain *d)
 Sets associated Domain. More...
int giveNumber () const
void setNumber (int num)
 Sets number of receiver. More...
virtual void updateLocalNumbering (EntityRenumberingFunctor &f)
 Local renumbering support. More...
virtual int checkConsistency ()
 Allows programmer to test some internal data, before computation begins. More...
virtual void printOutputAt (FILE *file, TimeStep *tStep)
 Prints output of receiver to stream, for given time step. More...
virtual void printYourself ()
 Prints receiver state on stdout. Useful for debugging. More...
virtual InterfacegiveInterface (InterfaceType t)
 Interface requesting service. More...
std::string errorInfo (const char *func) const
 Returns string for prepending output (used by error reporting macros). More...

Additional Inherited Members

- Protected Attributes inherited from oofem::BoundaryCondition
FloatArray values
 Prescribed values for each resp. dof. More...
- Protected Attributes inherited from oofem::GeneralBoundaryCondition
int timeFunction
 Associated load time function. More...
bcValType valType
 Physical meaning of BC value. More...
IntArray dofs
 Dofs that b.c. is applied to (relevant for Dirichlet type b.c.s). More...
int isImposedTimeFunction
 Zero by default - the BC is than always imposed. More...
int set
 Set number for boundary condition to be applied to. More...
- Protected Attributes inherited from oofem::FEMComponent
int number
 Component number. More...
 Link to domain object, useful for communicating with other FEM components. More...

Detailed Description

Class implementing prescribed pressure bc due to prescribed tractions (Dirichlet boundary condition on DOF).

This boundary condition is usually attribute of one or more degrees of freedom (DOF).

Definition at line 47 of file tractionpressurebc.h.

Constructor & Destructor Documentation

oofem::TractionPressureBC::TractionPressureBC ( int  i,
Domain d 


Creates boundary condition with given number, belonging to given domain.

iBoundary condition number.
dDomain to which new object will belongs.

Definition at line 55 of file tractionpressurebc.h.

virtual oofem::TractionPressureBC::~TractionPressureBC ( )


Definition at line 57 of file tractionpressurebc.h.

References give().

Member Function Documentation

double oofem::TractionPressureBC::give ( Dof dof,
ValueModeType  mode,
double  time 

Reimplemented from oofem::BoundaryCondition.

Definition at line 43 of file tractionpressurebc.C.

References oofem::FEMComponent::domain, and oofem::Domain::giveEngngModel().

Referenced by ~TractionPressureBC().

virtual const char* oofem::TractionPressureBC::giveClassName ( ) const
Class name of the receiver.

Reimplemented from oofem::BoundaryCondition.

Definition at line 62 of file tractionpressurebc.h.

virtual const char* oofem::TractionPressureBC::giveInputRecordName ( ) const
Input record name of the receiver.

Reimplemented from oofem::BoundaryCondition.

Definition at line 63 of file tractionpressurebc.h.

References _IFT_TractionPressureBC_Name.

virtual void oofem::TractionPressureBC::scale ( double  s)

Scales the receiver according to given value.

Typically used in nondimensional analysis to scale down BCs and ICs.

sScale factor.

Reimplemented from oofem::BoundaryCondition.

Definition at line 61 of file tractionpressurebc.h.

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

This page is part of the OOFEM documentation. Copyright (c) 2011 Borek Patzak
Project e-mail: info@oofem.org
Generated at Tue Jan 2 2018 20:07:43 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011