Itasca C++ Interface
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Public Member Functions | Static Public Member Functions | List of all members
cmodelsxd::ContactModelThermal Class Referenceabstract
Inheritance diagram for cmodelsxd::ContactModelThermal:
cmodelsxd::ContactModel

Public Member Functions

virtual IContactModel * getContactModel ()
 Return the IContactModel pointer.
 
virtual const IContactModel * getContactModel () const
 Return the const IContactModel pointer.
 
virtual bool endPropertyUpdated (const QString &name, const IContactThermal *c)=0
 
virtual bool validate (ContactModelThermalState *state, const double &timestep)=0
 
virtual bool checkActivity (ContactModelThermalState *d) const =0
 
virtual double getActivityDistance () const
 
virtual bool updatePower (ContactModelThermalState *state, const double &timestep)=0
 
virtual DVect2 getTimestepLimits (ContactModelThermalState *, const double &) const
 
virtual double getEffectiveResistance () const
 
virtual void getSphereList (const IContact *con, std::vector< DVect > *pos, std::vector< double > *rad, std::vector< double > *val)
 For contact specific plotting.
 
virtual void getCylinderList (const IContact *con, std::vector< DVect > *bot, std::vector< DVect > *top, std::vector< double > *radlow, std::vector< double > *radhi, std::vector< double > *val)
 For contact specific plotting.
 
- Public Member Functions inherited from cmodelsxd::ContactModel
 ContactModel ()
 Constructor.
 
virtual ~ContactModel ()
 Destructor.
 
virtual ContactModelclone () const =0
 Make a clone of this contact model. Must be implemeted.
 
virtual bool isOKToDelete () const
 Generic implementation - by default it is always OK to delete a contact.
 
virtual void archive (ArchiveStream &)
 Used for save/restore. Important to implement.
 
virtual void copy (const ContactModel *cm)
 Copy the contact model from cm. Must be overridden in derived classes.
 
virtual QString getName () const =0
 
virtual QString getPluginName () const
 By default, the plugin name is the contact model name. Must be implemented in derived class.
 
virtual QString getProperties () const =0
 Returns a comma delimited string that lists the contact model properies. Must be implemented in derived classes.
 
virtual QVariant getProperty (uint i, const IContact *con=0) const =0
 
virtual bool getPropertyGlobal (uint) const
 
virtual int isProperty (const QString &c, Qt::CaseSensitivity cs=Qt::CaseInsensitive) const
 
virtual bool setProperty (uint i, const QVariant &v, IContact *con=0)=0
 
virtual bool getPropertyReadOnly (uint) const
 
virtual bool supportsInheritance (uint) const
 
virtual bool getInheritance (uint) const
 
virtual void setInheritance (uint, bool)
 
virtual QString getMethods () const
 
virtual int isMethod (const QString &c, Qt::CaseSensitivity cs=Qt::CaseInsensitive) const
 Processing of a methods based on the method list returned by getMehtods.
 
virtual QString getMethodArguments (uint) const
 Default implementation so that no methods must be defined.
 
virtual bool setMethod (uint, const QVector< QVariant > &, IContact *c=0)
 By default, no methods must be defined.
 
virtual QString getEnergies () const
 Default implementation so that no energies must be defined.
 
virtual int isEnergy (const QString &c, Qt::CaseSensitivity cs=Qt::CaseInsensitive) const
 Default implementation so that no energies must be defined.
 
virtual double getEnergy (uint) const
 Default implementation so that no energies must be defined.
 
virtual bool getEnergyAccumulate (uint) const
 Default implementation so that no energies must be defined.
 
virtual void setEnergy (uint, const double &)
 Default implementation so that no energies must be defined.
 
virtual void activateEnergy ()
 Default implementation so that no energies must be defined.
 
virtual bool getEnergyActivated () const
 Default implementation so that no energies must be defined.
 
virtual uint getMinorVersion () const =0
 
virtual void destroy ()
 
virtual QString getFishCallEvents () const
 Return a comma delimited liest of FISH callback events.
 
void setEventVal (int i, int j)
 Set the order of the contact model events as stored in the ContactModelList.
 
void setFromParent (const ContactModel *cm)
 For executing events within the contact model.
 
virtual void setNonForcePropsFrom (IContactModel *)
 
uint getPropertyIndex (const QString &name, Qt::CaseSensitivity cs=Qt::CaseInsensitive) const
 
QString getPropertyName (uint index) const
 Utility function that returns the property name given it's index.
 
void * operator new (size_t size)
 
void * operator new (size_t size, const char *name, const char *file, unsigned line)
 
void operator delete (void *v)
 
void operator delete (void *v, const char *name, const char *file, unsigned line)
 

Static Public Member Functions

static const char * getPluginPrefix ()
 
static const char * getPluginDirectory ()
 
- Static Public Member Functions inherited from cmodelsxd::ContactModel
static UInt getMajorVersion ()
 
static AllocFunctions setAllocFunctions (AllocFunctions afunc)
 
static AllocFunctions getDefaultAllocFunctions ()
 
static AllocFunctions getAllocFunctions ()
 

Additional Inherited Members

- Public Types inherited from cmodelsxd::ContactModel
typedef void *(* NewFunction) (size_t, const char *, const char *, unsigned)
 
typedef void(* DeleteFunction) (void *, const char *, const char *, unsigned)
 
typedef std::pair< NewFunction, DeleteFunction > AllocFunctions
 
- Protected Attributes inherited from cmodelsxd::ContactModel
FArray< int, 5 > cmEvents_
 Set of events as defined in a specified order. The int refers to the location of the event in the ContactModelMechanicalList.
 
- Static Protected Attributes inherited from cmodelsxd::ContactModel
static NewFunction newFunc_ = defaultNewFunction
 
static DeleteFunction deleteFunc_ = defaultDeleteFunction
 

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