diff --git a/src/lagrangian/cfdemParticle/subModels/liggghtsCommandModel/execute/execute.H b/src/lagrangian/cfdemParticle/subModels/liggghtsCommandModel/execute/execute.H index 00b7f90c..1d9df4ae 100644 --- a/src/lagrangian/cfdemParticle/subModels/liggghtsCommandModel/execute/execute.H +++ b/src/lagrangian/cfdemParticle/subModels/liggghtsCommandModel/execute/execute.H @@ -94,7 +94,7 @@ public: // Member Functions - word name(){return propsDict_.dictName();}; + word name() const {return propsDict_.dictName();} const char* command(int); diff --git a/src/lagrangian/cfdemParticle/subModels/liggghtsCommandModel/liggghtsCommandModel/liggghtsCommandModel.H b/src/lagrangian/cfdemParticle/subModels/liggghtsCommandModel/liggghtsCommandModel/liggghtsCommandModel.H index b8ba17dd..ad31344d 100644 --- a/src/lagrangian/cfdemParticle/subModels/liggghtsCommandModel/liggghtsCommandModel/liggghtsCommandModel.H +++ b/src/lagrangian/cfdemParticle/subModels/liggghtsCommandModel/liggghtsCommandModel/liggghtsCommandModel.H @@ -165,15 +165,15 @@ public: // Access - int nextRun(){return nextRun_;} + int nextRun() const {return nextRun_;} - int lastRun(){return lastRun_;} + int lastRun() const {return lastRun_;} - virtual word name()=0; + virtual word name() const=0; - bool exactTiming(){return exactTiming_;} + bool exactTiming() const {return exactTiming_;} - label commandLines(){return commandLines_;} + label commandLines() const {return commandLines_;} void parseCommandList(wordList&, labelList&, scalarList&, word&, dictionary&, bool&); }; diff --git a/src/lagrangian/cfdemParticle/subModels/liggghtsCommandModel/readLiggghtsData/readLiggghtsData.H b/src/lagrangian/cfdemParticle/subModels/liggghtsCommandModel/readLiggghtsData/readLiggghtsData.H index 38013710..c52fc893 100644 --- a/src/lagrangian/cfdemParticle/subModels/liggghtsCommandModel/readLiggghtsData/readLiggghtsData.H +++ b/src/lagrangian/cfdemParticle/subModels/liggghtsCommandModel/readLiggghtsData/readLiggghtsData.H @@ -89,7 +89,7 @@ public: // Member Functions - word name(){return propsDict_.dictName();}; + word name() const {return propsDict_.dictName();} const char* command(int); diff --git a/src/lagrangian/cfdemParticle/subModels/liggghtsCommandModel/runLiggghts/runLiggghts.H b/src/lagrangian/cfdemParticle/subModels/liggghtsCommandModel/runLiggghts/runLiggghts.H index aa76f2ca..6068730d 100644 --- a/src/lagrangian/cfdemParticle/subModels/liggghtsCommandModel/runLiggghts/runLiggghts.H +++ b/src/lagrangian/cfdemParticle/subModels/liggghtsCommandModel/runLiggghts/runLiggghts.H @@ -92,7 +92,7 @@ public: bool runCommand(int); - word name(){return "runLiggghts";}; + word name() const {return "runLiggghts";} void set(int); }; diff --git a/src/lagrangian/cfdemParticle/subModels/liggghtsCommandModel/writeLiggghts/writeLiggghts.H b/src/lagrangian/cfdemParticle/subModels/liggghtsCommandModel/writeLiggghts/writeLiggghts.H index 18b26519..c7b59a40 100644 --- a/src/lagrangian/cfdemParticle/subModels/liggghtsCommandModel/writeLiggghts/writeLiggghts.H +++ b/src/lagrangian/cfdemParticle/subModels/liggghtsCommandModel/writeLiggghts/writeLiggghts.H @@ -97,7 +97,7 @@ public: bool runCommand(int); - word name(){return "writeLiggghts";}; + word name() const {return "writeLiggghts";} };