diff --git a/src/lagrangian/molecularDynamics/molecule/clouds/Templates/MoleculeCloud/MoleculeCloud.C b/src/lagrangian/molecularDynamics/molecule/clouds/Templates/MoleculeCloud/MoleculeCloud.C deleted file mode 100644 index c6d54036f7..0000000000 --- a/src/lagrangian/molecularDynamics/molecule/clouds/Templates/MoleculeCloud/MoleculeCloud.C +++ /dev/null @@ -1,1265 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 2008-2011 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software: you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM. If not, see . - -\*----------------------------------------------------------------------------*/ - -#include "MoleculeCloud.H" -#include "fvMesh.H" -#include "mathematicalConstants.H" - -using namespace Foam::constant::mathematical; - - -// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * // - -template -void Foam::MoleculeCloud::buildConstProps() -{ - const List& idList(pot_.idList()); - - constPropList_.setSize(idList.size()); - - const List& siteIdList(pot_.siteIdList()); - - IOdictionary molPropertiesDict - ( - IOobject - ( - this->name() + "Properties", - mesh_.time().constant(), - mesh_, - IOobject::MUST_READ_IF_MODIFIED, - IOobject::NO_WRITE, - false - ) - ); - - Info<< nl << "Reading " << molPropertiesDict.name() << endl; - - forAll(idList, i) - { - const word& id = idList[i]; - - const dictionary& molDict(molPropertiesDict.subDict(id)); - - List siteIdNames = molDict.lookup("siteIds"); - - List