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

The element interface corresponding to HuertaErrorEstimator. More...

#include <huertaerrorestimator.h>

+ Inheritance diagram for oofem::HuertaErrorEstimatorInterface:
+ Collaboration diagram for oofem::HuertaErrorEstimatorInterface:

Public Types

enum  SetupMode { CountMode = 0, NodeMode = 1, ElemMode = 2, BCMode = 3 }
 Mode for problem setup. More...
 

Public Member Functions

 HuertaErrorEstimatorInterface ()
 Constructor. More...
 
virtual void HuertaErrorEstimatorI_setupRefinedElementProblem (RefinedElement *refinedElement, int level, int nodeId, IntArray &localNodeIdArray, IntArray &globalNodeIdArray, HuertaErrorEstimatorInterface::SetupMode mode, TimeStep *tStep, int &localNodeId, int &localElemId, int &localBcId, IntArray &controlNode, IntArray &controlDof, HuertaErrorEstimator::AnalysisMode aMode)=0
 
virtual void HuertaErrorEstimatorI_computeNmatrixAt (GaussPoint *gp, FloatMatrix &answer)=0
 
- Public Member Functions inherited from oofem::Interface
 Interface ()
 Constructor. More...
 
virtual ~Interface ()
 
virtual const char * giveClassName () const =0
 

Protected Member Functions

void setupRefinedElementProblem1D (Element *element, RefinedElement *refinedElement, int level, int nodeId, IntArray &localNodeIdArray, IntArray &globalNodeIdArray, HuertaErrorEstimatorInterface::SetupMode mode, TimeStep *tStep, int nodes, FloatArray **corner, FloatArray &midNode, int &localNodeId, int &localElemId, int &localBcId, IntArray &controlNode, IntArray &controlDof, HuertaErrorEstimator::AnalysisMode aMode, const char *edgetype)
 
void setupRefinedElementProblem2D (Element *element, RefinedElement *refinedElement, int level, int nodeId, IntArray &localNodeIdArray, IntArray &globalNodeIdArray, HuertaErrorEstimatorInterface::SetupMode mode, TimeStep *tStep, int nodes, FloatArray **corner, FloatArray *midSide, FloatArray &midNode, int &localNodeId, int &localElemId, int &localBcId, IntArray &controlNode, IntArray &controlDof, HuertaErrorEstimator::AnalysisMode aMode, const char *quadtype)
 
void setupRefinedElementProblem3D (Element *element, RefinedElement *refinedElement, int level, int nodeId, IntArray &localNodeIdArray, IntArray &globalNodeIdArray, HuertaErrorEstimatorInterface::SetupMode mode, TimeStep *tStep, int nodes, FloatArray **corner, FloatArray *midSide, FloatArray *midFace, FloatArray &midNode, int &localNodeId, int &localElemId, int &localBcId, int hexaSideNode[1][3], int hexaFaceNode[1][3], IntArray &controlNode, IntArray &controlDof, HuertaErrorEstimator::AnalysisMode aMode, const char *hexatype)
 

Detailed Description

The element interface corresponding to HuertaErrorEstimator.

It declares necessary services provided by element to be compatible with HuertaErrorEstimator.

Definition at line 230 of file huertaerrorestimator.h.

Member Enumeration Documentation

Mode for problem setup.

Enumerator
CountMode 
NodeMode 
ElemMode 
BCMode 

Definition at line 234 of file huertaerrorestimator.h.

Constructor & Destructor Documentation

oofem::HuertaErrorEstimatorInterface::HuertaErrorEstimatorInterface ( )
inline

Constructor.

Definition at line 238 of file huertaerrorestimator.h.

References oofem::HuertaErrorEstimator::mode.

Member Function Documentation

virtual void oofem::HuertaErrorEstimatorInterface::HuertaErrorEstimatorI_computeNmatrixAt ( GaussPoint gp,
FloatMatrix answer 
)
pure virtual
virtual void oofem::HuertaErrorEstimatorInterface::HuertaErrorEstimatorI_setupRefinedElementProblem ( RefinedElement refinedElement,
int  level,
int  nodeId,
IntArray localNodeIdArray,
IntArray globalNodeIdArray,
HuertaErrorEstimatorInterface::SetupMode  mode,
TimeStep tStep,
int &  localNodeId,
int &  localElemId,
int &  localBcId,
IntArray controlNode,
IntArray controlDof,
HuertaErrorEstimator::AnalysisMode  aMode 
)
pure virtual
void oofem::HuertaErrorEstimatorInterface::setupRefinedElementProblem1D ( Element element,
RefinedElement refinedElement,
int  level,
int  nodeId,
IntArray localNodeIdArray,
IntArray globalNodeIdArray,
HuertaErrorEstimatorInterface::SetupMode  mode,
TimeStep tStep,
int  nodes,
FloatArray **  corner,
FloatArray midNode,
int &  localNodeId,
int &  localElemId,
int &  localBcId,
IntArray controlNode,
IntArray controlDof,
HuertaErrorEstimator::AnalysisMode  aMode,
const char *  edgetype 
)
protected
Todo:
This should change the cross-section number instead of the material number.

