32 void calcSize()
override { nu = 0; updSize =
false; }
33 void setLength(
double length_) {length=length_; }
34 double getLength()
const {
return length; }
36 fmatvec::VecV getInflowFactor()
override {
return fmatvec::VecV(1, fmatvec::INIT, -1.); }
37 fmatvec::VecV getOutflowFactor()
override {
return fmatvec::VecV(1, fmatvec::INIT, 1.); }
38 void calcqSize()
override {
qSize=0; }
39 void calcuSize(
int j)
override {
uSize[j]=0; }
41 void initializeUsingXML(xercesc::DOMElement *element)
override;
42 void init(
InitStage stage,
const MBSim::InitConfigSet &config)
override;
59 glFunction->setParent(
this);
61 double evalGapLength()
const;
64 s1vFunction->setParent(
this);
66 double evalSurface1Velocity()
const;
69 s2vFunction->setParent(
this);
71 double evalSurface2Velocity()
const;
73 void init(
InitStage stage,
const MBSim::InitConfigSet &config)
override;
75 void updateQ()
override;
77 void initializeUsingXML(xercesc::DOMElement * element)
override;
81 MBSim::Function<double(
double)> *s1vFunction, *s2vFunction, *glFunction;