Memosa-FVM
0.2
|
#include <BatteryPC_BCS.h>
Public Types | |
typedef NumTypeTraits< X > ::T_Scalar | T_Scalar |
typedef Array< T_Scalar > | TArray |
typedef Array< int > | IntArray |
typedef Vector< T_Scalar, 3 > | VectorT3 |
typedef CRMatrix< Diag, OffDiag, X > | CCMatrix |
typedef CCMatrix::PairWiseAssembler | CCAssembler |
typedef FluxJacobianMatrix < Diag, X > | FMatrix |
typedef DiagonalMatrix< Diag, X > | BBMatrix |
typedef Array< Diag > | DiagArray |
typedef Array< OffDiag > | OffDiagArray |
typedef Array< X > | XArray |
typedef Array< VectorT3 > | VectorT3Array |
Public Member Functions | |
BatteryPC_BCS (const StorageSite &faces, const Mesh &mesh, const GeomFields &geomFields, Field &varField, Field &fluxField, MultiFieldMatrix &matrix, MultiField &xField, MultiField &rField) | |
void | applySingleEquationDirichletBC (int f, const T_Scalar &bValue, const int v) const |
void | applySingleEquationDirichletBC (const FloatValEvaluator< T_Scalar > &bValue, const int v) const |
void | applySingleEquationNeumannBC (const int f, const T_Scalar &specifiedFlux, const int v) const |
void | applySingleEquationNeumannBC (const T_Scalar &bFlux, const int v) const |
Protected Attributes | |
const StorageSite & | _faces |
const StorageSite & | _cells |
const IntArray & | _ibType |
const CRConnectivity & | _faceCells |
const Field & | _varField |
const Field & | _fluxField |
const MultiField::ArrayIndex | _xIndex |
const MultiField::ArrayIndex | _fluxIndex |
CCMatrix & | _dRdX |
FMatrix & | _dFluxdX |
BBMatrix & | _dFluxdFlux |
CCAssembler & | _assembler |
DiagArray & | _dRdXDiag |
XArray & | _x |
XArray & | _r |
XArray & | _flux |
XArray & | _rFlux |
const Field & | _areaMagField |
const TArray & | _faceAreaMag |
const Field & | _areaField |
const VectorT3Array & | _faceArea |
const bool | _is2D |
Definition at line 22 of file BatteryPC_BCS.h.
typedef DiagonalMatrix<Diag,X> BatteryPC_BCS< X, Diag, OffDiag >::BBMatrix |
Definition at line 37 of file BatteryPC_BCS.h.
typedef CCMatrix::PairWiseAssembler BatteryPC_BCS< X, Diag, OffDiag >::CCAssembler |
Definition at line 34 of file BatteryPC_BCS.h.
typedef CRMatrix<Diag,OffDiag,X> BatteryPC_BCS< X, Diag, OffDiag >::CCMatrix |
Definition at line 33 of file BatteryPC_BCS.h.
typedef Array<Diag> BatteryPC_BCS< X, Diag, OffDiag >::DiagArray |
Definition at line 39 of file BatteryPC_BCS.h.
typedef FluxJacobianMatrix<Diag,X> BatteryPC_BCS< X, Diag, OffDiag >::FMatrix |
Definition at line 36 of file BatteryPC_BCS.h.
typedef Array<int> BatteryPC_BCS< X, Diag, OffDiag >::IntArray |
Definition at line 29 of file BatteryPC_BCS.h.
typedef Array<OffDiag> BatteryPC_BCS< X, Diag, OffDiag >::OffDiagArray |
Definition at line 40 of file BatteryPC_BCS.h.
typedef NumTypeTraits<X>::T_Scalar BatteryPC_BCS< X, Diag, OffDiag >::T_Scalar |
Definition at line 26 of file BatteryPC_BCS.h.
typedef Array<T_Scalar> BatteryPC_BCS< X, Diag, OffDiag >::TArray |
Definition at line 28 of file BatteryPC_BCS.h.
typedef Vector<T_Scalar,3> BatteryPC_BCS< X, Diag, OffDiag >::VectorT3 |
Definition at line 31 of file BatteryPC_BCS.h.
typedef Array<VectorT3> BatteryPC_BCS< X, Diag, OffDiag >::VectorT3Array |
Definition at line 43 of file BatteryPC_BCS.h.
typedef Array<X> BatteryPC_BCS< X, Diag, OffDiag >::XArray |
Definition at line 42 of file BatteryPC_BCS.h.
|
inline |
Definition at line 46 of file BatteryPC_BCS.h.
|
inline |
Definition at line 77 of file BatteryPC_BCS.h.
References BatteryPC_BCS< X, Diag, OffDiag >::_assembler, BatteryPC_BCS< X, Diag, OffDiag >::_dFluxdFlux, BatteryPC_BCS< X, Diag, OffDiag >::_dFluxdX, BatteryPC_BCS< X, Diag, OffDiag >::_dRdXDiag, BatteryPC_BCS< X, Diag, OffDiag >::_faceCells, BatteryPC_BCS< X, Diag, OffDiag >::_flux, BatteryPC_BCS< X, Diag, OffDiag >::_ibType, BatteryPC_BCS< X, Diag, OffDiag >::_r, BatteryPC_BCS< X, Diag, OffDiag >::_rFlux, BatteryPC_BCS< X, Diag, OffDiag >::_x, CRMatrix< T_Diag, T_OffDiag, X >::PairWiseAssembler::getCoeff01(), CRMatrix< T_Diag, T_OffDiag, X >::PairWiseAssembler::getCoeff10(), Mesh::IBTYPE_FLUID, FluxJacobianMatrix< OffDiag, X >::setCoeffL(), and FluxJacobianMatrix< OffDiag, X >::setCoeffR().
Referenced by BatteryPC_BCS< X, Diag, OffDiag >::applySingleEquationDirichletBC().
|
inline |
Definition at line 122 of file BatteryPC_BCS.h.
References BatteryPC_BCS< X, Diag, OffDiag >::_faces, BatteryPC_BCS< X, Diag, OffDiag >::applySingleEquationDirichletBC(), and StorageSite::getCount().
|
inline |
Definition at line 128 of file BatteryPC_BCS.h.
References BatteryPC_BCS< X, Diag, OffDiag >::_dFluxdFlux, BatteryPC_BCS< X, Diag, OffDiag >::_dRdX, BatteryPC_BCS< X, Diag, OffDiag >::_faceAreaMag, BatteryPC_BCS< X, Diag, OffDiag >::_faceCells, BatteryPC_BCS< X, Diag, OffDiag >::_flux, BatteryPC_BCS< X, Diag, OffDiag >::_ibType, BatteryPC_BCS< X, Diag, OffDiag >::_r, Mesh::IBTYPE_FLUID, and CRMatrix< T_Diag, T_OffDiag, X >::setBoundary().
Referenced by BatteryPC_BCS< X, Diag, OffDiag >::applySingleEquationNeumannBC().
|
inline |
Definition at line 161 of file BatteryPC_BCS.h.
References BatteryPC_BCS< X, Diag, OffDiag >::_faces, BatteryPC_BCS< X, Diag, OffDiag >::applySingleEquationNeumannBC(), and StorageSite::getCount().
|
protected |
Definition at line 187 of file BatteryPC_BCS.h.
|
protected |
Definition at line 185 of file BatteryPC_BCS.h.
|
protected |
Definition at line 179 of file BatteryPC_BCS.h.
Referenced by BatteryPC_BCS< X, Diag, OffDiag >::applySingleEquationDirichletBC().
|
protected |
Definition at line 169 of file BatteryPC_BCS.h.
|
protected |
Definition at line 178 of file BatteryPC_BCS.h.
Referenced by BatteryPC_BCS< X, Diag, OffDiag >::applySingleEquationDirichletBC(), and BatteryPC_BCS< X, Diag, OffDiag >::applySingleEquationNeumannBC().
|
protected |
Definition at line 177 of file BatteryPC_BCS.h.
Referenced by BatteryPC_BCS< X, Diag, OffDiag >::applySingleEquationDirichletBC().
|
protected |
Definition at line 176 of file BatteryPC_BCS.h.
Referenced by BatteryPC_BCS< X, Diag, OffDiag >::applySingleEquationNeumannBC().
|
protected |
Definition at line 180 of file BatteryPC_BCS.h.
Referenced by BatteryPC_BCS< X, Diag, OffDiag >::applySingleEquationDirichletBC().
|
protected |
Definition at line 188 of file BatteryPC_BCS.h.
|
protected |
Definition at line 186 of file BatteryPC_BCS.h.
Referenced by BatteryPC_BCS< X, Diag, OffDiag >::applySingleEquationNeumannBC().
|
protected |
Definition at line 171 of file BatteryPC_BCS.h.
Referenced by BatteryPC_BCS< X, Diag, OffDiag >::applySingleEquationDirichletBC(), and BatteryPC_BCS< X, Diag, OffDiag >::applySingleEquationNeumannBC().
|
protected |
Definition at line 168 of file BatteryPC_BCS.h.
Referenced by BatteryPC_BCS< X, Diag, OffDiag >::applySingleEquationDirichletBC(), and BatteryPC_BCS< X, Diag, OffDiag >::applySingleEquationNeumannBC().
|
protected |
Definition at line 183 of file BatteryPC_BCS.h.
Referenced by BatteryPC_BCS< X, Diag, OffDiag >::applySingleEquationDirichletBC(), and BatteryPC_BCS< X, Diag, OffDiag >::applySingleEquationNeumannBC().
|
protected |
Definition at line 173 of file BatteryPC_BCS.h.
|
protected |
Definition at line 175 of file BatteryPC_BCS.h.
|
protected |
Definition at line 170 of file BatteryPC_BCS.h.
Referenced by BatteryPC_BCS< X, Diag, OffDiag >::applySingleEquationDirichletBC(), and BatteryPC_BCS< X, Diag, OffDiag >::applySingleEquationNeumannBC().
|
protected |
Definition at line 189 of file BatteryPC_BCS.h.
|
protected |
Definition at line 182 of file BatteryPC_BCS.h.
Referenced by BatteryPC_BCS< X, Diag, OffDiag >::applySingleEquationDirichletBC(), and BatteryPC_BCS< X, Diag, OffDiag >::applySingleEquationNeumannBC().
|
protected |
Definition at line 184 of file BatteryPC_BCS.h.
Referenced by BatteryPC_BCS< X, Diag, OffDiag >::applySingleEquationDirichletBC().
|
protected |
Definition at line 172 of file BatteryPC_BCS.h.
|
protected |
Definition at line 181 of file BatteryPC_BCS.h.
Referenced by BatteryPC_BCS< X, Diag, OffDiag >::applySingleEquationDirichletBC().
|
protected |
Definition at line 174 of file BatteryPC_BCS.h.