/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Copyright (C) 2016 OpenFOAM Foundation \\/ 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 . Class Foam::Interaction Description SourceFiles InteractionI.H Interaction.C InteractionIO.C \*---------------------------------------------------------------------------*/ #ifndef Interaction_H #define Interaction_H #include "scalar.H" #include "Particle.H" // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // namespace Foam { // Forward declaration of classes class Istream; class Ostream; // Forward declaration of friend functions and operators class Interaction; Istream& operator>>(Istream&, Interaction&); Ostream& operator<<(Ostream&, const Interaction&); /*---------------------------------------------------------------------------*\ Class Interaction Declaration \*---------------------------------------------------------------------------*/ class Interaction { // Private data // Private Member Functions //- Disallow default bitwise copy construct Interaction(const Interaction&); //- Disallow default bitwise assignment void operator=(const Interaction&); protected: //- Disallow default bitwise assignment inline scalar power(const scalar a, const scalar b) const; //- Disallow default bitwise assignment inline scalar expon(const scalar a) const; //- Disallow default bitwise assignment inline scalar loge(const scalar a) const; //- Disallow default bitwise assignment inline scalar D(const scalar mij, const scalar p, const scalar T, const scalar OmegaD) const; //- Disallow default bitwise assignment inline scalar mu(const scalar mk, const scalar T, const scalar OmegaD) const; public: // Static data members // Constructors //- Construct null Interaction(); //- Construct from Istream Interaction(Istream&); //- Construct as copy // Interaction(const Interaction&); //- Destructor ~Interaction(); // Member Functions // Access // Check // Edit // Write // Member Operators // Friend Functions // Friend Operators // IOstream Operators friend Istream& operator>>(Istream&, Interaction&); friend Ostream& operator<<(Ostream&, const Interaction&); }; // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // } // End namespace Foam // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // #include "InteractionI.H" // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // #endif // ************************************************************************* //