4#include "contactmodel/interface/icontactmodelfluid.h"
9#pragma warning(disable : 4251)
13 class IContactMechanical;
23 : gapInc_(0.0), dp_geom_(0.0) {};
41 static const char* getPluginPrefix() {
return "contactmodelfluid"; }
42 static const char* getPluginDirectory() {
return "contactmodels/fluid"; }
43 IContactModel* getContactModel()
override {
return this; }
44 const IContactModel* getContactModel()
const override {
return this; }
46 virtual bool endPropertyUpdated(
const QString& name,
const IContactFluid* c) = 0;
49 double getActivityDistance()
const override {
return 0.0; }
51 virtual double getMassDensity()
const {
52 throw Exception(
"Fluid model %1 does not have property mass density.",
getName() );
54 virtual double getMobilityCoef()
const {
55 throw Exception(
"Fluid model %1 does not have property mobility coefficient.",
getName() );
57 virtual double getSpecificStorage()
const {
58 throw Exception(
"Fluid model %1 does not have property specific storage.",
getName() );
63 std::vector<double>*)
override {}
65 void getDiskList(
const IContact*, std::vector<DVect>*, std::vector<DVect>*,
66 std::vector<double>*, std::vector<double>*)
override {}
69 std::vector<double>*, std::vector<double>*, std::vector<double>*)
override {}
Base exception class for all Itasca code.
Definition baseexception.h:10
The main program access point.
Definition iprogram.h:37
EXPORT_TAG const char * getName()
Definition fishexample.cpp:43
namespace Itasca
Definition basememory.cpp:10
Itasca Library standard namespace, specific to 2D or 3D.
Definition icontactmodule.h:4