|
OOFEM 3.0
|
#include <generalboundarycondition.h>
Public Member Functions | |
| GeneralBoundaryCondition (int n, Domain *d) | |
| virtual | ~GeneralBoundaryCondition () |
| Destructor. | |
| int | giveSetNumber () const |
| virtual int | giveNumberOfInternalDofManagers () |
| Gives the number of internal dof managers. | |
| virtual DofManager * | giveInternalDofManager (int i) |
| Gives an internal dof manager from receiver. | |
| Function * | giveTimeFunction () |
| int | getIsImposedTimeFunctionNumber () const |
| void | setIsImposedTimeFunctionNumber (int funcIndx) |
| virtual bcValType | giveBCValType () const |
| virtual bool | isImposed (TimeStep *tStep) |
| virtual const IntArray & | giveDofIDs () const |
| virtual bcType | giveType () const |
| virtual bcGeomType | giveBCGeoType () const |
| virtual void | scale (double s) |
| virtual double | giveProperty (int aProperty, TimeStep *tStep) const |
| void | initializeFrom (InputRecord &ir) override |
| void | giveInputRecord (DynamicInputRecord &input) override |
| void | saveContext (DataStream &stream, ContextMode mode) override |
| void | restoreContext (DataStream &stream, ContextMode mode) override |
| virtual void | updateYourself (TimeStep *tStep) |
| Public Member Functions inherited from oofem::FEMComponent | |
| FEMComponent (int n, Domain *d) | |
| virtual | ~FEMComponent ()=default |
| Virtual destructor. | |
| virtual const char * | giveClassName () const =0 |
| virtual const char * | giveInputRecordName () const =0 |
| Domain * | giveDomain () const |
| virtual void | setDomain (Domain *d) |
| int | giveNumber () const |
| void | setNumber (int num) |
| virtual void | updateLocalNumbering (EntityRenumberingFunctor &f) |
| virtual void | initializeFrom (InputRecord &ir, int priority) |
| virtual void | initializeFinish () |
| virtual void | postInitialize () |
| Performs post initialization steps. Called after all components are created and initialized. | |
| virtual int | checkConsistency () |
| virtual void | printOutputAt (FILE *file, TimeStep *tStep) |
| virtual void | printYourself () |
| Prints receiver state on stdout. Useful for debugging. | |
| virtual Interface * | giveInterface (InterfaceType t) |
| std::string | errorInfo (const char *func) const |
| Returns string for prepending output (used by error reporting macros). | |
Protected Attributes | |
| int | timeFunction |
| Associated load time function. | |
| bcValType | valType |
| Physical meaning of BC value. | |
| IntArray | dofs |
| Dofs that b.c. is applied to (relevant for Dirichlet type b.c.s). | |
| int | isImposedTimeFunction |
| int | set |
| Set number for boundary condition to be applied to. | |
| Protected Attributes inherited from oofem::FEMComponent | |
| int | number |
| Component number. | |
| Domain * | domain |
| Link to domain object, useful for communicating with other FEM components. | |
Abstract base class for all boundary conditions of problem. Boundary condition is an attribute of the domain (it belongs to). General BC is also attribute of several elements, nodes, Dofs and so on, which are subjected to boundary condition.
This base class only declares itself as a base class of all boundary conditions, and declares only very basic services. This base class introduces 'TimeFunction' as an attribute of each boundary condition. 'TimeFunction' represent time variation, its value is dependent on time step. The value (or the components) of a boundary condition (load) will be the product of its value by the value of the associated load time function at given time step. The meaning of boundary condition components is dependent on particular boundary condition type, and should be defined in derived classes documentation.
This base class introduces also two general services for requesting boundary condition physical meaning and boundary condition geometrical character (pointwise, acting on element body or edge and so on).
Derived classes should represent the base classes for particular boundary condition type (like force load, or boundary condition prescribed directly on some dof) and should declare the basic common interface.
Definition at line 81 of file generalboundarycondition.h.
| oofem::GeneralBoundaryCondition::GeneralBoundaryCondition | ( | int | n, |
| Domain * | d ) |
Constructor. Creates boundary condition with given number, belonging to given domain.
| n | Boundary condition number. |
| d | Domain to which new object will belongs. |
Definition at line 45 of file generalboundarycondition.C.
References oofem::FEMComponent::FEMComponent(), isImposedTimeFunction, set, and timeFunction.
Referenced by oofem::ActiveBoundaryCondition::ActiveBoundaryCondition(), oofem::BoundaryCondition::BoundaryCondition(), and oofem::Load::Load().
|
inlinevirtual |
Destructor.
Definition at line 106 of file generalboundarycondition.h.
|
inline |
Gets the activity time function number.
Definition at line 127 of file generalboundarycondition.h.
|
inlinevirtual |
Returns geometry character of boundary condition. For available values see cltypes.h file. Derived classes should always overload, default implementation returns UnknownLoadGT value.
Reimplemented in oofem::BodyLoad, oofem::ConstantEdgeLoad, oofem::ConstantPressureLoad, oofem::ConstantSurfaceLoad, oofem::DeadWeight, oofem::DepositedHeatSource, oofem::FreeConstantSurfaceLoad, oofem::GravityPressure, oofem::InteractionLoad, oofem::LinearEdgeLoad, oofem::NeumannMomentLoad, oofem::NodalLoad, oofem::PointLoad, oofem::Reinforcement, oofem::StructuralEigenstrainLoad, oofem::StructuralTemperatureLoad, and oofem::UsrDefBoundaryLoad.
Definition at line 165 of file generalboundarycondition.h.
References oofem::UnknownBGT.
Referenced by oofem::EngngModel::assembleVectorFromBC(), oofem::SUPGElement::computeBCLhsPressureTerm_MC(), oofem::SUPGElement::computeBCLhsTerm_MB(), oofem::SUPGElement2::computeBCRhsTerm_MB(), oofem::TR1_2D_SUPG2::computeBCRhsTerm_MB(), oofem::TR1_2D_SUPG::computeBCRhsTerm_MB(), oofem::TR1_2D_SUPG_AXI::computeBCRhsTerm_MB(), oofem::SUPGElement2::computeBCRhsTerm_MC(), oofem::TR1_2D_SUPG2_AXI::computeBCRhsTerm_MC(), oofem::TR1_2D_SUPG::computeBCRhsTerm_MC(), oofem::TR1_2D_SUPG_AXI::computeBCRhsTerm_MC(), oofem::TransportElement::computeBCSubMtrxAt(), oofem::TransportElement::computeBCSubVectorAt(), oofem::CCTPlate3d::computeBodyLoadVectorAt(), oofem::CCTPlate::computeBodyLoadVectorAt(), oofem::DKTPlate3d::computeBodyLoadVectorAt(), oofem::DKTPlate::computeBodyLoadVectorAt(), oofem::QDKTPlate::computeBodyLoadVectorAt(), oofem::Quad1Mindlin::computeBodyLoadVectorAt(), oofem::Quad1MindlinShell3D::computeBodyLoadVectorAt(), oofem::StructuralElement::computeBodyLoadVectorAt(), oofem::TR_SHELL11::computeBodyLoadVectorAt(), oofem::TrPlanestressRotAllman3d::computeBodyLoadVectorAt(), oofem::TrPlaneStrRot3d::computeBodyLoadVectorAt(), oofem::TrPlaneStrRot::computeBodyLoadVectorAt(), oofem::Hexa21Stokes::computeExternalForcesVector(), oofem::Tet1BubbleStokes::computeExternalForcesVector(), oofem::Tet21Stokes::computeExternalForcesVector(), oofem::Tr1BubbleStokes::computeExternalForcesVector(), oofem::Tr21Stokes::computeExternalForcesVector(), oofem::Beam3d::computeInternalForcesFromBodyLoadVectorAtPoint(), oofem::Lattice3d_mt::computeInternalSourceRhsVectorAt(), oofem::DofManager::computeLoadVector(), oofem::BeamBaseElement::computeLocalForceLoadVector(), oofem::TMElement::giveCharacteristicMatrixFromBC(), oofem::TMElement::giveCharacteristicVectorFromBC(), oofem::Beam3d::giveInternalForcesVectorAtPoint(), oofem::TMLhsAssembler::matrixFromElement(), and oofem::TMResidualAssembler::vectorFromElement().
|
inlinevirtual |
Returns receiver load type. It distinguish particular boundary conditions according to their "physical" meaning (like StructuralTemperatureLoadLT, StructuralLoadLT). Derived classes should always overload, default implementation returns UnknownLT value. See cltypes.h file for details.
Reimplemented in oofem::DeadWeight, oofem::DepositedHeatSource, oofem::Reinforcement, oofem::StructuralEigenstrainLoad, and oofem::StructuralTemperatureLoad.
Definition at line 142 of file generalboundarycondition.h.
Referenced by oofem::SUPGElement::computeBCLhsPressureTerm_MC(), oofem::SUPGElement::computeBCLhsTerm_MB(), oofem::SUPGElement2::computeBCRhsTerm_MB(), oofem::TR1_2D_SUPG2::computeBCRhsTerm_MB(), oofem::TR1_2D_SUPG::computeBCRhsTerm_MB(), oofem::TR1_2D_SUPG_AXI::computeBCRhsTerm_MB(), oofem::SUPGElement2::computeBCRhsTerm_MC(), oofem::TR1_2D_SUPG2_AXI::computeBCRhsTerm_MC(), oofem::TR1_2D_SUPG::computeBCRhsTerm_MC(), oofem::TR1_2D_SUPG_AXI::computeBCRhsTerm_MC(), oofem::CCTPlate3d::computeBodyLoadVectorAt(), oofem::CCTPlate::computeBodyLoadVectorAt(), oofem::DKTPlate3d::computeBodyLoadVectorAt(), oofem::DKTPlate::computeBodyLoadVectorAt(), oofem::QDKTPlate::computeBodyLoadVectorAt(), oofem::Quad1Mindlin::computeBodyLoadVectorAt(), oofem::Quad1MindlinShell3D::computeBodyLoadVectorAt(), oofem::StructuralElement::computeBodyLoadVectorAt(), oofem::TR_SHELL11::computeBodyLoadVectorAt(), oofem::TrPlanestressRotAllman3d::computeBodyLoadVectorAt(), oofem::TrPlaneStrRot3d::computeBodyLoadVectorAt(), oofem::TrPlaneStrRot::computeBodyLoadVectorAt(), oofem::Hexa21Stokes::computeExternalForcesVector(), oofem::Tet1BubbleStokes::computeExternalForcesVector(), oofem::Tet21Stokes::computeExternalForcesVector(), oofem::Tr1BubbleStokes::computeExternalForcesVector(), oofem::Tr21Stokes::computeExternalForcesVector(), oofem::Beam3d::computeInternalForcesFromBodyLoadVectorAtPoint(), oofem::SUPGElement2::computeLoadVector(), oofem::TMElement::computeLoadVector(), oofem::TR1_2D_SUPG::computeLoadVector(), oofem::TR1_2D_SUPG_AXI::computeLoadVector(), oofem::BeamBaseElement::computeLocalForceLoadVector(), oofem::StructuralElement::computeResultingIPEigenstrainAt(), oofem::StructuralElement::computeResultingIPTemperatureAt(), giveInputRecord(), and oofem::Beam3d::giveInternalForcesVectorAtPoint().
|
inlinevirtual |
Array with default dofs which b.c. acts on (only Dirichlet type b.c.s are afflicted).
Definition at line 155 of file generalboundarycondition.h.
References dofs.
Referenced by oofem::PrimaryField::applyBoundaryCondition(), oofem::EngngModel::assembleVectorFromBC(), oofem::EngngModel::assembleVectorFromDofManagers(), oofem::DofManager::computeLoadVector(), oofem::Node::computeLoadVector(), oofem::Domain::createDofs(), giveInputRecord(), and oofem::IncrementalLinearStatic::solveYourselfAt().
|
overridevirtual |
Setups the input record string of receiver.
| input | Dynamic input record to be filled by receiver. |
Reimplemented from oofem::FEMComponent.
Reimplemented in oofem::InteractionLoad, oofem::LinearEdgeLoad, oofem::Load, oofem::MixedGradientPressureDirichlet, oofem::MixedGradientPressureNeumann, oofem::MixedGradientPressureWeakPeriodic, oofem::NodalLoad, oofem::PointLoad, oofem::PrescribedDispSlipBCDirichletRC, oofem::PrescribedDispSlipBCNeumannRC, oofem::PrescribedDispSlipMultiple, oofem::PrescribedGenStrainShell7, oofem::PrescribedGenStrainShell7, oofem::PrescribedGradient, oofem::PrescribedGradientBCNeumann, oofem::PrescribedGradientBCPeriodic, oofem::PrescribedGradientBCWeak, oofem::PrescribedGradientMultiple, oofem::RotatingBoundary, oofem::TransportGradientDirichlet, oofem::TransportGradientNeumann, oofem::TransportGradientPeriodic, oofem::TransverseReinfConstraint, oofem::UserDefDirichletBC, and oofem::UsrDefBoundaryLoad.
Definition at line 103 of file generalboundarycondition.C.
References _IFT_GeneralBoundaryCondition_dofs, _IFT_GeneralBoundaryCondition_isImposedTimeFunct, _IFT_GeneralBoundaryCondition_set, _IFT_GeneralBoundaryCondition_timeFunct, _IFT_GeneralBoundaryCondition_valType, giveBCValType(), giveDofIDs(), giveSetNumber(), isImposedTimeFunction, oofem::DynamicInputRecord::setField(), and timeFunction.
|
inlinevirtual |
Gives an internal dof manager from receiver.
Reimplemented in oofem::LinearConstraintBC, oofem::MixedGradientPressureDirichlet, oofem::MixedGradientPressureNeumann, oofem::MixedGradientPressureWeakPeriodic, oofem::PrescribedDispSlipBCNeumannRC, oofem::PrescribedDispSlipMultiple, oofem::PrescribedGradientBCNeumann, oofem::PrescribedGradientBCPeriodic, oofem::PrescribedGradientBCWeak, oofem::PrescribedGradientMultiple, oofem::PrescribedMean, oofem::SolutionbasedShapeFunction, oofem::TransportGradientNeumann, oofem::TransportGradientPeriodic, oofem::TransverseReinfConstraint, and oofem::WeakPeriodicBoundaryCondition.
Definition at line 116 of file generalboundarycondition.h.
Referenced by oofem::IncrementalLinearStatic::solveYourselfAt(), and oofem::StructuralEngngModel::updateInternalState().
|
inlinevirtual |
Gives the number of internal dof managers.
Reimplemented in oofem::LinearConstraintBC, oofem::MixedGradientPressureDirichlet, oofem::MixedGradientPressureNeumann, oofem::MixedGradientPressureWeakPeriodic, oofem::PrescribedDispSlipBCNeumannRC, oofem::PrescribedGradientBCNeumann, oofem::PrescribedGradientBCPeriodic, oofem::PrescribedGradientBCWeak, oofem::PrescribedMean, oofem::SolutionbasedShapeFunction, oofem::TransportGradientNeumann, oofem::TransportGradientPeriodic, oofem::TransverseReinfConstraint, and oofem::WeakPeriodicBoundaryCondition.
Definition at line 114 of file generalboundarycondition.h.
Referenced by oofem::DGProblem::requiresEquationRenumbering(), oofem::MPMProblem::requiresEquationRenumbering(), oofem::StaticStructural::requiresEquationRenumbering(), oofem::TransientTransportProblem::requiresEquationRenumbering(), oofem::IncrementalLinearStatic::solveYourselfAt(), and oofem::StructuralEngngModel::updateInternalState().
|
inlinevirtual |
Returns the value of a property 'aProperty'. Property must be identified by unique integer id.
| aProperty | id of property requested |
Reimplemented in oofem::BoundaryLoad, and oofem::Load.
Definition at line 179 of file generalboundarycondition.h.
References OOFEM_ERROR.
|
inline |
Gives the set number which boundary condition is applied to.
Definition at line 111 of file generalboundarycondition.h.
References set.
Referenced by oofem::PrimaryField::applyBoundaryCondition(), oofem::PrescribedDispSlipBCNeumannRC::assembleOnReinfStress(), oofem::PrescribedDispSlipBCNeumannRC::assembleOnTransferStress(), oofem::PrescribedGradientBCNeumann::assembleVector(), oofem::PrescribedDispSlipBCNeumannRC::assembleVectorBStress(), oofem::EngngModel::assembleVectorFromBC(), oofem::PrescribedDispSlipBCNeumannRC::assembleVectorRStress(), oofem::PrescribedDispSlipBCNeumannRC::assembleVectorStress(), oofem::PrescribedGradient::computeField(), oofem::PrescribedDispSlipBCDirichletRC::computeReinfStress(), oofem::PrescribedDispSlipBCNeumannRC::computeReinfStress(), oofem::StructuralElement::computeResultingIPEigenstrainAt(), oofem::StructuralElement::computeResultingIPTemperatureAt(), oofem::PrescribedDispSlipBCDirichletRC::computeStress(), oofem::PrescribedDispSlipBCNeumannRC::computeStress(), oofem::PrescribedDispSlipBCDirichletRC::computeTangent(), oofem::PrescribedGradient::computeTangent(), oofem::PrescribedGradientBCNeumann::computeTangent(), oofem::PrescribedDispSlipBCDirichletRC::computeTransferStress(), oofem::PrescribedDispSlipBCNeumannRC::computeTransferStress(), oofem::Domain::createDofs(), oofem::PrescribedDispSlipBCNeumannRC::domainSize(), oofem::PrescribedGradientBCWeak::domainSize(), giveInputRecord(), oofem::BCTracker::initialize(), oofem::SolutionbasedShapeFunction::initializeSurfaceData(), and oofem::IncrementalLinearStatic::solveYourselfAt().
| Function * oofem::GeneralBoundaryCondition::giveTimeFunction | ( | ) |
Definition at line 53 of file generalboundarycondition.C.
References oofem::FEMComponent::domain, OOFEM_ERROR, and timeFunction.
Referenced by oofem::PrescribedGradientBCNeumann::assembleVector(), oofem::TransportGradientNeumann::assembleVector(), oofem::PrescribedDispSlipBCNeumannRC::assembleVectorBStress(), oofem::PrescribedDispSlipBCNeumannRC::assembleVectorRStress(), oofem::PrescribedDispSlipBCNeumannRC::assembleVectorStress(), oofem::Load::computeComponentArrayAt(), oofem::PrescribedGradientBCWeak::computeExtForceElContrib(), oofem::BoundaryLoad::computeValueAt(), oofem::ConstantEdgeLoad::computeValueAt(), oofem::ConstantPressureLoad::computeValueAt(), oofem::ConstantSurfaceLoad::computeValueAt(), oofem::FreeConstantSurfaceLoad::computeValueAt(), oofem::InteractionLoad::computeValueAt(), oofem::PointLoad::computeValueAt(), oofem::NeumannMomentLoad::computeValueAtBoundary(), oofem::BoundaryCondition::give(), oofem::PrescribedDispSlipBCDirichletRC::give(), oofem::PrescribedGenStrainShell7::give(), oofem::PrescribedGradient::give(), oofem::RotatingBoundary::give(), oofem::TransportGradientDirichlet::give(), oofem::UserDefDirichletBC::give(), oofem::PrescribedGradientBCPeriodic::giveBcValue(), oofem::TransportGradientPeriodic::giveBcValue(), oofem::PrescribedMean::giveExternalForcesVector(), oofem::WeakPeriodicBoundaryCondition::giveExternalForcesVector(), oofem::PrescribedGradientBCPeriodic::giveUnknown(), oofem::PrescribedGradientBCPeriodic::giveUnknown(), oofem::TransportGradientPeriodic::giveUnknown(), oofem::TransportGradientPeriodic::giveUnknown(), oofem::GnuplotExportModule::outputBoundaryCondition(), and oofem::GnuplotExportModule::outputGradient().
|
inlinevirtual |
Reimplemented in oofem::BoundaryCondition, oofem::BoundaryLoad, oofem::MixedGradientPressureBC, oofem::MixedGradientPressureNeumann, oofem::MixedGradientPressureWeakPeriodic, oofem::PointLoad, oofem::PrescribedDispSlipBCNeumannRC, oofem::PrescribedDispSlipMultiple, oofem::PrescribedGenStrainShell7, oofem::PrescribedGenStrainShell7, oofem::PrescribedGradient, oofem::PrescribedGradientBCNeumann, oofem::PrescribedGradientBCWeak, oofem::PrescribedGradientMultiple, oofem::TransportGradientDirichlet, oofem::TransportGradientNeumann, oofem::TransverseReinfConstraint, and oofem::UserDefDirichletBC.
Definition at line 160 of file generalboundarycondition.h.
References oofem::UnknownBT.
Referenced by oofem::SUPGElement::computeBCLhsPressureTerm_MB(), oofem::TR1_2D_SUPG_AXI::computeBCLhsPressureTerm_MB(), oofem::SUPGElement::computeBCLhsTerm_MB(), oofem::TR1_2D_SUPG_AXI::computeBCLhsTerm_MB(), oofem::TransportElement::computeBCSubMtrxAt(), oofem::TR1_2D_PFEM::computeEdgeBCSubVectorAt(), oofem::Tr1Darcy::computeEdgeBCSubVectorAt(), oofem::TransportElement::computeEdgeBCSubVectorAt(), oofem::TransportElement::computeLoadVector(), oofem::TransportElement::computeSurfaceBCSubVectorAt(), oofem::MasterDof::giveBc(), oofem::TMElement::giveCharacteristicMatrixFromBC(), and oofem::TMElement::giveCharacteristicVectorFromBC().
|
overridevirtual |
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. Note that initializeFrom may be called mutiple times.
| ir | Input record to initialize from. |
| priority | Priority of the input record. This is used to determine the order of initialization |
Reimplemented from oofem::FEMComponent.
Reimplemented in oofem::GravityPressure, oofem::InteractionLoad, oofem::LinearConstraintBC, oofem::LinearEdgeLoad, oofem::Load, oofem::MixedGradientPressureBC, oofem::MixedGradientPressureDirichlet, oofem::MixedGradientPressureNeumann, oofem::MixedGradientPressureWeakPeriodic, oofem::NeumannMomentLoad, oofem::NodalLoad, oofem::PointLoad, oofem::PrescribedDispSlipBCDirichletRC, oofem::PrescribedDispSlipBCNeumannRC, oofem::PrescribedDispSlipMultiple, oofem::PrescribedGenStrainShell7, oofem::PrescribedGenStrainShell7, oofem::PrescribedGradient, oofem::PrescribedGradientBCNeumann, oofem::PrescribedGradientBCPeriodic, oofem::PrescribedGradientBCWeak, oofem::PrescribedGradientBCWeakDirichlet, oofem::PrescribedGradientBCWeakPeriodic, oofem::PrescribedGradientMultiple, oofem::PrescribedMean, oofem::Reinforcement, oofem::RotatingBoundary, oofem::SolutionbasedShapeFunction, oofem::StructuralPenaltyContactBoundaryCondition, oofem::SurfaceTensionBoundaryCondition, oofem::TF1, oofem::TransportGradientDirichlet, oofem::TransportGradientNeumann, oofem::TransportGradientPeriodic, oofem::TransverseReinfConstraint, oofem::UserDefDirichletBC, oofem::UserDefinedTemperatureField, oofem::UsrDefBoundaryLoad, and oofem::WeakPeriodicBoundaryCondition.
Definition at line 66 of file generalboundarycondition.C.
References _IFT_GeneralBoundaryCondition_dofs, _IFT_GeneralBoundaryCondition_isImposedTimeFunct, _IFT_GeneralBoundaryCondition_set, _IFT_GeneralBoundaryCondition_timeFunct, _IFT_GeneralBoundaryCondition_valType, dofs, IR_GIVE_FIELD, IR_GIVE_OPTIONAL_FIELD, isImposedTimeFunction, set, timeFunction, and valType.
Referenced by oofem::DepositedHeatSource::initializeFrom().
|
virtual |
Returns nonzero if receiver representing BC is imposed at given time, otherwise returns zero.
| tStep | Time step representing time when receiver is tested. |
Reimplemented in oofem::FreeConstantSurfaceLoad.
Definition at line 87 of file generalboundarycondition.C.
References oofem::FEMComponent::domain, and isImposedTimeFunction.
Referenced by oofem::LinearConstraintBC::assemble(), oofem::EngngModel::assembleVectorFromBC(), oofem::TransportElement::computeBCSubMtrxAt(), oofem::TransportElement::computeBCSubVectorAt(), oofem::TransportElement::computeBoundaryEdgeLoadVector(), oofem::Load::computeComponentArrayAt(), oofem::BeamBaseElement::computeLocalForceLoadVector(), oofem::StructuralElement::computeResultingIPEigenstrainAt(), oofem::StructuralElement::computeResultingIPTemperatureAt(), oofem::ConstantEdgeLoad::computeValueAt(), oofem::Beam3d::giveInternalForcesVectorAtPoint(), and oofem::IncrementalLinearStatic::solveYourselfAt().
|
overridevirtual |
Restores the receiver state previously written in stream.
| stream | Input stream. |
| mode | Determines amount of info available in stream (state, definition, ...). |
| throws | an ContextIOERR exception if error encountered. |
Reimplemented from oofem::FEMComponent.
Reimplemented in oofem::LinearConstraintBC, oofem::Load, oofem::NodalLoad, and oofem::UsrDefBoundaryLoad.
Definition at line 152 of file generalboundarycondition.C.
References oofem::CIO_IOERR, oofem::CIO_OK, CM_Definition, dofs, isImposedTimeFunction, oofem::DataStream::read(), set, THROW_CIOERR, timeFunction, and valType.
|
overridevirtual |
Stores receiver state to output stream.
| stream | Output stream. |
| mode | Determines amount of info required in stream (state, definition, ...). |
| throws | an ContextIOERR exception if error encountered. |
Reimplemented from oofem::FEMComponent.
Reimplemented in oofem::LinearConstraintBC, oofem::Load, oofem::NodalLoad, and oofem::UsrDefBoundaryLoad.
Definition at line 126 of file generalboundarycondition.C.
References oofem::CIO_IOERR, oofem::CIO_OK, CM_Definition, dofs, isImposedTimeFunction, set, THROW_CIOERR, timeFunction, valType, and oofem::DataStream::write().
|
inlinevirtual |
Scales the receiver according to given value. Typically used in nondimensional analysis to scale down BCs and ICs.
| s | Scale factor. |
Reimplemented in oofem::BoundaryCondition, oofem::Load, oofem::MixedGradientPressureDirichlet, oofem::MixedGradientPressureNeumann, oofem::MixedGradientPressureWeakPeriodic, oofem::PrescribedDispSlipBCDirichletRC, oofem::PrescribedDispSlipBCNeumannRC, oofem::PrescribedDispSlipMultiple, oofem::PrescribedGenStrainShell7, oofem::PrescribedGradient, oofem::PrescribedGradientBCNeumann, oofem::PrescribedGradientMultiple, oofem::RotatingBoundary, oofem::TractionPressureBC, oofem::TransportGradientDirichlet, oofem::TransportGradientNeumann, and oofem::UserDefDirichletBC.
Definition at line 171 of file generalboundarycondition.h.
Referenced by oofem::ActiveBoundaryCondition::assemble(), oofem::ContactBoundaryCondition::assemble(), oofem::LinearConstraintBC::assemble(), oofem::PrescribedGradientBCWeak::assemble(), oofem::PrescribedMean::assemble(), oofem::SurfaceTensionBoundaryCondition::assemble(), oofem::TransverseReinfConstraint::assemble(), and oofem::WeakPeriodicBoundaryCondition::assemble().
|
inline |
Sets the activity time function of receiver.
| funcIndx | Index of new time function. |
Definition at line 134 of file generalboundarycondition.h.
|
inlinevirtual |
Reimplemented in oofem::ContactBoundaryCondition.
Definition at line 190 of file generalboundarycondition.h.
|
protected |
Dofs that b.c. is applied to (relevant for Dirichlet type b.c.s).
Definition at line 89 of file generalboundarycondition.h.
Referenced by oofem::MixedGradientPressureNeumann::assemble(), oofem::MixedGradientPressureWeakPeriodic::assemble(), oofem::SurfaceTensionBoundaryCondition::assemble(), oofem::TransportGradientNeumann::assemble(), oofem::MixedGradientPressureNeumann::assembleVector(), oofem::MixedGradientPressureWeakPeriodic::assembleVector(), oofem::SurfaceTensionBoundaryCondition::assembleVector(), oofem::TransportGradientNeumann::assembleVector(), oofem::TransportGradientDirichlet::computeCoefficientMatrix(), oofem::SolutionbasedShapeFunction::computeCorrectionFactors(), oofem::MixedGradientPressureNeumann::computeFields(), oofem::TransportGradientDirichlet::computeTangent(), oofem::TransportGradientNeumann::computeTangent(), oofem::TransportGradientPeriodic::computeTangent(), oofem::MixedGradientPressureNeumann::computeTangents(), oofem::Load::computeValues(), oofem::SolutionbasedShapeFunction::copyDofManagersToSurfaceData(), oofem::BoundaryCondition::give(), oofem::PrescribedDispSlipBCDirichletRC::give(), oofem::PrescribedGradient::give(), giveDofIDs(), oofem::ContactBoundaryCondition::giveLocationArray(), oofem::MixedGradientPressureNeumann::giveLocationArrays(), oofem::MixedGradientPressureWeakPeriodic::giveLocationArrays(), oofem::StructuralPenaltyContactBoundaryCondition::giveLocationArrays(), oofem::SurfaceTensionBoundaryCondition::giveLocationArrays(), oofem::TransportGradientNeumann::giveLocationArrays(), oofem::BoundaryCondition::initializeFrom(), initializeFrom(), oofem::SolutionbasedShapeFunction::loadProblem(), restoreContext(), saveContext(), oofem::SolutionbasedShapeFunction::splitBoundaryNodeIDs(), oofem::PrescribedDispSlipBCDirichletRC::updateCoefficientMatrix(), oofem::PrescribedGenStrainShell7::updateCoefficientMatrix(), and oofem::PrescribedGradient::updateCoefficientMatrix().
|
protected |
Zero by default - the BC is than always imposed. Otherwise the number of associated load time function. If the load time function returns aero value, the BC is inactive.
Definition at line 94 of file generalboundarycondition.h.
Referenced by GeneralBoundaryCondition(), giveInputRecord(), initializeFrom(), isImposed(), restoreContext(), and saveContext().
|
protected |
Set number for boundary condition to be applied to.
Definition at line 96 of file generalboundarycondition.h.
Referenced by oofem::MixedGradientPressureNeumann::assemble(), oofem::MixedGradientPressureWeakPeriodic::assemble(), oofem::PrescribedGradientBCNeumann::assemble(), oofem::SurfaceTensionBoundaryCondition::assemble(), oofem::TransportGradientNeumann::assemble(), oofem::PrescribedDispSlipBCNeumannRC::assembleOnReinfStress(), oofem::PrescribedDispSlipBCNeumannRC::assembleOnStress(), oofem::MixedGradientPressureNeumann::assembleVector(), oofem::MixedGradientPressureWeakPeriodic::assembleVector(), oofem::PrescribedGradientBCNeumann::assembleVector(), oofem::SurfaceTensionBoundaryCondition::assembleVector(), oofem::PrescribedDispSlipBCNeumannRC::assembleVectorRStress(), oofem::PrescribedDispSlipBCNeumannRC::assembleVectorStress(), oofem::PrescribedMean::computeDomainSize(), oofem::PrescribedGradientBCPeriodic::computeField(), oofem::TransportGradientPeriodic::computeField(), oofem::MixedGradientPressureNeumann::computeFields(), oofem::PrescribedDispSlipBCNeumannRC::computeInterfaceLength(), oofem::PrescribedDispSlipBCNeumannRC::computeRebarDyad(), oofem::MixedGradientPressureWeakPeriodic::computeStress(), oofem::PrescribedGradientBCPeriodic::computeTangent(), oofem::TransportGradientNeumann::computeTangent(), oofem::TransportGradientPeriodic::computeTangent(), oofem::MixedGradientPressureNeumann::computeTangents(), oofem::MixedGradientPressureWeakPeriodic::computeTangents(), oofem::PrescribedDispSlipBCNeumannRC::computeWeightMatrix(), oofem::MixedGradientPressureBC::domainSize(), oofem::PrescribedDispSlipBCDirichletRC::domainSize(), oofem::PrescribedDispSlipBCNeumannRC::domainSize(), oofem::PrescribedGenStrainShell7::domainSize(), oofem::TransportGradientDirichlet::domainSize(), oofem::TransportGradientNeumann::domainSize(), oofem::TransportGradientPeriodic::domainSize(), oofem::PrescribedGradientBCWeak::findCrackBndIntersecCoord(), oofem::PrescribedGradientBCWeak::findHoleCoord(), oofem::PrescribedGradientBCPeriodic::findSlaveToMasterMap(), oofem::TransportGradientPeriodic::findSlaveToMasterMap(), GeneralBoundaryCondition(), oofem::PrescribedGradientBCWeak::giveBoundaries(), oofem::MixedGradientPressureNeumann::giveLocationArrays(), oofem::MixedGradientPressureWeakPeriodic::giveLocationArrays(), oofem::PrescribedDispSlipBCNeumannRC::giveLocationArrays(), oofem::PrescribedGradientBCNeumann::giveLocationArrays(), oofem::SurfaceTensionBoundaryCondition::giveLocationArrays(), oofem::TransportGradientNeumann::giveLocationArrays(), giveSetNumber(), oofem::ExternalTemperatureFieldLoad::initializeFrom(), initializeFrom(), oofem::PrescribedMean::initializeFrom(), oofem::FreeConstantSurfaceLoad::isImposed(), restoreContext(), and saveContext().
|
protected |
Associated load time function.
Definition at line 85 of file generalboundarycondition.h.
Referenced by GeneralBoundaryCondition(), giveInputRecord(), giveTimeFunction(), initializeFrom(), oofem::Load::Load(), restoreContext(), and saveContext().
|
protected |
Physical meaning of BC value.
Definition at line 87 of file generalboundarycondition.h.
Referenced by initializeFrom(), restoreContext(), and saveContext().