Itasca C++ Interface
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Classes | Public Member Functions | List of all members
sel::ISELList Class Referenceabstract

Interface to the global list of all structural elements. More...

#include <isellist.h>

Classes

struct  SELInfo
 

Public Member Functions

virtual const IThinggetIThing () const =0
 returns a const IThing pointer
 
virtual IThinggetIThing ()=0
 returns a IThing pointer
 
virtual const IContainergetIContainer () const =0
 Returns a const pointer to the IContainer interface representing the global list of structural elements.
 
virtual IContainergetIContainer ()=0
 Returns a pointer to the IContainer interface representing the global list of structural elements.
 
virtual const ISELgetFirstSEL () const =0
 
virtual ISELgetFirstSEL ()=0
 
virtual const ISELfindSELWithID (quint64 id) const =0
 Given a strucutal elemnent id, returns a const pointer to the structural element.
 
virtual const ISELfindSEL (const DVect &pos, TType type=0, double radius=limits< double >::max(), bool update=true) const =0
 
virtual ISELfindSEL (const DVect &pos, TType type=0, double radius=limits< double >::max(), bool update=true)=0
 
virtual QString getKeywordFromType (TType type) const =0
 Returns the general SEL type.
 
virtual QList< const ISEL * > getAllTypes () const =0
 
virtual const ISELgetRegisteredType (TType type) const =0
 
virtual quint32 getNumberRegistered () const =0
 
virtual quint64 getNextCollectionID () const =0
 
virtual uint getGroupNotice () const =0
 Returns the tag for the structural element group change notice.
 
virtual uint getPropertyNotice () const =0
 Returns the tag for the structural element property change notice.
 
virtual uint getStateNotice () const =0
 Returns the tag for the structural element state change notice.
 
virtual uint getForceNotice () const =0
 Returns the tag for the structural element applied force change notice.
 
virtual uint getFISHNotice () const =0
 Returns the tag for the structural element extra variable change notice.
 
virtual uint getPressureNotice () const =0
 Returns the tag for the structural element pressure change notice.
 
virtual uint getHideNotice () const =0
 Returns the tag for the structural element hide change notice.
 
virtual uint getSelectNotice () const =0
 Returns the tag for the structural element select change notice.
 
virtual uint claimResultantStorage ()=0
 
virtual void releaseResultantStorage (uint index)=0
 Releases the storage of stress resultant data index, so it can be reused later.
 
virtual void markItemsInRange (uint index, const IRange *ran, TType type)=0
 Marks the SEL element and nodes that will be used in subsequent callls that check the IRange::isIn function.
 
virtual bool assignSurfaceSystem (uint index, const DVect3 &x, bool exceptionsAllowed, QString *error, TType type)=0
 
virtual bool recoverStressResultants (uint index, bool exceptionsAllowed, QString *error, TType type)=0
 
virtual bool recoverStress (uint index, const double &depth, bool exceptionsAllowed, QString *error, TType type)=0
 
virtual void setForceUpdate (bool b)=0
 
virtual bool getWasUpdated () const =0
 

Detailed Description

Interface to the global list of all structural elements.

Member Function Documentation

◆ assignSurfaceSystem()

virtual bool sel::ISELList::assignSurfaceSystem ( uint  index,
const DVect3 &  x,
bool  exceptionsAllowed,
QString *  error,
TType  type 
)
pure virtual

Establishes the local coordinate system used to resolve the stress quantities. Should be called after markItemsInFilter. Parameter X is the value used to match to local X. Retunrs false on error, probably an element parallel to X.

◆ claimResultantStorage()

virtual uint sel::ISELList::claimResultantStorage ( )
pure virtual

Stress resultant calculation logic Claims an index for the storage of stress resultant data.

◆ findSEL() [1/2]

virtual const ISEL* sel::ISELList::findSEL ( const DVect pos,
TType  type = 0,
double  radius = limits< double >::max(),
bool  update = true 
) const
pure virtual

Returns a const pointer to the closest structural element to position of type sel_type. Judges by element centroid. Will check all types of elements if sel_type=0. Returns nullptr if the element is not found.

◆ findSEL() [2/2]

virtual ISEL* sel::ISELList::findSEL ( const DVect pos,
TType  type = 0,
double  radius = limits< double >::max(),
bool  update = true 
)
pure virtual

Returns a pointer to the structural element of type sel_type closest to position. Judges by element centroid. Will check all types of elements if sel_type=0. Returns 0 if the element is not found.

◆ getFirstSEL() [1/2]

virtual const ISEL* sel::ISELList::getFirstSEL ( ) const
pure virtual

Return a const pointer to the first structural element stored.
ISEL::getNext can be used to iterate on the list.

◆ getFirstSEL() [2/2]

virtual ISEL* sel::ISELList::getFirstSEL ( )
pure virtual

Return a pointer to the first structural element stored.
ISEL::getNext can be used to iterate on the list.

◆ recoverStress()

virtual bool sel::ISELList::recoverStress ( uint  index,
const double &  depth,
bool  exceptionsAllowed,
QString *  error,
TType  type 
)
pure virtual

This function calculates sxx,syy,szz,sxz,sxy,sxz,smin,smax and sint. Called after recoverStressResultants if a stress quantity is required.

◆ recoverStressResultants()

virtual bool sel::ISELList::recoverStressResultants ( uint  index,
bool  exceptionsAllowed,
QString *  error,
TType  type 
)
pure virtual

This function calculates stress resultants quantities (mx,my,mxy,nx,ny,nxy,qx,qy). This function must be called after calling functions markItemsInFilter and assignSurfaceSystem.


The documentation for this class was generated from the following file: