mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
Merge pull request #89 from ParticulateFlow/feature/recurrenceLib_fix_predefinedPath
minor fix in predefinedPath model
This commit is contained in:
@ -56,8 +56,17 @@ predefinedPath::predefinedPath
|
||||
:
|
||||
recPath(dict, base),
|
||||
propsDict_(dict.subDict(typeName + "Props")),
|
||||
fileName_(propsDict_.lookupOrDefault<word>("recPathName", "recurrencePath"))
|
||||
{}
|
||||
fileName_(propsDict_.lookupOrDefault<word>("recPathName", "predefinedRecurrencePath"))
|
||||
{
|
||||
if (fileName_ == "recurrencePath")
|
||||
{
|
||||
FatalError << "File name of the user-provided recurrencePath file is "
|
||||
<< fileName_ << nl
|
||||
<< "This is in conflict with the automatically written recurrencePath file!" << nl
|
||||
<< nl << "Choose a different name!"
|
||||
<< abort(FatalError);
|
||||
}
|
||||
}
|
||||
|
||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||
|
||||
|
||||
@ -20,6 +20,10 @@ License
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with CFDEMcoupling academic. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Description
|
||||
Follow a pre-defined path specified in a user-provided recurrencePath file.
|
||||
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
#ifndef predefinedPath_H
|
||||
|
||||
Reference in New Issue
Block a user