OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
oofem::RefinedElement Class Reference

#include <refinedelement.h>

+ Collaboration diagram for oofem::RefinedElement:

Public Member Functions

 RefinedElement (Domain *d, int elem, int level)
 
 ~RefinedElement ()
 
IntArraygiveFineNodeArray (int node)
 
IntArraygiveBoundaryFlagArray (void)
 
void giveBoundaryFlagArray (int inode, Element *element, IntArray &answer)
 
bool giveBoundaryLoadArray1D (int inode, Element *element, IntArray &boundaryLoadArray)
 
bool giveBoundaryLoadArray2D (int inode, Element *element, std::vector< IntArray > &boundaryLoadList)
 
bool giveBoundaryLoadArray3D (int inode, Element *element, std::vector< IntArray > &boundaryLoadList)
 
bool giveBcDofArray1D (int inode, Element *element, IntArray &sideBcDofId, int &sideNumBc, TimeStep *tStep)
 
bool giveBcDofArray2D (int inode, Element *element, std::vector< IntArray > &sideBcDofIdList, IntArray &sideNumBc, TimeStep *tStep)
 
bool giveBcDofArray3D (int inode, Element *element, std::vector< IntArray > &sideBcDofIdList, IntArray &sideNumBc, std::vector< IntArray > &faceBcDofIdList, IntArray &faceNumBc, TimeStep *tStep)
 

Protected Member Functions

int giveCompatibleBcDofArray (Node *master_node, Node *slave_node, IntArray &dofIDArray, int dofs, IntArray &answer, ValueModeType mode, TimeStep *tStep)
 Extract from dofArray of slave_node those Dofs that have compatible BCs with master_node. More...
 
std::string errorInfo (const char *func) const
 Returns string for prepending output (used by error reporting macros). More...
 

Protected Attributes

int elementId
 
std::vector< IntArrayfineNodeList
 
IntArray boundaryFlag
 

Detailed Description

Definition at line 49 of file refinedelement.h.

Constructor & Destructor Documentation

oofem::RefinedElement::~RefinedElement ( )

Definition at line 75 of file refinedelement.C.

Member Function Documentation

std::string oofem::RefinedElement::errorInfo ( const char *  func) const
protected

Returns string for prepending output (used by error reporting macros).

Definition at line 637 of file refinedelement.C.

References elementId.

Referenced by giveBoundaryFlagArray().

bool oofem::RefinedElement::giveBcDofArray1D ( int  inode,
Element element,
IntArray sideBcDofId,
int &  sideNumBc,
TimeStep tStep 
)
bool oofem::RefinedElement::giveBcDofArray2D ( int  inode,
Element element,
std::vector< IntArray > &  sideBcDofIdList,
IntArray sideNumBc,
TimeStep tStep 
)
bool oofem::RefinedElement::giveBcDofArray3D ( int  inode,
Element element,
std::vector< IntArray > &  sideBcDofIdList,
IntArray sideNumBc,
std::vector< IntArray > &  faceBcDofIdList,
IntArray faceNumBc,
TimeStep tStep 
)
void oofem::RefinedElement::giveBoundaryFlagArray ( int  inode,
Element element,
IntArray answer 
)
bool oofem::RefinedElement::giveBoundaryLoadArray1D ( int  inode,
Element element,
IntArray boundaryLoadArray 
)
bool oofem::RefinedElement::giveBoundaryLoadArray2D ( int  inode,
Element element,
std::vector< IntArray > &  boundaryLoadList 
)
bool oofem::RefinedElement::giveBoundaryLoadArray3D ( int  inode,
Element element,
std::vector< IntArray > &  boundaryLoadList 
)
int oofem::RefinedElement::giveCompatibleBcDofArray ( Node master_node,
Node slave_node,
IntArray dofIDArray,
int  dofs,
IntArray answer,
ValueModeType  mode,
TimeStep tStep 
)
protected

Extract from dofArray of slave_node those Dofs that have compatible BCs with master_node.

Parameters
master_nodeNode to which Dof compatibility will be compared.
slave_nodeNode with original Dofs.
dofIDArrayArray of ids of Dofs of slave_node to chose from.
dofsNumber of Dofs in dofArray.
answerArray of ids of Dofs in dofArray with compatible BCs.
modeMode of Dof values.
tStepActive time step.
Returns
Number of Dofs with compatible BCs.

Definition at line 532 of file refinedelement.C.

References oofem::IntArray::at(), oofem::FloatMatrix::at(), oofem::FloatMatrix::beProductTOf(), oofem::Dof::giveBcId(), oofem::Dof::giveBcValue(), oofem::Dof::giveDofID(), oofem::DofManager::giveDofWithID(), oofem::Node::giveLocalCoordinateTriplet(), oofem::Dof::hasBc(), OOFEM_ERROR, oofem::IntArray::resize(), and oofem::FloatMatrix::zero().

Referenced by giveBcDofArray1D(), giveBcDofArray2D(), giveBcDofArray3D(), and giveBoundaryFlagArray().

Member Data Documentation

IntArray oofem::RefinedElement::boundaryFlag
protected

Definition at line 54 of file refinedelement.h.

Referenced by giveBoundaryFlagArray(), and RefinedElement().

int oofem::RefinedElement::elementId
protected

Definition at line 52 of file refinedelement.h.

Referenced by errorInfo(), and RefinedElement().

std::vector< IntArray > oofem::RefinedElement::fineNodeList
protected

Definition at line 53 of file refinedelement.h.

Referenced by giveFineNodeArray(), and RefinedElement().


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