OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
oofem::PrescribedGradientBCWeak Class Referenceabstract

Imposes a prescribed gradient weakly on the boundary with an independent traction discretization. More...

#include <prescribedgradientbcweak.h>

+ Inheritance diagram for oofem::PrescribedGradientBCWeak:
+ Collaboration diagram for oofem::PrescribedGradientBCWeak:

Public Member Functions

 PrescribedGradientBCWeak (int n, Domain *d)
 
virtual ~PrescribedGradientBCWeak ()
 
void clear ()
 
virtual double domainSize ()
 
virtual int giveNumberOfInternalDofManagers ()
 Gives the number of internal dof managers. More...
 
virtual DofManagergiveInternalDofManager (int i)
 Gives an internal dof manager from 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)
 
virtual void postInitialize ()
 Performs post initialization steps. More...
 
virtual void computeField (FloatArray &sigma, TimeStep *tStep)
 Computes the homogenized, macroscopic, field (stress). More...
 
virtual void computeTangent (FloatMatrix &E, TimeStep *tStep)
 Computes the macroscopic tangent for homogenization problems through sensitivity analysis. More...
 
virtual void assembleVector (FloatArray &answer, TimeStep *tStep, CharType type, ValueModeType mode, const UnknownNumberingScheme &s, FloatArray *eNorm=NULL)
 Assembles B.C. More...
 
void computeExtForceElContrib (FloatArray &oContrib, TracSegArray &iEl, int iDim, TimeStep *tStep)
 
void computeIntForceGPContrib (FloatArray &oContrib_disp, IntArray &oDisp_loc_array, FloatArray &oContrib_trac, IntArray &oTrac_loc_array, TracSegArray &iEl, GaussPoint &iGP, int iDim, TimeStep *tStep, const FloatArray &iBndCoord, const double &iScaleFac, ValueModeType mode, CharType type, const UnknownNumberingScheme &s)
 
virtual void assemble (SparseMtrx &answer, TimeStep *tStep, CharType type, const UnknownNumberingScheme &r_s, const UnknownNumberingScheme &c_s, double scale=1.0)
 Assembles B.C. More...
 
virtual void assembleExtraDisplock (SparseMtrx &answer, TimeStep *tStep, CharType type, const UnknownNumberingScheme &r_s, const UnknownNumberingScheme &c_s)
 
virtual void assembleGPContrib (SparseMtrx &answer, TimeStep *tStep, CharType type, const UnknownNumberingScheme &r_s, const UnknownNumberingScheme &c_s, TracSegArray &iEl, GaussPoint &iGP, double k)
 
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. More...
 
virtual void giveTractionLocationArray (IntArray &rows, const UnknownNumberingScheme &s)
 
virtual void giveDisplacementLocationArray (IntArray &rows, const UnknownNumberingScheme &s)
 
void compute_x_times_N_1 (FloatMatrix &o_x_times_N)
 
void compute_x_times_N_2 (FloatMatrix &o_x_times_N)
 
virtual const char * giveClassName () const
 
virtual const char * giveInputRecordName () const
 
size_t giveNumberOfTractionElements () const
 
void giveTractionElCoord (size_t iElInd, FloatArray &oStartCoord, FloatArray &oEndCoord) const
 
void giveTractionElNormal (size_t iElInd, FloatArray &oNormal, FloatArray &oTangent) const
 
void giveTractionElArcPos (size_t iElInd, double &oXiStart, double &oXiEnd) const
 
void giveBoundaries (IntArray &oBoundaries)
 
void giveTraction (size_t iElInd, FloatArray &oStartTraction, FloatArray &oEndTraction, ValueModeType mode, TimeStep *tStep)
 
void computeDomainBoundingBox (Domain &iDomain, FloatArray &oLC, FloatArray &oUC)
 
const IntArraygiveTracDofIDs () const
 
const IntArraygiveDispLockDofIDs () const
 
