|
Public Member Functions |
| constraint (const label row, const Type value, const Type &fixedCmpts=pTraits< Type >::one) |
| Construct from components.
|
template<template< class > class Matrix> |
| constraint (const Matrix< Type > &, const label row, const Type value, const Type &fixedCmpts=pTraits< Type >::one) |
| Construct from matrix and other components.
|
| constraint (const constraint &) |
| Construct as copy.
|
| constraint (Istream &) |
| Construct from Istream.
|
| ~constraint () |
label | rowID () const |
| Return matrix row ID.
|
Type | value () const |
| Return fixed value.
|
const Type & | fixedComponents () const |
| Return map of fixed components.
|
scalar | diagCoeff () const |
| Return diagonal coefficient.
|
Type | source () const |
| Return source.
|
const scalarField & | upperCoeffsOwner () const |
| Return off-diagonal coefficients.
|
const scalarField & | upperCoeffsNeighbour () const |
const scalarField & | lowerCoeffsOwner () const |
const scalarField & | lowerCoeffsNeighbour () const |
void | combine (const constraint &) |
| Combine with existing equation.
|
template<template< class > class Matrix> |
void | setMatrix (const Matrix< Type > &) |
| Set matrix coefficients.
|
template<template< class > class Matrix> |
void | eliminateEquation (Matrix< Type > &) const |
| Eliminate equation.
|
template<template< class > class Matrix> |
void | eliminateEquation (Matrix< Type > &, const direction, scalarField &) const |
| Eliminate component equation with given direction and.
|
template<template< class > class Matrix> |
void | setSource (Matrix< Type > &) const |
| Set source in eliminated equation.
|
template<template< class > class Matrix> |
void | setSourceDiag (Matrix< Type > &, const direction, scalarField &psiCmpt, scalarField &sourceCmpt) const |
| Set source and diagonal in eliminated equation.
|
template<template< class > class Matrix> |
void | reconstructMatrix (Matrix< Type > &) const |
| Reconstruct matrix coefficients.
|
void | clearMatrix () |
| Clear matrix coefficients.
|
void | operator= (const constraint< Type > &) |
template<> |
scalar | componentOfValue (const scalar &v, const direction) const |
template<> |
void | combine (const constraint< scalar > &e) |
Static Public Member Functions |
template<template< class > class Matrix> |
void | eliminateEquation (Matrix< Type > &, const label, const Type &) |
| Eliminate equation.
|
template<template< class > class Matrix> |
void | setSource (Matrix< Type > &, const label, const Type &) |
| Set source in eliminated equation.
|
Friends |
Ostream & | operator (Ostream &, const constraint< Type > &) |