|
OOFEM 3.0
|
#include <qclinearstatic.h>
Public Member Functions | |
| QClinearStatic (int i, EngngModel *master=nullptr) | |
| virtual | ~QClinearStatic () |
| void | postInitialize () override |
| void | solveYourself () override |
| void | solveYourselfAt (TimeStep *tStep) override |
| void | initializeFrom (InputRecord &ir) override |
| const char * | giveInputRecordName () const override |
| const char * | giveClassName () const override |
| Returns class name of the receiver. | |
| fMode | giveFormulation () override |
| virtual void | updateNodeTypes (Domain *d) |
| virtual void | setQCNodeType (Domain *d) |
| virtual void | initializeFullSolvedDomain (InputRecord &ir) |
| virtual bool | nodeInFullSolvedDomainTest (Node *n) |
| virtual void | setRepNodesInVerticesOfInterpolationMesh (Domain *d) |
| virtual void | createInterpolationMeshNodes (Domain *d) |
| virtual std::vector< IntArray > | generateInterpolationMesh (Domain *d) |
| virtual std::vector< IntArray > | loadInterpolationMesh (Domain *d) |
| virtual std::vector< IntArray > | transformMeshToParticles (Domain *d, std::vector< FloatArray > &nodeCoords, std::vector< IntArray > &meshNodes) |
| virtual double | computeTotalVolumeOfInterpolationMesh (Domain *d) |
| virtual DofManager * | findNearestParticle (Domain *d, FloatArray coords) |
| virtual QCFullsolveddomain * | giveFullSolvedDomain () |
| virtual int | giveQcApproachNumber () |
| bool | isElementActivated (int elemNum) override |
| bool | isElementActivated (Element *e) override |
| void | setActivatedNodeList (IntArray nodeList, Domain *d) |
| void | setActivatedElementList (IntArray elemList) |
| UnknownNumberingScheme & | giveEquationNumbering () override |
| Public Member Functions inherited from oofem::LinearStatic | |
| LinearStatic (int i, EngngModel *master=nullptr) | |
| virtual | ~LinearStatic () |
| double | giveUnknownComponent (ValueModeType type, TimeStep *tStep, Domain *d, Dof *dof) override |
| void | saveContext (DataStream &stream, ContextMode mode) override |
| void | restoreContext (DataStream &stream, ContextMode mode) override |
| void | updateDomainLinks () override |
| TimeStep * | giveNextStep () override |
| Returns next time step (next to current step) of receiver. | |
| NumericalMethod * | giveNumericalMethod (MetaStep *mStep) override |
| Returns reference to receiver's numerical method. | |
| int | estimateMaxPackSize (IntArray &commMap, DataStream &buff, int packUnpackType) override |
| Public Member Functions inherited from oofem::StructuralEngngModel | |
| StructuralEngngModel (int i, EngngModel *master=nullptr) | |
| Creates new StructuralEngngModel with number i, associated to domain d. | |
| virtual | ~StructuralEngngModel () |
| Destructor. | |
| void | updateYourself (TimeStep *tStep) override |
| int | checkConsistency () override |
| void | computeReaction (FloatArray &answer, TimeStep *tStep, int di) |
| void | terminate (TimeStep *tStep) override |
| void | buildReactionTable (IntArray &restrDofMans, IntArray &restrDofs, IntArray &eqn, TimeStep *tStep, int di) |
| void | updateInternalRHS (FloatArray &answer, TimeStep *tStep, Domain *d, FloatArray *eNorm) override |
| void | showSparseMtrxStructure (int type, oofegGraphicContext &gc, TimeStep *tStep) override |
| EngngModel (int i, EngngModel *_master=NULL) | |
| virtual | ~EngngModel () |
| Destructor. | |
| EngngModel (const EngngModel &)=delete | |
| EngngModel & | operator= (const EngngModel &)=delete |
| Domain * | giveDomain (int n) |
| void | setDomain (int i, Domain *ptr, bool iDeallocateOld=true) |
| int | giveNumberOfDomains () |
| Returns number of domains in problem. | |
| const std::string & | giveDescription () const |
| const time_t & | giveStartTime () |
| bool | giveSuppressOutput () const |
| virtual ErrorEstimator * | giveDomainErrorEstimator (int n) |
| virtual MaterialInterface * | giveMaterialInterface (int n) |
| void | setNumberOfEquations (int id, int neq) |
| FILE * | giveOutputStream () |
| Returns file descriptor of output file. | |
| std::string | giveOutputBaseFileName () |
| std::string | giveReferenceFileName () |
| void | letOutputBaseFileNameBe (const std ::string &src) |
| ContextOutputMode | giveContextOutputMode () const |
| int | giveContextOutputStep () const |
| void | setContextOutputMode (ContextOutputMode contextMode) |
| void | setUDContextOutputMode (int cStep) |
| double | giveDeltaT () |
| Returns time step size from the time step controlelr. | |
| void | setDeltaT (double dT) |
| Returns time step size through the time step controlelr. | |
| void | setProblemMode (problemMode pmode) |
| void | setParallelMode (bool newParallelFlag) |
| problemMode | giveProblemMode () const |
| Returns domain mode. | |
| void | setProblemScale (problemScale pscale) |
| problemScale | giveProblemScale () const |
| Returns scale in multiscale simulation. | |
| virtual void | setRenumberFlag () |
| Sets the renumber flag to true. | |
| virtual void | resetRenumberFlag () |
| Sets the renumber flag to false. | |
| double | giveSolutionStepTime () |
| void | giveAnalysisTime (int &rhrs, int &rmin, int &rsec, int &uhrs, int &umin, int &usec) |
| void | terminateAnalysis () |
| virtual void | restartYourself (TimeStep *tS) |
| virtual void | doStepOutput (TimeStep *tStep) |
| void | saveStepContext (TimeStep *tStep, ContextMode mode) |
| virtual void | initializeYourself (TimeStep *tStep) |
| virtual int | initializeAdaptive (int tStepNumber) |
| virtual int | giveNumberOfDomainEquations (int di, const UnknownNumberingScheme &num) |
| virtual FieldPtr | giveField (FieldType key, TimeStep *) |
| virtual FieldPtr | giveField (InternalStateType key, TimeStep *) |
| EngngModel * | giveMasterEngngModel () |
| Returns the master engnmodel. | |
| virtual double | giveLoadLevel () |
| Returns the current load level. | |
| virtual double | giveEigenValue (int eigNum) |
| Only relevant for eigen value analysis. Otherwise returns zero. | |
| virtual void | setActiveVector (int i) |
| Only relevant for eigen value analysis. Otherwise does noting. | |
| int | updateSharedDofManagers (FloatArray &answer, const UnknownNumberingScheme &s, int ExchangeTag) |
| int | exchangeRemoteElementData (int ExchangeTag) |
| virtual int | giveCurrentNumberOfIterations () |
| MPI_Comm | giveParallelComm () |
| Returns the communication object of reciever. | |
| int | packRemoteElementData (ProcessCommunicator &processComm) |
| int | unpackRemoteElementData (ProcessCommunicator &processComm) |
| int | packDofManagers (ArrayWithNumbering *src, ProcessCommunicator &processComm) |
| int | unpackDofManagers (ArrayWithNumbering *dest, ProcessCommunicator &processComm) |
| ProblemCommunicator * | giveProblemCommunicator (EngngModelCommType t) |
| void | initializeCommMaps (bool forceInit=false) |
| virtual int | instanciateYourself (DataReader &dr, InputRecord &ir, const char *outFileName, const char *desc) |
| void | Instanciate_init () |
| int | instanciateDomains (DataReader &dr) |
| Instanciate problem domains by calling their instanciateYourself() service. | |
| int | instanciateMetaSteps (DataReader &dr) |
| Instanciate problem meta steps by calling their instanciateYourself() service. | |
| virtual int | instanciateDefaultMetaStep (InputRecord &ir) |
| Instanciate default metastep, if nmsteps is zero. | |
| virtual void | updateAttributes (MetaStep *mStep) |
| void | initMetaStepAttributes (MetaStep *mStep) |
| MetaStep * | giveCurrentMetaStep () |
| Returns current meta step. | |
| virtual TimeStep * | giveCurrentStep (bool force=false) |
| virtual void | adaptTimeStep (double nIter) |
| virtual TimeStep * | givePreviousStep (bool force=false) |
| virtual void | preInitializeNextStep () |
| Does a pre-initialization of the next time step (implement if necessarry). | |
| virtual TimeStep * | giveSolutionStepWhenIcApply (bool force=false) |
| virtual int | giveNumberOfFirstStep (bool force=false) |
| int | giveNumberOfMetaSteps () |
| Return number of meta steps. | |
| MetaStep * | giveMetaStep (int i) |
| Returns the i-th meta step. | |
| int | giveNumberOfSteps (bool force=false) |
| virtual double | giveEndOfTimeOfInterest () |
| Returns end of time interest (time corresponding to end of time integration). | |
| int | giveNumberOfTimeStepWhenIcApply () |
| Returns the time step number, when initial conditions should apply. | |
| ExportModuleManager * | giveExportModuleManager () |
| Returns receiver's export module manager. | |
| EngngModelTimer * | giveTimer () |
| Returns reference to receiver timer (EngngModelTimer). | |
| virtual double | giveInitialTime () |
| return time at the begining of analysis | |
| virtual double | giveFinalTime () |
| virtual int | giveNewEquationNumber (int domain, DofIDItem) |
| virtual int | giveNewPrescribedEquationNumber (int domain, DofIDItem) |
| std::string | giveContextFileName (int tStepNumber, int stepVersion) const |
| std::string | giveDomainFileName (int domainNum, int domainSerNum) const |
| virtual void | updateComponent (TimeStep *tStep, NumericalCmpn cmpn, Domain *d) |
| virtual void | initForNewIteration (Domain *d, TimeStep *tStep, int iterationNumber, const FloatArray &solution) |
| virtual void | updateSolution (FloatArray &solutionVector, TimeStep *tStep, Domain *d) |
| virtual void | updateMatrix (SparseMtrx &mat, TimeStep *tStep, Domain *d) |
| virtual void | initStepIncrements () |
| virtual int | forceEquationNumbering (int i) |
| virtual int | forceEquationNumbering () |
| virtual int | requiresUnknownsDictionaryUpdate () |
| virtual bool | requiresEquationRenumbering (TimeStep *tStep) |
| virtual void | updateDofUnknownsDictionary (DofManager *, TimeStep *) |
| virtual int | giveUnknownDictHashIndx (ValueModeType mode, TimeStep *tStep) |
| virtual bool | newDofHandling () |
| virtual ParallelContext * | giveParallelContext (int n) |
| virtual void | initParallelContexts () |
| virtual void | assemble (SparseMtrx &answer, TimeStep *tStep, const MatrixAssembler &ma, const UnknownNumberingScheme &s, Domain *domain) |
| virtual void | assemble (SparseMtrx &answer, TimeStep *tStep, const MatrixAssembler &ma, const UnknownNumberingScheme &r_s, const UnknownNumberingScheme &c_s, Domain *domain) |
| void | assembleVector (FloatArray &answer, TimeStep *tStep, const VectorAssembler &va, ValueModeType mode, const UnknownNumberingScheme &s, Domain *domain, FloatArray *eNorms=NULL) |
| void | assembleVectorFromDofManagers (FloatArray &answer, TimeStep *tStep, const VectorAssembler &va, ValueModeType mode, const UnknownNumberingScheme &s, Domain *domain, FloatArray *eNorms=NULL) |
| void | assembleVectorFromElements (FloatArray &answer, TimeStep *tStep, const VectorAssembler &va, ValueModeType mode, const UnknownNumberingScheme &s, Domain *domain, FloatArray *eNorms=NULL) |
| void | assembleVectorFromBC (FloatArray &answer, TimeStep *tStep, const VectorAssembler &va, ValueModeType mode, const UnknownNumberingScheme &s, Domain *domain, FloatArray *eNorms=NULL) |
| void | assembleExtrapolatedForces (FloatArray &answer, TimeStep *tStep, CharType type, Domain *domain) |
| void | assemblePrescribedExtrapolatedForces (FloatArray &answer, TimeStep *tStep, CharType type, Domain *domain) |
| virtual int | checkProblemConsistency () |
| virtual void | init () |
| virtual void | printOutputAt (FILE *file, TimeStep *tStep, const IntArray &nodeSets, const IntArray &elementSets) |
| void | outputNodes (FILE *file, Domain &domain, TimeStep *tStep, int setNum) |
| void | outputElements (FILE *file, Domain &domain, TimeStep *tStep, int setNum) |
| void | printYourself () |
| Prints state of receiver. Useful for debugging. | |
| virtual void | printDofOutputAt (FILE *stream, Dof *iDof, TimeStep *tStep) |
| virtual int | useNonlocalStiffnessOption () |
| Returns nonzero if nonlocal stiffness option activated. | |
| bool | isParallel () const |
| Returns true if receiver in parallel mode. | |
| int | giveRank () const |
| Returns domain rank in a group of collaborating processes (0..groupSize-1). | |
| int | giveNumberOfProcesses () const |
| Returns the number of collaborating processes. | |
| EngngModelContext * | giveContext () |
| Context requesting service. | |
| virtual int | giveNumberOfSlaveProblems () |
| Returns number of slave problems. | |
| virtual EngngModel * | giveSlaveProblem (int i) |
| Returns i-th slave problem. | |
| virtual bool | giveEquationScalingFlag () |
| Returns the Equation scaling flag, which is used to indicate that governing equation(s) are scaled, or non-dimensionalized. | |
| virtual double | giveVariableScale (VarScaleType varId) |
| Returns the scale factor for given variable type. | |
| virtual void | balanceLoad (TimeStep *tStep) |
| virtual LoadBalancer * | giveLoadBalancer () |
| virtual LoadBalancerMonitor * | giveLoadBalancerMonitor () |
| void | initParallel () |
| Request domain rank and problem size. | |
| EngngModel * | giveEngngModel () |
| Returns reference to itself -> required by communicator.h. | |
| TimeStepController * | giveTimeStepController () |
| Returns the time step controller. | |
| virtual void | drawYourself (oofegGraphicContext &gc) |
| virtual void | drawElements (oofegGraphicContext &gc) |
| virtual void | drawNodes (oofegGraphicContext &gc) |
| std::string | errorInfo (const char *func) const |
| Returns string for prepending output (used by error reporting macros). | |
Protected Attributes | |
| SparseMtrx * | stiffnessMatrix |
| FloatArray | loadVector |
| FloatArray | displacementVector |
| LinSystSolverType | solverType |
| SparseMtrxType | sparseMtrxType |
| SparseLinearSystemNM * | nMethod |
| Numerical method used to solve the problem. | |
| QuasicontinuumNumberingscheme | qcEquationNumbering |
| int | initFlag |
| int | qcApproach |
| int | homogenizationMtrxType |
| int | generateParticles |
| int | generateLinks |
| int | generateInterpolationElements |
| int | interpolationElementsMaterialNumber |
| double | defaultT3DMeshSize |
| std::string | t3dFileName |
| std::vector< bool > | activatedElementList |
| std::vector< bool > | activatedNodeList |
| std::vector< IntArray > | interpolationMeshNodes |
| int | numberOfIntepolationElements |
| QCFullsolveddomain | Fullsolveddomain |
| FloatArray | FullSolvedDomainNodes |
| FloatArray | FullSolvedDomainElements |
| FloatArray | FullSolvedDomainRadius |
| FloatArray | FullSolvedDomainBox |
| Protected Attributes inherited from oofem::LinearStatic | |
| std ::unique_ptr< SparseMtrx > | stiffnessMatrix |
| FloatArray | loadVector |
| FloatArray | displacementVector |
| LinSystSolverType | solverType |
| SparseMtrxType | sparseMtrxType |
| std ::unique_ptr< SparseLinearSystemNM > | nMethod |
| Numerical method used to solve the problem. | |
| int | initFlag |
| EModelDefaultEquationNumbering | equationNumbering |
| Protected Attributes inherited from oofem::StructuralEngngModel | |
| StateCounterType | internalVarUpdateStamp |
| FloatArray | internalForcesEBENorm |
| Norm of nodal internal forces evaluated on element by element basis (squared). | |
| Protected Attributes inherited from oofem::EngngModel | |
| int | ndomains |
| Number of receiver domains. | |
| std ::vector< std ::unique_ptr< Domain > > | domainList |
| List of problem domains. | |
| int | numberOfSteps |
| Total number of time steps. | |
| int | numberOfEquations |
| Total number of equation in current time step. | |
| int | numberOfPrescribedEquations |
| Total number or prescribed equations in current time step. | |
| IntArray | domainNeqs |
| Number of equations per domain. | |
| IntArray | domainPrescribedNeqs |
| Number of prescribed equations per domain. | |
| bool | renumberFlag |
| Renumbering flag (renumbers equations after each step, necessary if Dirichlet BCs change). | |
| bool | profileOpt |
| Profile optimized numbering flag (using Sloan's algorithm). | |
| int | equationNumberingCompleted |
| Equation numbering completed flag. | |
| int | nMetaSteps |
| Number of meta steps. | |
| std ::vector< MetaStep > | metaStepList |
| List of problem metasteps. | |
| std ::unique_ptr< TimeStep > | stepWhenIcApply |
| Solution step when IC (initial conditions) apply. | |
| std ::unique_ptr< TimeStep > | currentStep |
| Current time step. | |
| std ::unique_ptr< TimeStep > | previousStep |
| Previous time step. | |
| int | number |
| Receivers id. | |
| std::string | dataOutputFileName |
| Path to output stream. | |
| std::string | coreOutputFileName |
| String with core output file name. | |
| FILE * | outputStream |
| Output stream. | |
| std::string | referenceFileName |
| String with reference file name. | |
| ContextOutputMode | contextOutputMode |
| Domain context output mode. | |
| int | contextOutputStep |
| ExportModuleManager | exportModuleManager |
| Export module manager. | |
| InitModuleManager | initModuleManager |
| Initialization module manager. | |
| MonitorManager | monitorManager |
| Monitor manager. | |
| problemMode | pMode |
| Domain mode. | |
| problemScale | pScale |
| Multiscale mode. | |
| time_t | startTime |
| Solution start time. | |
| EngngModel * | master |
| Master e-model; if defined receiver is in maintained (slave) mode. | |
| EngngModelContext * | context |
| Context. | |
| EngngModelTimer | timer |
| E-model timer. | |
| int | parallelFlag |
| Flag indicating that the receiver runs in parallel. | |
| enum fMode | nonLinFormulation |
| Type of non linear formulation (total or updated formulation). | |
| std::unique_ptr< ErrorEstimator > | defaultErrEstimator |
| Error estimator. Useful for adaptivity, or simply printing errors output. | |
| std::unique_ptr< TimeStepController > | timeStepController |
| Time Step controller is responsible for collecting data from analysis, elements, and materials, and select the appropriate timestep size for the next step, or reduce the step in case of convergence problems. | |
| int | rank |
| Domain rank in a group of collaborating processes (0..groupSize-1). | |
| int | numProcs |
| Total number of collaborating processes. | |
| int | nonlocalExt |
| Flag indicating if nonlocal extension active, which will cause data to be sent between shared elements before computing the internal forces. | |
| char | processor_name [PROCESSOR_NAME_LENGTH] |
| Processor name. | |
| MPI_Comm | comm |
| Communication object for this engineering model. | |
| std::unique_ptr< LoadBalancer > | lb |
| Load Balancer. | |
| std::unique_ptr< LoadBalancerMonitor > | lbm |
| bool | loadBalancingFlag |
| If set to true, load balancing is active. | |
| bool | force_load_rebalance_in_first_step |
| Debug flag forcing load balancing after first step. | |
| CommunicatorBuff * | commBuff |
| Common Communicator buffer. | |
| ProblemCommunicator * | communicator |
| Communicator. | |
| ProblemCommunicator * | nonlocCommunicator |
| NonLocal Communicator. Necessary when nonlocal constitutive models are used. | |
| std ::vector< ParallelContext > | parallelContextList |
| List where parallel contexts are stored. | |
| bool | suppressOutput |
| Flag for suppressing output to file. | |
| std::string | simulationDescription |
Additional Inherited Members | |
| Public Types inherited from oofem::EngngModel | |
| enum | EngngModel_UpdateMode { EngngModel_Unknown_Mode , EngngModel_SUMM_Mode , EngngModel_SET_Mode } |
| enum | EngngModelCommType { PC_default , PC_nonlocal } |
| enum | InitialGuess { IG_None = 0 , IG_Tangent = 1 } |
| Protected Types inherited from oofem::EngngModel | |
| enum | { InternalForcesExchangeTag , MassExchangeTag , LoadExchangeTag , ReactionExchangeTag , RemoteElementExchangeTag } |
| Message tags. More... | |
| Protected Member Functions inherited from oofem::StructuralEngngModel | |
| void | printReactionForces (TimeStep *tStep, int id, FILE *out) |
| virtual void | computeExternalLoadReactionContribution (FloatArray &reactions, TimeStep *tStep, int di) |
| void | updateInternalState (TimeStep *tStep) |
| void | printOutputAt (FILE *file, TimeStep *tStep) override |
| virtual void | packMigratingData (TimeStep *tStep) |
| virtual void | unpackMigratingData (TimeStep *tStep) |
This class implements linear static engineering problem. Multiple loading works only if linear elastic material (such as isoLE) is used. (Other non-linear materials keep load history, so such multiple loading will cause that next step will be assumed as new load increment, not the total new load). Because they always compute real stresses according to reached strain state, they are not able to respond to linear analysis.
Solution of this problem is series of loading cases, maintained as sequence of time-steps. This solution is in form of linear equation system Ax=b Tasks:
Definition at line 83 of file qclinearstatic.h.
| oofem::QClinearStatic::QClinearStatic | ( | int | i, |
| EngngModel * | master = nullptr ) |
Definition at line 76 of file qclinearstatic.C.
References displacementVector, oofem::LinearStatic::LinearStatic(), and loadVector.
|
virtual |
Definition at line 81 of file qclinearstatic.C.
|
virtual |
Definition at line 655 of file qclinearstatic.C.
References oofem::Element::computeVolumeAreaOrLength(), oofem::CS_Thickness, oofem::CrossSection::give(), oofem::Element::giveCrossSection(), oofem::Domain::giveElement(), oofem::Element::giveNumberOfDofManagers(), oofem::Domain::giveNumberOfElements(), oofem::Domain::giveNumberOfSpatialDimensions(), and OOFEM_ERROR.
Referenced by postInitialize().
|
virtual |
Definition at line 435 of file qclinearstatic.C.
References generateInterpolationElements, generateInterpolationMesh(), oofem::EngngModel::giveDomain(), interpolationMeshNodes, and loadInterpolationMesh().
Referenced by postInitialize().
|
virtual |
Definition at line 693 of file qclinearstatic.C.
References oofem::FloatArray::at(), oofem::distance(), oofem::DofManager::giveCoordinates(), oofem::Domain::giveDofManager(), oofem::Domain::giveNumberOfDofManagers(), and OOFEM_ERROR.
Referenced by transformMeshToParticles().
Definition at line 449 of file qclinearstatic.C.
References oofem::T3DInterface::createQCInterpolationMesh(), defaultT3DMeshSize, generateInterpolationElements, oofem::EngngModel::giveDomain(), OOFEM_ERROR, t3dFileName, and transformMeshToParticles().
Referenced by createInterpolationMeshNodes().
|
inlineoverridevirtual |
Returns class name of the receiver.
Reimplemented from oofem::LinearStatic.
Definition at line 138 of file qclinearstatic.h.
|
inlineoverridevirtual |
Reimplemented from oofem::LinearStatic.
Definition at line 167 of file qclinearstatic.h.
|
inlineoverridevirtual |
Indicates type of non linear computation (total or updated formulation). This is used for example on Nodal level to update coordinates if updated formulation is done, or on element level, when non linear contributions are computed.
Reimplemented from oofem::LinearStatic.
Definition at line 139 of file qclinearstatic.h.
References oofem::TL.
|
virtual |
Returns Fullsolved domain to which receiver is associated.
Definition at line 716 of file qclinearstatic.C.
References Fullsolveddomain.
|
inlineoverridevirtual |
Reimplemented from oofem::LinearStatic.
Definition at line 137 of file qclinearstatic.h.
References _IFT_QClinearStatic_Name.
|
inlinevirtual |
Definition at line 159 of file qclinearstatic.h.
References qcApproach.
Referenced by oofem::qcNode::postInitialize().
|
overridevirtual |
Initializes receiver according to object description in input reader. InitString 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.
Reimplemented from oofem::LinearStatic.
Definition at line 87 of file qclinearstatic.C.
References _IFT_QuasiContinuum_approach, _IFT_QuasiContinuum_generate_Interpolation_Elements, _IFT_QuasiContinuum_generate_Links, _IFT_QuasiContinuum_generate_Particles, _IFT_QuasiContinuum_interp_Mat_Number, _IFT_QuasiContinuum_mtrx_type, _IFT_QuasiContinuum_t3d_File_Name, _IFT_QuasiContinuum_T3D_Interpolation_Mesh_size, oofem::EngngModel::commBuff, oofem::EngngModel::communicator, defaultT3DMeshSize, Fullsolveddomain, generateInterpolationElements, oofem::GeometryGenerator::generateLinks(), generateLinks, oofem::GeometryGenerator::generateParticles(), generateParticles, oofem::EngngModel::giveNumberOfProcesses(), oofem::EngngModel::giveRank(), homogenizationMtrxType, initializeFullSolvedDomain(), oofem::GeometryGenerator::initializeLinkGenerator(), oofem::GeometryGenerator::initializeParticleGenerator(), interpolationElementsMaterialNumber, IR_GIVE_FIELD, IR_GIVE_OPTIONAL_FIELD, oofem::EngngModel::isParallel(), oofem::GeometryGenerator::loadLinks(), oofem::GeometryGenerator::loadParticles(), OOFEM_ERROR, qcApproach, and t3dFileName.
|
virtual |
Definition at line 290 of file qclinearstatic.C.
References _IFT_FullSolvedDomain_box, _IFT_FullSolvedDomain_elements, _IFT_FullSolvedDomain_nodes, _IFT_FullSolvedDomain_radius, FullSolvedDomainBox, FullSolvedDomainElements, FullSolvedDomainNodes, FullSolvedDomainRadius, IR_GIVE_OPTIONAL_FIELD, and OOFEM_ERROR.
Referenced by initializeFrom().
|
inlineoverridevirtual |
Reimplemented from oofem::EngngModel.
Definition at line 162 of file qclinearstatic.h.
References activatedElementList, and oofem::FEMComponent::giveNumber().
|
inlineoverridevirtual |
Reimplemented from oofem::EngngModel.
Definition at line 161 of file qclinearstatic.h.
References activatedElementList.
Definition at line 500 of file qclinearstatic.C.
References oofem::T3DInterface::createQCInterpolationMesh(), oofem::EngngModel::giveDomain(), t3dFileName, and transformMeshToParticles().
Referenced by createInterpolationMeshNodes().
|
virtual |
Definition at line 309 of file qclinearstatic.C.
References oofem::FloatArray::at(), oofem::FloatArray::computeNorm(), FullSolvedDomainBox, FullSolvedDomainElements, FullSolvedDomainNodes, FullSolvedDomainRadius, oofem::DofManager::giveCoordinates(), oofem::FEMComponent::giveNumber(), OOFEM_ERROR, and oofem::FloatArray::resize().
Referenced by oofem::qcNode::initializeAsRepnode(), setQCNodeType(), and updateNodeTypes().
|
overridevirtual |
Performs post-initialization for all the problem contents (which is called after initializeFrom). Currently, it calls Domain::postInitialize for all problem domains.
Reimplemented from oofem::EngngModel.
Definition at line 184 of file qclinearstatic.C.
References activatedElementList, activatedNodeList, oofem::Quasicontinuum::addCrosssectionToInterpolationElements(), oofem::Quasicontinuum::applyApproach1(), oofem::Quasicontinuum::applyApproach2(), oofem::Quasicontinuum::applyApproach3(), computeTotalVolumeOfInterpolationMesh(), oofem::Quasicontinuum::createInterpolationElements(), createInterpolationMeshNodes(), generateInterpolationElements, oofem::EngngModel::giveDomain(), homogenizationMtrxType, interpolationElementsMaterialNumber, interpolationMeshNodes, numberOfIntepolationElements, OOFEM_ERROR, qcApproach, oofem::Quasicontinuum::setNoDimensions(), setRepNodesInVerticesOfInterpolationMesh(), and oofem::Quasicontinuum::setupInterpolationMesh().
| void oofem::QClinearStatic::setActivatedElementList | ( | IntArray | elemList | ) |
Definition at line 737 of file qclinearstatic.C.
References activatedElementList, oofem::IntArray::at(), and oofem::IntArray::giveSize().
Referenced by oofem::Quasicontinuum::applyApproach2(), and oofem::Quasicontinuum::applyApproach3().
Definition at line 723 of file qclinearstatic.C.
References activatedNodeList, oofem::IntArray::at(), oofem::Domain::giveNode(), oofem::Node::giveQcNodeType(), and oofem::IntArray::giveSize().
Referenced by oofem::Quasicontinuum::applyApproach2(), and oofem::Quasicontinuum::applyApproach3().
|
virtual |
Definition at line 397 of file qclinearstatic.C.
References oofem::Domain::giveDofManager(), oofem::Domain::giveNumberOfDofManagers(), nodeInFullSolvedDomainTest(), OOFEM_WARNING, and oofem::qcNode::setAsHanging().
|
virtual |
Definition at line 372 of file qclinearstatic.C.
References oofem::Domain::giveElement(), oofem::DofManager::giveGlobalNumber(), oofem::Element::giveGlobalNumber(), oofem::Element::giveInternalDofManager(), oofem::Element::giveNumberOfDofManagers(), oofem::Domain::giveNumberOfElements(), numberOfIntepolationElements, OOFEM_WARNING, and oofem::qcNode::setAsRepnode().
Referenced by postInitialize().
|
overridevirtual |
Starts solution process. Implementation should invoke for each time step solveYourselfAt function with time step as parameter. Time steps are created using giveNextStep function (this will set current time step to newly created, and updates previous step).
Reimplemented from oofem::LinearStatic.
Definition at line 273 of file qclinearstatic.C.
|
overridevirtual |
Solves problem for given time step. Should assemble characteristic matrices and vectors if necessary and solve problem using appropriate numerical method. After finishing solution, this->updateYourself function for updating solution state and then this->terminate function (for updating nodal and element values) should be called.
Reimplemented from oofem::LinearStatic.
Definition at line 279 of file qclinearstatic.C.
References activatedNodeList, oofem::EngngModel::giveDomain(), and qcEquationNumbering.
|
virtual |
Definition at line 529 of file qclinearstatic.C.
References oofem::IntArray::at(), findNearestParticle(), oofem::DofManager::giveCoordinate(), oofem::DofManager::giveCoordinates(), oofem::Domain::giveDofManager(), oofem::FEMComponent::giveNumber(), oofem::qcNode::giveQcNodeType(), OOFEM_ERROR, OOFEM_WARNING, oofem::IntArray::resize(), and oofem::qcNode::setAsRepnode().
Referenced by generateInterpolationMesh(), and loadInterpolationMesh().
|
virtual |
Definition at line 414 of file qclinearstatic.C.
References oofem::Domain::giveDofManager(), oofem::Domain::giveNumberOfDofManagers(), nodeInFullSolvedDomainTest(), OOFEM_WARNING, oofem::qcNode::setAsHanging(), and oofem::qcNode::setAsRepnode().
|
protected |
Definition at line 108 of file qclinearstatic.h.
Referenced by isElementActivated(), isElementActivated(), postInitialize(), and setActivatedElementList().
|
protected |
Definition at line 109 of file qclinearstatic.h.
Referenced by postInitialize(), setActivatedNodeList(), and solveYourselfAt().
|
protected |
Definition at line 105 of file qclinearstatic.h.
Referenced by generateInterpolationMesh(), and initializeFrom().
|
protected |
Definition at line 88 of file qclinearstatic.h.
Referenced by QClinearStatic().
|
protected |
Definition at line 118 of file qclinearstatic.h.
Referenced by giveFullSolvedDomain(), and initializeFrom().
|
protected |
Definition at line 123 of file qclinearstatic.h.
Referenced by initializeFullSolvedDomain(), and nodeInFullSolvedDomainTest().
|
protected |
Definition at line 121 of file qclinearstatic.h.
Referenced by initializeFullSolvedDomain(), and nodeInFullSolvedDomainTest().
|
protected |
Definition at line 120 of file qclinearstatic.h.
Referenced by initializeFullSolvedDomain(), and nodeInFullSolvedDomainTest().
|
protected |
Definition at line 122 of file qclinearstatic.h.
Referenced by initializeFullSolvedDomain(), and nodeInFullSolvedDomainTest().
|
protected |
Definition at line 103 of file qclinearstatic.h.
Referenced by createInterpolationMeshNodes(), generateInterpolationMesh(), initializeFrom(), and postInitialize().
|
protected |
Definition at line 102 of file qclinearstatic.h.
Referenced by initializeFrom().
|
protected |
Definition at line 101 of file qclinearstatic.h.
Referenced by initializeFrom().
|
protected |
Definition at line 100 of file qclinearstatic.h.
Referenced by initializeFrom(), and postInitialize().
|
protected |
Definition at line 97 of file qclinearstatic.h.
|
protected |
Definition at line 104 of file qclinearstatic.h.
Referenced by initializeFrom(), and postInitialize().
|
protected |
Definition at line 115 of file qclinearstatic.h.
Referenced by createInterpolationMeshNodes(), and postInitialize().
|
protected |
Definition at line 87 of file qclinearstatic.h.
Referenced by QClinearStatic().
|
protected |
Numerical method used to solve the problem.
Definition at line 93 of file qclinearstatic.h.
|
protected |
Definition at line 116 of file qclinearstatic.h.
Referenced by postInitialize(), and setRepNodesInVerticesOfInterpolationMesh().
|
protected |
Definition at line 99 of file qclinearstatic.h.
Referenced by giveQcApproachNumber(), initializeFrom(), and postInitialize().
|
protected |
Definition at line 95 of file qclinearstatic.h.
Referenced by solveYourselfAt().
|
protected |
Definition at line 90 of file qclinearstatic.h.
|
protected |
Definition at line 91 of file qclinearstatic.h.
|
protected |
Definition at line 86 of file qclinearstatic.h.
|
protected |
Definition at line 106 of file qclinearstatic.h.
Referenced by generateInterpolationMesh(), initializeFrom(), and loadInterpolationMesh().