const IntArraygiveRegularDispDofIDs () const
 
void setPeriodicityNormal (const FloatArray &iPeriodicityNormal)
 
void setDomainSize (double iDomainSize)
 
void setLowerCorner (FloatArray iLC)
 
void setUpperCorner (FloatArray iUC)
 
void setMirrorFunction (int iMirrorFunction)
 
void recomputeTractionMesh ()
 
void giveMirroredPointOnGammaMinus (FloatArray &oPosMinus, const FloatArray &iPosPlus) const
 
void giveMirroredPointOnGammaPlus (FloatArray &oPosPlus, const FloatArray &iPosMinus) const
 
- Public Member Functions inherited from oofem::ActiveBoundaryCondition
 ActiveBoundaryCondition (int n, Domain *d)
 Constructor. More...
 
virtual ~ActiveBoundaryCondition ()
 Destructor. More...
 
virtual void addElementSide (int elem, int side)
 Adds element for active boundary condition. More...
 
virtual bool requiresActiveDofs ()
 Checks to see if active boundary condition requires special DOFs. More...
 
virtual bool isPrimaryDof (ActiveDof *dof)
 Checks to see if the dof is a primary DOF. More...
 
virtual double giveBcValue (Dof *dof, ValueModeType mode, TimeStep *tStep)
 Returns the prescribed value of a dof (if any). More...
 
virtual bool hasBc (Dof *dof, TimeStep *tStep)
 Returns the prescribed value of a dof (if any). More...
 
virtual int giveNumberOfMasterDofs (ActiveDof *dof)
 Allows for active boundary conditions to handle their own special DOF. More...
 
virtual DofgiveMasterDof (ActiveDof *dof, int mdof)
 Give the pointer to master dof belonging to active DOF. More...
 
virtual void computeDofTransformation (ActiveDof *dof, FloatArray &masterContribs)
 
virtual double giveUnknown (PrimaryField &field, ValueModeType mode, TimeStep *tStep, ActiveDof *dof)
 Computes the value of the dof. More...
 
virtual double giveUnknown (ValueModeType mode, TimeStep *tStep, ActiveDof *dof)
 Computes the value of the dof. 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...
 
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 scale (double s)
 Scales the receiver according to given value. 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::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...
 
- Public Member Functions inherited from oofem::PrescribedGradientHomogenization
 PrescribedGradientHomogenization ()
 
virtual ~PrescribedGradientHomogenization ()
 
void setPrescribedGradient (const FloatMatrix &t)
 Set prescribed gradient. More...
 
void setPrescribedGradientVoigt (const FloatArray &t)
 Sets the prescribed gradient from the matrix from given voigt notation. More...
 
void giveGradientVoigt (FloatArray &oGradient) const
 Gives back the applied gradient in Voigt form. More...
 
void setCenterCoordinate (FloatArray &x)
 Set the center coordinate for the prescribed values to be set for. More...
 
FloatArraygiveCenterCoordinate ()
 Returns the center coordinate. More...
 

Protected Member Functions

void createTractionMesh (bool iEnforceCornerPeriodicity, int iNumSides)
 
void splitSegments (std::vector< TracSegArray * > &ioElArray)
 
bool damageExceedsTolerance (Element *el)
 
void assembleTangentGPContributionNew (FloatMatrix &oTangent, TracSegArray &iEl, GaussPoint &iGP, const double &iScaleFactor, const FloatArray &iBndCoord)
 
bool pointIsOnGammaPlus (const FloatArray &iPos) const
 
virtual void giveBoundaryCoordVector (FloatArray &oX, const FloatArray &iPos) const =0
 
virtual void checkIfCorner (bool &oIsCorner, bool &oDuplicatable, const FloatArray &iPos, const double &iNodeDistTol) const =0
 
virtual bool boundaryPointIsOnActiveBoundary (const FloatArray &iPos) const =0
 