Definition at line 1082 of file huertaerrorestimator.C.

References _IFT_BoundaryCondition_Name, _IFT_BoundaryCondition_PrescribedValue, _IFT_DofManager_bc, _IFT_DofManager_dofidmask, _IFT_DofManager_load, _IFT_GeneralBoundaryCondition_timeFunct, _IFT_Node_coords, _IFT_Node_lcs, _IFT_Node_Name, oofem::IntArray::at(), oofem::FloatArray::at(), oofem::FloatMatrix::at(), BCMode, oofem::FloatArray::beProductOf(), oofem::Element::computeLocalCoordinates(), oofem::Element::computeVectorOf(), CountMode, ElemMode, oofem::IntArray::followedBy(), oofem::IntegrationRule::getIntegrationPoint(), oofem::RefinedElement::giveBcDofArray1D(), oofem::Dof::giveBcId(), oofem::Element::giveBodyLoadArray(), oofem::RefinedElement::giveBoundaryFlagArray(), oofem::RefinedElement::giveBoundaryLoadArray1D(), oofem::Element::giveCrossSection(), oofem::Element::giveDefaultIntegrationRulePtr(), oofem::Domain::giveDofManager(), oofem::DofManager::giveDofWithID(), oofem::FEMComponent::giveDomain(), oofem::Element::giveElementDofIDMask(), oofem::RefinedElement::giveFineNodeArray(), oofem::DofManager::giveLoadArray(), oofem::Node::giveLocalCoordinateTriplet(), oofem::GaussPoint::giveMaterialMode(), oofem::Element::giveNode(), oofem::FEMComponent::giveNumber(), oofem::DofManager::giveNumberOfDofs(), oofem::IntArray::giveSize(), oofem::FloatArray::giveSize(), oofem::HuertaErrorEstimator::HEE_linear, oofem::impCSect, oofem::DynamicDataReader::insertInputRecord(), oofem::DataReader::IR_bcRec, oofem::DataReader::IR_dofmanRec, oofem::DataReader::IR_elemRec, oofem::max(), oofem::min(), NodeMode, OOFEM_ERROR, oofem::perCSect, oofem::FloatArray::push_back(), oofem::refinedReader, oofem::DynamicInputRecord::setField(), and oofem::DynamicInputRecord::setRecordKeywordField().

Referenced by oofem::Truss1d::HuertaErrorEstimatorI_setupRefinedElementProblem().

void oofem::HuertaErrorEstimatorInterface::setupRefinedElementProblem2D ( Element element,
RefinedElement refinedElement,
int  level,
int  nodeId,
IntArray localNodeIdArray,
IntArray globalNodeIdArray,
HuertaErrorEstimatorInterface::SetupMode  mode,
TimeStep tStep,
int  nodes,
FloatArray **  corner,
FloatArray midSide,
FloatArray midNode,
int &  localNodeId,
int &  localElemId,
int &  localBcId,
IntArray controlNode,
IntArray controlDof,
HuertaErrorEstimator::AnalysisMode  aMode,
const char *  quadtype 
)
protected

Definition at line 1492 of file huertaerrorestimator.C.

