OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
prescribedgradientbcweakperiodic.h
Go to the documentation of this file.
1 /*
2  * prescribedgradientbcweakperiodic.h
3  *
4  * Created on: May 19, 2014
5  * Author: svennine
6  */
7 
8 #ifndef PRESCRIBEDGRADIENTBCWEAKPERIODIC_H_
9 #define PRESCRIBEDGRADIENTBCWEAKPERIODIC_H_
10 
12 
13 #define _IFT_PrescribedGradientBCWeakPeriodic_Name "prescribedgradientbcweakperiodic"
14 
15 namespace oofem {
17 {
18 public:
21 
23 
24  virtual void postInitialize();
25 
26  virtual const char *giveClassName() const { return "PrescribedGradientBCWeakPeriodic"; }
27  virtual const char *giveInputRecordName() const { return _IFT_PrescribedGradientBCWeakPeriodic_Name; }
28 
29 protected:
30  virtual void giveBoundaryCoordVector(FloatArray &oX, const FloatArray &iPos) const;
31  virtual void checkIfCorner(bool &oIsCorner, bool &oDuplicatable, const FloatArray &iPos, const double &iNodeDistTol) const;
32 
33  virtual bool boundaryPointIsOnActiveBoundary(const FloatArray &iPos) const { return pointIsOnGammaPlus(iPos); }
34 };
35 } /* namespace oofem */
36 
37 #endif /* PRESCRIBEDGRADIENTBCWEAKPERIODIC_H_ */
virtual void postInitialize()
Performs post initialization steps.
Class and object Domain.
Definition: domain.h:115
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
virtual bool boundaryPointIsOnActiveBoundary(const FloatArray &iPos) const
bool pointIsOnGammaPlus(const FloatArray &iPos) const
virtual void giveBoundaryCoordVector(FloatArray &oX, const FloatArray &iPos) const
Imposes a prescribed gradient weakly on the boundary with an independent traction discretization...
#define _IFT_PrescribedGradientBCWeakPeriodic_Name
virtual void checkIfCorner(bool &oIsCorner, bool &oDuplicatable, const FloatArray &iPos, const double &iNodeDistTol) const
Class representing vector of real numbers.
Definition: floatarray.h:82
IRResultType
Type defining the return values of InputRecord reading operations.
Definition: irresulttype.h:47
Class representing the general Input Record.
Definition: inputrecord.h:101
the oofem namespace is to define a context or scope in which all oofem names are defined.

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:30 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011