int giveSideIndex (const FloatArray &iPos) const
 
void findHoleCoord (std::vector< FloatArray > &oHoleCoordUnsorted, std::vector< FloatArray > &oAllCoordUnsorted)
 
void findCrackBndIntersecCoord (std::vector< FloatArray > &oHoleCoordUnsorted)
 
void findPeriodicityCoord (std::vector< FloatArray > &oHoleCoordUnsorted)
 
void removeClosePoints (std::vector< FloatArray > &ioCoords, const double &iAbsTol)
 
void removeSegOverHoles (TracSegArray &ioTSeg, const double &iAbsTol)
 
- Protected Member Functions inherited from oofem::PrescribedGradientHomogenization
virtual double domainSize (Domain *d, int set)
 

Protected Attributes

const IntArray mTractionDofIDs
 
const IntArray mDispLockDofIDs
 
const IntArray mRegularDispDofIDs
 
int mTractionInterpOrder
 Order of interpolation for traction (0->piecewise constant, 1->piecewise linear) More...
 
int mNumTractionNodesAtIntersections
 If traction nodes should be inserted where cracks intersect the RVE boundary. More...
 
int mTractionNodeSpacing
 Use every (mTractionNodeSpacing) displacement nodes when constructing the traction element mesh. More...
 
bool mMeshIsPeriodic
 true -> the traction lives only on gammaPlus, so that we get strong periodicity as a special case. More...
 
bool mDuplicateCornerNodes
 0 -> Do not duplicate corner traction nodes 1 -> Duplicate corner traction nodes More...
 
double mTangDistPadding
 Parameter for creation of traction mesh. More...
 
double mTracDofScaling
 
FloatArray mLC
 Lower corner of domain (assuming a rectangular RVE) More...
 
FloatArray mUC
 Upper corner of domain (assuming a rectangular RVE) More...
 
NodempDisplacementLock
 Lock displacements in one node if periodic. More...
 
int mLockNodeInd
 
double mDispLockScaling
 
int mSpringNodeInd1
 
int mSpringNodeInd2
 
int mSpringNodeInd3
 
double mSpringPenaltyStiffness
 
std::vector< TracSegArray * > mpTracElNew
 Elements for the independent traction discretization. More...
 
FloatArray mPeriodicityNormal
 Periodicity direction. More...
 
double mDomainSize
 