References _IFT_DofManager_bc, _IFT_DofManager_dofidmask, _IFT_Node_lcs, oofem::IntArray::at(), oofem::FloatArray::at(), oofem::FloatMatrix::at(), BCMode, oofem::FloatArray::beProductOf(), oofem::Element::computeLocalCoordinates(), oofem::Element::computeVectorOf(), CountMode, oofem::DofManager_shared, ElemMode, oofem::IntArray::followedBy(), oofem::IntegrationRule::getIntegrationPoint(), oofem::RefinedElement::giveBcDofArray2D(), oofem::Dof::giveBcId(), oofem::Element::giveBodyLoadArray(), oofem::RefinedElement::giveBoundaryFlagArray(), oofem::RefinedElement::giveBoundaryLoadArray2D(), oofem::Element::giveCrossSection(), oofem::Element::giveDefaultIntegrationRulePtr(), oofem::Domain::giveDofManager(), oofem::DofManager::giveDofWithID(), oofem::FEMComponent::giveDomain(), oofem::Element::giveElementDofIDMask(), oofem::RefinedElement::giveFineNodeArray(), oofem::DofManager::giveLoadArray(), oofem::Node::giveLocalCoordinateTriplet(), oofem::GaussPoint::giveMaterialMode(), oofem::Element::giveNode(), oofem::FEMComponent::giveNumber(), oofem::DofManager::giveNumberOfDofs(), oofem::DofManager::giveParallelMode(), oofem::HuertaErrorEstimator::HEE_linear, oofem::DynamicDataReader::insertInputRecord(), oofem::DataReader::IR_bcRec, oofem::DataReader::IR_dofmanRec, oofem::DataReader::IR_elemRec, NodeMode, OOFEM_ERROR, oofem::refinedReader, oofem::DynamicInputRecord::setField(), oofem::GaussPoint::setNaturalCoordinates(), and oofem::DynamicInputRecord::setRecordKeywordField().

Referenced by oofem::PlaneStress2d::HuertaErrorEstimatorI_setupRefinedElementProblem(), oofem::Quad1PlaneStrain::HuertaErrorEstimatorI_setupRefinedElementProblem(), oofem::TrPlaneStrain::HuertaErrorEstimatorI_setupRefinedElementProblem(), and oofem::TrPlaneStress2d::HuertaErrorEstimatorI_setupRefinedElementProblem().

void oofem::HuertaErrorEstimatorInterface::setupRefinedElementProblem3D ( Element element,
RefinedElement refinedElement,
int  level,
int  nodeId,
IntArray localNodeIdArray,
IntArray globalNodeIdArray,
HuertaErrorEstimatorInterface::SetupMode  mode,
TimeStep tStep,
int  nodes,
FloatArray **  corner,
FloatArray midSide,
FloatArray midFace,
FloatArray midNode,
int &  localNodeId,
int &  localElemId,
int &  localBcId,
int  hexaSideNode[1][3],
int  hexaFaceNode[1][3],
IntArray controlNode,
IntArray controlDof,
HuertaErrorEstimator::AnalysisMode  aMode,
const char *  hexatype 
)
protected

Definition at line 2045 of file huertaerrorestimator.C.

References _IFT_DofManager_bc, _IFT_DofManager_dofidmask, _IFT_Node_lcs, oofem::IntArray::at(), oofem::FloatArray::at(), oofem::FloatMatrix::at(), BCMode, oofem::FloatArray::beProductOf(), oofem::Element::computeLocalCoordinates(), oofem::Element::computeVectorOf(), CountMode, oofem::DofManager_shared, ElemMode, oofem::IntArray::followedBy(), oofem::IntegrationRule::getIntegrationPoint(), oofem::RefinedElement::giveBcDofArray3D(), oofem::Dof::giveBcId(), oofem::Element::giveBodyLoadArray(), oofem::RefinedElement::giveBoundaryFlagArray(), oofem::RefinedElement::giveBoundaryLoadArray3D(), oofem::Element::giveCrossSection(), oofem::Element::giveDefaultIntegrationRulePtr(), oofem::Dof::giveDofID(), oofem::Domain::giveDofManager(), oofem::DofManager::giveDofWithID(), oofem::FEMComponent::giveDomain(), oofem::Element::giveElementDofIDMask(), oofem::RefinedElement::giveFineNodeArray(), oofem::DofManager::giveLoadArray(), oofem::Node::giveLocalCoordinateTriplet(), oofem::GaussPoint::giveMaterialMode(), oofem::Element::giveNode(), oofem::FEMComponent::giveNumber(), oofem::DofManager::giveNumberOfDofs(), oofem::DofManager::giveParallelMode(), oofem::HuertaErrorEstimator::HEE_linear, oofem::DynamicDataReader::insertInputRecord(), oofem::DataReader::IR_bcRec, oofem::DataReader::IR_dofmanRec, oofem::DataReader::IR_elemRec, NodeMode, OOFEM_ERROR, oofem::refinedReader, oofem::DynamicInputRecord::setField(), and oofem::DynamicInputRecord::setRecordKeywordField().

Referenced by oofem::LSpace::HuertaErrorEstimatorI_setupRefinedElementProblem(), and oofem::LTRSpace::HuertaErrorEstimatorI_setupRefinedElementProblem().


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