/*---------------------------------------------------------------------------*\
========= |
\\ / 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::CrossSection
Description
SourceFiles
CrossSectionI.H
CrossSection.C
CrossSectionIO.C
\*---------------------------------------------------------------------------*/
#ifndef CrossSection_H
#define CrossSection_H
#include "scalar.H"
#include "scalarField.H"
#include "Electron.H"
#include "Neutral.H"
#include "Interaction.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
namespace Foam
{
// Forward declaration of classes
class Istream;
class Ostream;
// Forward declaration of friend functions and operators
class CrossSection;
Istream& operator>>(Istream&, CrossSection&);
Ostream& operator<<(Ostream&, const CrossSection&);
/*---------------------------------------------------------------------------*\
Class CrossSection Declaration
\*---------------------------------------------------------------------------*/
class CrossSection
: public Interaction
{
// Private data
//
//- Highest polynomial order of diffusivity fitting formular
static constexpr label M = 7;
//- Collision participant ion a
const Electron &a_;
//- Collision participant neutral b
const Neutral &b_;
//- p * Dej Fit Coefficient
scalarField b11_;
//- Buffer for polynomial feature
static scalarField vec;
// Private Member Functions
//- Disallow default bitwise copy construct
CrossSection(const CrossSection&);
//- Disallow default bitwise assignment
void operator=(const CrossSection&);
// primary template
template