int mMirrorFunction
 Mirror function (i.e. 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...
 
Domaindomain
 Link to domain object, useful for communicating with other FEM components. More...
 
- Protected Attributes inherited from oofem::PrescribedGradientHomogenization
FloatMatrix mGradient
 Prescribed gradient $ d_{ij} $. More...
 
FloatArray mCenterCoord
 Center coordinate $ \bar{x}_i $. More...
 

Detailed Description

Imposes a prescribed gradient weakly on the boundary with an independent traction discretization.

Author
Erik Svenning
Date
April 17, 2014

Definition at line 111 of file prescribedgradientbcweak.h.

Constructor & Destructor Documentation

oofem::PrescribedGradientBCWeak::~PrescribedGradientBCWeak ( )
virtual

Definition at line 126 of file prescribedgradientbcweak.C.

References clear().

Member Function Documentation

void oofem::PrescribedGradientBCWeak::assemble ( SparseMtrx answer,
TimeStep tStep,
CharType  type,
const UnknownNumberingScheme r_s,
const UnknownNumberingScheme c_s,
double  scale = 1.0 
)
virtual
void oofem::PrescribedGradientBCWeak::assembleVector ( FloatArray answer,
TimeStep tStep,
CharType  type,
ValueModeType  mode,
const UnknownNumberingScheme s,
FloatArray eNorms = NULL 
)
virtual

Assembles B.C.

contributions to specified vector.

Parameters
[in,out]answerVector to assemble to.
tStepActive time step.
typeType of matrix to assemble.
modeMode of value.
sNumbering scheme.
eNormsNorms for each dofid.
Returns
Equivalent of the sum of the element norm (squared) of assembled vector.

Reimplemented from oofem::ActiveBoundaryCondition.

Definition at line 256 of file prescribedgradientbcweak.C.

References oofem::FloatArray::assemble(), oofem::IntArray::clear(), oofem::FloatArray::clear(), computeExtForceElContrib(), computeIntForceGPContrib(), oofem::FEMComponent::domain, giveDispLockDofIDs(), oofem::Domain::giveDofManager(), oofem::Domain::giveDofManPlaceInArray(), oofem::DofManager::giveLocationArray(), giveMirroredPointOnGammaMinus(), oofem::Domain::giveNumberOfSpatialDimensions(), giveRegularDispDofIDs(), oofem::DofManager::giveUnknownVector(), mDispLockScaling, mLockNodeInd, mpDisplacementLock, mpTracElNew, oofem::FloatArray::push_back(), and oofem::FloatArray::times().

virtual bool oofem::PrescribedGradientBCWeak::boundaryPointIsOnActiveBoundary ( const FloatArray iPos) const
protectedpure virtual
virtual void oofem::PrescribedGradientBCWeak::checkIfCorner ( bool &  oIsCorner,
bool &  oDuplicatable,
const FloatArray iPos,
const double &  iNodeDistTol 
) const
protectedpure virtual
void oofem::PrescribedGradientBCWeak::clear ( )
void oofem::PrescribedGradientBCWeak::computeDomainBoundingBox ( Domain iDomain,
FloatArray oLC,
FloatArray oUC 
)
void oofem::PrescribedGradientBCWeak::computeField ( FloatArray sigma,
TimeStep tStep 
)
virtual
virtual double oofem::PrescribedGradientBCWeak::domainSize ( )
inlinevirtual
void oofem::PrescribedGradientBCWeak::findPeriodicityCoord ( std::vector< FloatArray > &  oHoleCoordUnsorted)
protected
void oofem::PrescribedGradientBCWeak::giveBoundaries ( IntArray oBoundaries)
virtual void oofem::PrescribedGradientBCWeak::giveBoundaryCoordVector ( FloatArray oX,
const FloatArray iPos 
) const
protectedpure virtual
virtual const char* oofem::PrescribedGradientBCWeak::giveClassName ( ) const
inlinevirtual
void oofem::PrescribedGradientBCWeak::giveDisplacementLocationArray ( IntArray rows,
const UnknownNumberingScheme s 
)
virtual

Definition at line 669 of file prescribedgradientbcweak.C.

const IntArray& oofem::PrescribedGradientBCWeak::giveDispLockDofIDs ( ) const
inline
virtual const char* oofem::PrescribedGradientBCWeak::giveInputRecordName ( ) const
inlinevirtual
Returns
Input record name of the receiver.

Implements oofem::FEMComponent.

Reimplemented in oofem::PrescribedGradientBCWeakDirichlet, and oofem::PrescribedGradientBCWeakPeriodic.

Definition at line 171 of file prescribedgradientbcweak.h.

References _IFT_PrescribedGradientBCWeak_Name.

DofManager * oofem::PrescribedGradientBCWeak::giveInternalDofManager ( int  i)
virtual

Gives an internal dof manager from receiver.

Reimplemented from oofem::GeneralBoundaryCondition.

Definition at line 162 of file prescribedgradientbcweak.C.

References mpDisplacementLock, mpTracElNew, and OOFEM_ERROR.

void oofem::PrescribedGradientBCWeak::giveLocationArrays ( std::vector< IntArray > &  rows,
std::vector< IntArray > &  cols,
CharType  type,
const UnknownNumberingScheme r_s,
const UnknownNumberingScheme c_s 
)
virtual

Gives a list of location arrays that will be assembled.

This should only be used to construct zero structure in sparse matrices. The rows and columns location arrays returned in tuples (stored in vector), allowing to efficiently assemble and allocate off-diagonal blocks. The nonzero entries are assembled and allocated for entries at (rows[i], cols[i]) positions.

Parameters
rowsList of location arrays for r_s.
colsList of location arrays for c_s.
typeType of matrix to assemble.
r_sRow numbering scheme.
c_sColumn numbering scheme.

Reimplemented from oofem::ActiveBoundaryCondition.

Definition at line 619 of file prescribedgradientbcweak.C.

void oofem::PrescribedGradientBCWeak::giveMirroredPointOnGammaMinus ( FloatArray oPosMinus,
const FloatArray iPosPlus 
) const
void oofem::PrescribedGradientBCWeak::giveMirroredPointOnGammaPlus ( FloatArray oPosPlus,
const FloatArray iPosMinus 
) const
int oofem::PrescribedGradientBCWeak::giveNumberOfInternalDofManagers ( )
virtual

Gives the number of internal dof managers.

Reimplemented from oofem::GeneralBoundaryCondition.

Definition at line 151 of file prescribedgradientbcweak.C.

References mpDisplacementLock, and mpTracElNew.

size_t oofem::PrescribedGradientBCWeak::giveNumberOfTractionElements ( ) const
inline
const IntArray& oofem::PrescribedGradientBCWeak::giveRegularDispDofIDs ( ) const
inline
int oofem::PrescribedGradientBCWeak::giveSideIndex ( const FloatArray iPos) const
protected

Definition at line 1810 of file prescribedgradientbcweak.C.

References mLC, mUC, and OOFEM_ERROR.

Referenced by giveTractionElArcPos().

const IntArray& oofem::PrescribedGradientBCWeak::giveTracDofIDs ( ) const
inline
void oofem::PrescribedGradientBCWeak::giveTraction ( size_t  iElInd,
FloatArray oStartTraction,
FloatArray oEndTraction,
ValueModeType  mode,
TimeStep tStep 
)
void oofem::PrescribedGradientBCWeak::giveTractionElArcPos ( size_t  iElInd,
double &  oXiStart,
double &  oXiEnd 
) const
void oofem::PrescribedGradientBCWeak::giveTractionElCoord ( size_t  iElInd,
FloatArray oStartCoord,
FloatArray oEndCoord 
) const
inline
void oofem::PrescribedGradientBCWeak::giveTractionElNormal ( size_t  iElInd,
FloatArray oNormal,
FloatArray oTangent 
) const
virtual bcType oofem::PrescribedGradientBCWeak::giveType ( ) const
inlinevirtual
Returns
Type of boundary condition. It allows to distinguish BC according its mathematical meaning, ie. like Dirichlet, Neumann, or Newton type.

Reimplemented from oofem::GeneralBoundaryCondition.

Definition at line 124 of file prescribedgradientbcweak.h.

References E, oofem::TracSegArray::giveTractionLocationArray(), and oofem::UnknownBT.

IRResultType oofem::PrescribedGradientBCWeak::initializeFrom ( InputRecord ir)
virtual

Initializes receiver according to object description stored in input record.

This function is called immediately after creating object using constructor. Input record can be imagined as data record in component database belonging to receiver. Receiver may use value-name extracting functions to extract particular field from record.

See also
IR_GIVE_FIELD
IR_GIVE_OPTIONAL_FIELD
Parameters
irInput record to initialize from.
Returns
IRResultType

Reimplemented from oofem::ActiveBoundaryCondition.

Reimplemented in oofem::PrescribedGradientBCWeakDirichlet, and oofem::PrescribedGradientBCWeakPeriodic.

Definition at line 172 of file prescribedgradientbcweak.C.

References _IFT_PrescribedGradientBCWeak_DuplicateCornerNodes, _IFT_PrescribedGradientBCWeak_MirrorFunction, _IFT_PrescribedGradientBCWeak_NumTractionNodesAtIntersections, _IFT_PrescribedGradientBCWeak_NumTractionNodeSpacing, _IFT_PrescribedGradientBCWeak_PeriodicityNormal, _IFT_PrescribedGradientBCWeak_TangDistPadding, _IFT_PrescribedGradientBCWeak_TracDofScaling, _IFT_PrescribedGradientBCWeak_TractionInterpOrder, oofem::ActiveBoundaryCondition::initializeFrom(), oofem::PrescribedGradientHomogenization::initializeFrom(), IR_GIVE_FIELD, IR_GIVE_OPTIONAL_FIELD, oofem::IRRT_OK, mDuplicateCornerNodes, mMirrorFunction, mNumTractionNodesAtIntersections, mPeriodicityNormal, mTangDistPadding, mTracDofScaling, mTractionInterpOrder, mTractionNodeSpacing, oofem::FloatArray::normalize(), and OOFEM_ERROR.

Referenced by oofem::PrescribedGradientBCWeakDirichlet::initializeFrom(), and oofem::PrescribedGradientBCWeakPeriodic::initializeFrom().

bool oofem::PrescribedGradientBCWeak::pointIsOnGammaPlus ( const FloatArray iPos) const
protected
void oofem::PrescribedGradientBCWeak::postInitialize ( )
virtual

Performs post initialization steps.

Reimplemented from oofem::GeneralBoundaryCondition.

Reimplemented in oofem::PrescribedGradientBCWeakDirichlet, and oofem::PrescribedGradientBCWeakPeriodic.

Definition at line 253 of file prescribedgradientbcweak.C.

Referenced by recomputeTractionMesh().

void oofem::PrescribedGradientBCWeak::recomputeTractionMesh ( )
void oofem::PrescribedGradientBCWeak::removeClosePoints ( std::vector< FloatArray > &  ioCoords,
const double &  iAbsTol 
)
protected

Definition at line 1986 of file prescribedgradientbcweak.C.

Referenced by createTractionMesh().

void oofem::PrescribedGradientBCWeak::setDomainSize ( double  iDomainSize)
inline

Definition at line 193 of file prescribedgradientbcweak.h.

void oofem::PrescribedGradientBCWeak::setLowerCorner ( FloatArray  iLC)
inline

Definition at line 194 of file prescribedgradientbcweak.h.

void oofem::PrescribedGradientBCWeak::setMirrorFunction ( int  iMirrorFunction)
inline

Definition at line 197 of file prescribedgradientbcweak.h.

void oofem::PrescribedGradientBCWeak::setPeriodicityNormal ( const FloatArray iPeriodicityNormal)
inline
void oofem::PrescribedGradientBCWeak::setUpperCorner ( FloatArray  iUC)
inline

Definition at line 195 of file prescribedgradientbcweak.h.

void oofem::PrescribedGradientBCWeak::splitSegments ( std::vector< TracSegArray * > &  ioElArray)
protected

Definition at line 1439 of file prescribedgradientbcweak.C.

References oofem::TracSegArray::mInteriorSegments.

Referenced by createTractionMesh().

Member Data Documentation

const IntArray oofem::PrescribedGradientBCWeak::mDispLockDofIDs
protected

Definition at line 202 of file prescribedgradientbcweak.h.

Referenced by PrescribedGradientBCWeak().

double oofem::PrescribedGradientBCWeak::mDispLockScaling
protected

Definition at line 258 of file prescribedgradientbcweak.h.

Referenced by assemble(), assembleVector(), and PrescribedGradientBCWeak().

double oofem::PrescribedGradientBCWeak::mDomainSize
protected

Definition at line 275 of file prescribedgradientbcweak.h.

Referenced by PrescribedGradientBCWeak().

bool oofem::PrescribedGradientBCWeak::mDuplicateCornerNodes
protected

0 -> Do not duplicate corner traction nodes 1 -> Duplicate corner traction nodes

Definition at line 239 of file prescribedgradientbcweak.h.

Referenced by giveInputRecord(), initializeFrom(), and PrescribedGradientBCWeak().

int oofem::PrescribedGradientBCWeak::mLockNodeInd
protected
bool oofem::PrescribedGradientBCWeak::mMeshIsPeriodic
protected

true -> the traction lives only on gammaPlus, so that we get strong periodicity as a special case.

false -> the traction lives everywhere on gamma, so that we get Dirichlet as a special case

Definition at line 232 of file prescribedgradientbcweak.h.

Referenced by createTractionMesh(), oofem::PrescribedGradientBCWeakPeriodic::initializeFrom(), oofem::PrescribedGradientBCWeakDirichlet::initializeFrom(), and PrescribedGradientBCWeak().

int oofem::PrescribedGradientBCWeak::mMirrorFunction
protected

Mirror function (i.e.

mapping between gamma^+ and gamma^-). 0 -> Standard periodicity, 1 -> Shifted stacking, 2 -> Rotation

Definition at line 281 of file prescribedgradientbcweak.h.

Referenced by findPeriodicityCoord(), giveInputRecord(), giveMirroredPointOnGammaMinus(), giveMirroredPointOnGammaPlus(), initializeFrom(), and PrescribedGradientBCWeak().

int oofem::PrescribedGradientBCWeak::mNumTractionNodesAtIntersections
protected

If traction nodes should be inserted where cracks intersect the RVE boundary.

0 -> do not insert node. 1 -> insert node. 2 -> insert duplicated node.

Definition at line 218 of file prescribedgradientbcweak.h.

Referenced by giveInputRecord(), initializeFrom(), and PrescribedGradientBCWeak().

Node* oofem::PrescribedGradientBCWeak::mpDisplacementLock
protected
FloatArray oofem::PrescribedGradientBCWeak::mPeriodicityNormal
protected
std :: vector< TracSegArray * > oofem::PrescribedGradientBCWeak::mpTracElNew
protected
const IntArray oofem::PrescribedGradientBCWeak::mRegularDispDofIDs
protected

Definition at line 203 of file prescribedgradientbcweak.h.

Referenced by PrescribedGradientBCWeak().

int oofem::PrescribedGradientBCWeak::mSpringNodeInd1
protected
int oofem::PrescribedGradientBCWeak::mSpringNodeInd2
protected
int oofem::PrescribedGradientBCWeak::mSpringNodeInd3
protected

Definition at line 262 of file prescribedgradientbcweak.h.

Referenced by assembleExtraDisplock(), and createTractionMesh().

double oofem::PrescribedGradientBCWeak::mSpringPenaltyStiffness
protected
double oofem::PrescribedGradientBCWeak::mTangDistPadding
protected

Parameter for creation of traction mesh.

Definition at line 244 of file prescribedgradientbcweak.h.

Referenced by findCrackBndIntersecCoord(), giveInputRecord(), initializeFrom(), and PrescribedGradientBCWeak().

const IntArray oofem::PrescribedGradientBCWeak::mTractionDofIDs
protected

Definition at line 197 of file prescribedgradientbcweak.h.

int oofem::PrescribedGradientBCWeak::mTractionInterpOrder
protected

Order of interpolation for traction (0->piecewise constant, 1->piecewise linear)

Definition at line 209 of file prescribedgradientbcweak.h.

Referenced by oofem::PrescribedGradientBCWeakPeriodic::checkIfCorner(), giveInputRecord(), initializeFrom(), and PrescribedGradientBCWeak().

int oofem::PrescribedGradientBCWeak::mTractionNodeSpacing
protected

Use every (mTractionNodeSpacing) displacement nodes when constructing the traction element mesh.

Definition at line 224 of file prescribedgradientbcweak.h.

Referenced by createTractionMesh(), giveInputRecord(), initializeFrom(), and PrescribedGradientBCWeak().


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