mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
replace custom myType() method by built-in type() method
This commit is contained in:
@ -77,10 +77,6 @@ public:
|
||||
|
||||
~ImEx();
|
||||
|
||||
|
||||
// Member Functions
|
||||
|
||||
word myType() const{return typeName; };
|
||||
};
|
||||
|
||||
|
||||
|
||||
@ -73,7 +73,6 @@ public:
|
||||
|
||||
void partToArray(label, vector&, const vector&, const vector& Ufluid=vector::zero, scalar Cd=scalar(0)) const;
|
||||
|
||||
word myType() const{return typeName; };
|
||||
};
|
||||
|
||||
|
||||
|
||||
@ -192,7 +192,7 @@ void forceSubModel::explicitCorr
|
||||
|
||||
void forceSubModel::readSwitches()
|
||||
{
|
||||
Info << "\nreading switches for forceSubModel:" << myType() << endl;
|
||||
Info << "\nreading switches for forceSubModel:" << type() << endl;
|
||||
forAll(switchesNameList_,i)
|
||||
{
|
||||
if(switchesList_[i]) //check if switch is required
|
||||
|
||||
@ -158,8 +158,6 @@ public:
|
||||
|
||||
inline bool useParcelSizeDependentFilteredDrag() const { return switches_[SW_PARCEL_SIZE_DEPENDENT_FILTERED_DRAG]; }
|
||||
|
||||
virtual word myType() const = 0;
|
||||
|
||||
inline forceModel& myForceM() const { return forceModel_; }
|
||||
|
||||
inline const List<Switch>& switches() const { return switches_; }
|
||||
|
||||
@ -85,7 +85,6 @@ public:
|
||||
|
||||
void partToArray(label, vector&, const vector&, const vector& Ufluid=vector::zero, scalar Cd=scalar(0)) const;
|
||||
|
||||
word myType() const {return typeName; }
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user