Cyclic-plane patch. More...
Public Member Functions | |
TypeName ("cyclic") | |
cyclicFaPatch (const word &name, const dictionary &dict, const label index, const faBoundaryMesh &bm) | |
virtual | ~cyclicFaPatch ()=default |
virtual bool | master () const |
virtual label | neighbPatchID () const |
virtual bool | owner () const |
virtual const cyclicLduInterface & | neighbPatch () const |
virtual const tensorField & | forwardT () const |
virtual const tensorField & | reverseT () const |
virtual void | initGeometry () |
virtual void | calcGeometry () |
virtual void | initMovePoints (const pointField &) |
virtual void | movePoints (const pointField &) |
virtual tmp< vectorField > | delta () const |
virtual tmp< labelField > | interfaceInternalField (const labelUList &internalData) const |
virtual tmp< labelField > | interfaceInternalField (const labelUList &internalData, const labelUList &edgeFaces) const |
virtual tmp< labelField > | transfer (const Pstream::commsTypes commsType, const labelUList &interfaceData) const |
virtual tmp< labelField > | internalFieldTransfer (const Pstream::commsTypes commsType, const labelUList &internalData) const |
virtual tmp< labelField > | internalFieldTransfer (const Pstream::commsTypes commsType, const labelUList &internalData, const labelUList &edgeCells) const |
![]() | |
TypeName ("coupled") | |
coupledFaPatch (const word &name, const labelList &edgeLabels, const label index, const faBoundaryMesh &bm, const label ngbPolyPatchIndex) | |
coupledFaPatch (const word &name, const dictionary &dict, const label index, const faBoundaryMesh &bm) | |
virtual | ~coupledFaPatch ()=default |
virtual bool | coupled () const |
bool | separated () const |
const vectorField & | separation () const |
const tensorField & | forwardT () const |
const tensorField & | reverseT () const |
bool | parallel () const |
virtual const labelUList & | faceCells () const |
virtual void | initTransfer (const Pstream::commsTypes commsType, const labelUList &interfaceData) const |
virtual void | initInternalFieldTransfer (const Pstream::commsTypes commsType, const labelUList &iF) const |
![]() | |
TypeName ("lduInterface") | |
lduInterface ()=default | |
virtual | ~lduInterface ()=default |
virtual void | initInternalFieldTransfer (const Pstream::commsTypes commsType, const labelUList &iF, const labelUList &faceCells) const |
![]() | |
TypeName ("patch") | |
declareRunTimeSelectionTable (autoPtr, faPatch, dictionary,(const word &name, const dictionary &dict, const label index, const faBoundaryMesh &bm),(name, dict, index, bm)) | |
faPatch (const word &name, const labelList &edgeLabels, const label index, const faBoundaryMesh &bm, const label ngbPolyPatchIndex) | |
faPatch (const word &name, const dictionary &dict, const label index, const faBoundaryMesh &bm) | |
faPatch (const faPatch &, const faBoundaryMesh &) | |
virtual autoPtr< faPatch > | clone (const faBoundaryMesh &bm, const labelList &edgeLabels, const label index, const label ngbPolyPatchIndex) const |
virtual | ~faPatch () |
const labelList & | edgeLabels () const noexcept |
void | edgeLabels (const UList< label > &newEdgeLabels) |
label | nPoints () const |
label | nEdges () const noexcept |
label | ngbPolyPatchIndex () const noexcept |
const faBoundaryMesh & | boundaryMesh () const noexcept |
label | start () const |
virtual label | size () const |
label | whichEdge (const label l) const |
template<class T > | |
List< T >::subList | patchSlice (const List< T > &l) const |
virtual void | write (Ostream &) const |
List< labelPair > | boundaryConnections () const |
labelList | boundaryProcs () const |
List< labelPair > | boundaryProcSizes () const |
const labelList & | pointLabels () const |
const labelListList & | pointEdges () const |
tmp< vectorField > | ngbPolyPatchFaceNormals () const |
tmp< vectorField > | ngbPolyPatchPointNormals () const |
const labelUList & | edgeFaces () const |
const vectorField & | edgeCentres () const |
const vectorField & | edgeLengths () const |
const scalarField & | magEdgeLengths () const |
tmp< vectorField > | edgeNormals () const |
tmp< vectorField > | edgeFaceCentres () const |
const scalarField & | weights () const |
void | makeCorrectionVectors (vectorField &) const |
const scalarField & | deltaCoeffs () const |
void | resetEdges (const UList< label > &newEdges) |
void | resetEdges (labelList &&newEdges) |
template<class Type > | |
tmp< Field< Type > > | patchInternalField (const UList< Type > &) const |
template<class Type > | |
tmp< Foam::Field< Type > > | patchInternalField (const UList< Type > &f, const labelUList &edgeFaces) const |
template<class GeometricField , class Type > | |
const GeometricField::Patch & | patchField (const GeometricField &) const |
template<class GeometricField , class Type > | |
const GeometricField::Patch & | lookupPatchField (const word &name, const GeometricField *=nullptr, const Type *=nullptr) const |
template<class Type > | |
Foam::tmp< Foam::Field< Type > > | patchInternalField (const UList< Type > &f) const |
template<class Type > | |
Foam::tmp< Foam::Field< Type > > | patchInternalField (const UList< Type > &f, const labelUList &edgeFaces) const |
![]() | |
patchIdentifier (const patchIdentifier &)=default | |
patchIdentifier & | operator= (const patchIdentifier &)=default |
virtual | ~patchIdentifier ()=default |
patchIdentifier () | |
patchIdentifier (const word &name, const label index) | |
patchIdentifier (const word &name, const label index, const word &physicalType, const wordList &inGroups=wordList()) | |
patchIdentifier (const word &name, const dictionary &dict, const label index) | |
patchIdentifier (const patchIdentifier &ident, const label index) | |
const word & | name () const noexcept |
word & | name () noexcept |
label | index () const noexcept |
label & | index () noexcept |
const word & | physicalType () const noexcept |
word & | physicalType () noexcept |
const wordList & | inGroups () const noexcept |
wordList & | inGroups () noexcept |
bool | inGroup (const word &name) const |
void | write (Ostream &os) const |
![]() | |
constexpr | List () noexcept |
List (const label len) | |
List (const label len, const T &val) | |
List (const label len, const Foam::zero) | |
List (const Foam::one, const T &val) | |
List (const Foam::one, T &&val) | |
List (const Foam::one, const Foam::zero) | |
List (const List< T > &a) | |
List (const UList< T > &a) | |
List (List< T > &a, bool reuse) | |
List (const UList< T > &list, const labelUList &indices) | |
template<unsigned N> | |
List (const UList< T > &list, const FixedList< label, N > &indices) | |
template<unsigned N> | |
List (const FixedList< T, N > &list) | |
List (const PtrList< T > &list) | |
List (const SLList< T > &list) | |
template<class Addr > | |
List (const IndirectListBase< T, Addr > &list) | |
List (std::initializer_list< T > list) | |
List (List< T > &&list) | |
template<int SizeMin> | |
List (DynamicList< T, SizeMin > &&list) | |
List (SortableList< T > &&list) | |
List (SLList< T > &&list) | |
List (Istream &is) | |
autoPtr< List< T > > | clone () const |
~List () | |
void | clear () |
void | resize (const label len) |
void | resize (const label len, const T &val) |
void | resize_nocopy (const label len) |
void | setSize (const label n) |
void | setSize (const label n, const T &val) |
void | append (const T &val) |
void | append (T &&val) |
void | append (const UList< T > &list) |
template<class Addr > | |
void | append (const IndirectListBase< T, Addr > &list) |
label | appendUniq (const T &val) |
void | transfer (List< T > &list) |
template<int SizeMin> | |
void | transfer (DynamicList< T, SizeMin > &list) |
void | transfer (SortableList< T > &list) |
T & | newElmt (const label i) |
void | operator= (const UList< T > &a) |
void | operator= (const List< T > &list) |
void | operator= (const SLList< T > &list) |
template<class Addr > | |
void | operator= (const IndirectListBase< T, Addr > &list) |
template<unsigned N> | |
void | operator= (const FixedList< T, N > &list) |
void | operator= (std::initializer_list< T > list) |
void | operator= (const T &val) |
void | operator= (const Foam::zero) |
void | operator= (List< T > &&list) |
template<int SizeMin> | |
void | operator= (DynamicList< T, SizeMin > &&list) |
void | operator= (SortableList< T > &&list) |
void | operator= (SLList< T > &&list) |
Istream & | readList (Istream &is) |
void | shallowCopy (const UList< T > &)=delete |
template<class TypeT = T> | |
std::enable_if< std::is_same< bool, TypeT >::value, bool >::type | set (const label i, bool val=true) |
template<class T > | |
List (const label len) | |
template<class T > | |
List (const label len, const T &val) | |
template<class T > | |
List (const label len, const Foam::zero) | |
template<class T > | |
List (const Foam::one, const T &val) | |
template<class T > | |
List (const Foam::one, T &&val) | |
template<class T > | |
List (const Foam::one, const Foam::zero) | |
template<class T > | |
List (const UList< T > &a) | |
template<class T > | |
List (const List< T > &a) | |
template<class T > | |
List (List< T > &a, bool reuse) | |
template<class T > | |
List (const UList< T > &list, const labelUList &indices) | |
template<class T > | |
List (const PtrList< T > &list) | |
template<class T > | |
List (const SLList< T > &list) | |
template<class T > | |
List (std::initializer_list< T > list) | |
template<class T > | |
List (List< T > &&list) | |
template<class T > | |
List (SortableList< T > &&list) | |
template<class T > | |
List (SLList< T > &&list) | |
template<class T > | |
void | transfer (List< T > &list) |
template<class T > | |
void | transfer (SortableList< T > &list) |
template<class T > | |
void | operator= (const UList< T > &a) |
template<class T > | |
void | operator= (const List< T > &list) |
template<class T > | |
void | operator= (const SLList< T > &list) |
template<class T > | |
void | operator= (std::initializer_list< T > list) |
template<class T > | |
void | operator= (List< T > &&list) |
template<class T > | |
void | operator= (SortableList< T > &&list) |
template<class T > | |
void | operator= (SLList< T > &&list) |
Istream & | readList (Istream &is) |
template<class T > | |
constexpr | List () noexcept |
void | resize (const label newLen) |
template<class T > | |
void | append (const T &val) |
template<class T > | |
void | append (T &&val) |
template<class T > | |
void | append (const UList< T > &list) |
template<class T > | |
void | operator= (const T &val) |
template<class T > | |
void | operator= (const Foam::zero) |
template<class T > | |
List (Istream &is) | |
Istream & | readList (Istream &is) |
![]() | |
TypeName ("cyclicLduInterface") | |
cyclicLduInterface ()=default | |
virtual | ~cyclicLduInterface ()=default |
Protected Member Functions | |
void | makeWeights (scalarField &) const |
void | makeDeltaCoeffs (scalarField &) const |
![]() | |
void | calcTransformTensors (const vector &Cf, const vector &Cr, const vector &nf, const vector &nr) const |
void | calcTransformTensors (const vectorField &Cf, const vectorField &Cr, const vectorField &nf, const vectorField &nr) const |
![]() | |
void | calcPointLabels () const |
void | calcPointEdges () const |
virtual void | initUpdateMesh () |
virtual void | updateMesh () |
Static Protected Attributes | |
static const scalar | matchTol_ = 1e-3 |
Additional Inherited Members | |
![]() | |
typedef faBoundaryMesh | BoundaryMesh |
![]() | |
typedef SubList< T > | subList |
![]() | |
static autoPtr< faPatch > | New (const word &name, const dictionary &dict, const label index, const faBoundaryMesh &bm) |
![]() | |
static word | defaultName (const label n=-1) |
![]() | |
static const List< T > & | null () |
Cyclic-plane patch.
Author Zeljko Tukovic, FMENA Hrvoje Jasak, Wikki Ltd.
Definition at line 53 of file cyclicFaPatch.H.
|
inline |
Definition at line 90 of file cyclicFaPatch.H.
|
virtualdefault |
|
protectedvirtual |
Implements coupledFaPatch.
Definition at line 145 of file cyclicFaPatch.C.
References Foam::abort(), faPatch::delta(), Foam::FatalError, FatalErrorInFunction, Foam::mag(), Foam::max(), Foam::name(), and Foam::nl.
|
protectedvirtual |
Implements coupledFaPatch.
Definition at line 200 of file cyclicFaPatch.C.
References faPatch::delta().
TypeName | ( | "cyclic" | ) |
|
inlinevirtual |
Definition at line 110 of file cyclicFaPatch.H.
Referenced by cyclicFaPatch::owner().
|
inlinevirtual |
Implements cyclicLduInterface.
Definition at line 116 of file cyclicFaPatch.H.
References patchIdentifier::index(), and NotImplemented.
|
inlinevirtual |
Implements cyclicLduInterface.
Definition at line 122 of file cyclicFaPatch.H.
References cyclicFaPatch::master().
|
inlinevirtual |
Implements cyclicLduInterface.
Definition at line 128 of file cyclicFaPatch.H.
References NotImplemented.
|
inlinevirtual |
Implements cyclicLduInterface.
Definition at line 135 of file cyclicFaPatch.H.
References coupledFaPatch::forwardT().
Referenced by cyclicFaPatchField< Type >::forwardT().
|
inlinevirtual |
Implements cyclicLduInterface.
Definition at line 141 of file cyclicFaPatch.H.
References coupledFaPatch::reverseT().
Referenced by cyclicFaPatchField< Type >::reverseT().
|
virtual |
Implements coupledFaPatch.
Definition at line 216 of file cyclicFaPatch.C.
References faPatch::initGeometry().
|
virtual |
Implements coupledFaPatch.
Definition at line 222 of file cyclicFaPatch.C.
References faPatch::calcGeometry().
|
virtual |
Implements coupledFaPatch.
Definition at line 229 of file cyclicFaPatch.C.
References faPatch::initMovePoints(), and p.
|
virtual |
Implements coupledFaPatch.
Definition at line 235 of file cyclicFaPatch.C.
References faPatch::movePoints(), and p.
|
virtual |
Implements coupledFaPatch.
Definition at line 242 of file cyclicFaPatch.C.
References faPatch::delta(), tmp::New(), and Foam::transform().
|
virtual |
Implements coupledFaPatch.
Definition at line 279 of file cyclicFaPatch.C.
|
virtual |
Implements lduInterface.
Definition at line 288 of file cyclicFaPatch.C.
|
virtual |
Implements coupledFaPatch.
Definition at line 298 of file cyclicFaPatch.C.
References tmp::New().
|
virtual |
Implements coupledFaPatch.
Definition at line 319 of file cyclicFaPatch.C.
|
virtual |
Definition at line 329 of file cyclicFaPatch.C.
References tmp::New().
|
staticprotected |
Definition at line 68 of file cyclicFaPatch.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.