|
|
IContactModel * | getContactModel () override |
| |
|
const IContactModel * | getContactModel () const override |
| |
|
virtual bool | endPropertyUpdated (const QString &name, const IContactFluid *c)=0 |
| |
|
virtual bool | validate (ContactModelFluidState *state)=0 |
| |
|
virtual bool | checkActivity (ContactModelFluidState *state) const =0 |
| |
|
double | getActivityDistance () const override |
| |
|
virtual double | getMassDensity () const |
| |
|
virtual double | getMobilityCoef () const |
| |
|
virtual double | getSpecificStorage () const |
| |
| void | getSphereList (const IContact *, std::vector< DVect > *, std::vector< double > *, std::vector< double > *) override |
| | For contact specific plotting.
|
| |
| void | getCylinderList (const IContact *, std::vector< DVect > *, std::vector< DVect > *, std::vector< double > *, std::vector< double > *, std::vector< double > *) override |
| | For contact specific plotting.
|
| |
|
| ContactModel () |
| | Constructor.
|
| |
|
virtual | ~ContactModel () |
| | Destructor.
|
| |
| virtual ContactModel * | clone () 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.
|
| |
|
IContactModel * | getContactModel () override |
| | Return the IContactModel pointer.
|
| |
|
const IContactModel * | getContactModel () const override |
| | Return the const IContactModel pointer.
|
| |
|
QString | getName () const override=0 |
| |
|
virtual QString | getPluginName () const |
| | By default, the plugin name is the contact model name. Must be implemented in derived class.
|
| |
|
QString | getProperties () const override=0 |
| | Returns a comma delimited string that lists the contact model properies. Must be implemented in derived classes.
|
| |
| QVariant | getProperty (uint i, const IContact *con=0) const override=0 |
| |
| bool | getPropertyGlobal (uint) const override |
| |
| int | isProperty (const QString &c, Qt::CaseSensitivity cs=Qt::CaseInsensitive) const override |
| |
| bool | setProperty (uint i, const QVariant &v, IContact *con=0) override=0 |
| |
|
bool | getPropertyReadOnly (uint) const override |
| |
|
bool | supportsInheritance (uint) const override |
| |
|
bool | getInheritance (uint) const override |
| |
|
void | setInheritance (uint, bool) override |
| |
|
QString | getMethods () const override |
| |
|
int | isMethod (const QString &c, Qt::CaseSensitivity cs=Qt::CaseInsensitive) const override |
| | Processing of a methods based on the method list returned by getMehtods.
|
| |
|
QString | getMethodArguments (uint) const override |
| | Default implementation so that no methods must be defined.
|
| |
|
bool | setMethod (uint, const QVector< QVariant > &, IContact *c=0) override |
| | By default, no methods must be defined.
|
| |
|
QString | getEnergies () const override |
| | Default implementation so that no energies must be defined.
|
| |
|
int | isEnergy (const QString &c, Qt::CaseSensitivity cs=Qt::CaseInsensitive) const override |
| | Default implementation so that no energies must be defined.
|
| |
|
double | getEnergy (uint) const override |
| | Default implementation so that no energies must be defined.
|
| |
|
bool | getEnergyAccumulate (uint) const override |
| | Default implementation so that no energies must be defined.
|
| |
|
void | setEnergy (uint, const double &) override |
| | Default implementation so that no energies must be defined.
|
| |
|
void | activateEnergy () override |
| | Default implementation so that no energies must be defined.
|
| |
|
virtual bool | getEnergyActivated () const |
| | Default implementation so that no energies must be defined.
|
| |
|
uint | getMinorVersion () const override=0 |
| |
|
void | destroy () override |
| |
|
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.
|
| |
| void | setNonForcePropsFrom (IContactModel *) override |
| |
| 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) |
| |