Public Member Functions | List of all members
emptyFaPatch Class Reference

A patch which will not exist in the faMesh. Typical example is a front and back plane of a 2-D geometry. More...

Inheritance diagram for emptyFaPatch:
Inheritance graph
[legend]
Collaboration diagram for emptyFaPatch:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("empty")
 
 emptyFaPatch (const word &name, const label index, const faBoundaryMesh &bm, const label ngbPolyPatchIndex=-1)
 
 emptyFaPatch (const word &name, const labelList &edgeLabels, const label index, const faBoundaryMesh &bm, const label ngbPolyPatchIndex)
 
 emptyFaPatch (const word &name, const dictionary &dict, const label index, const faBoundaryMesh &bm)
 
virtual autoPtr< faPatchclone (const faBoundaryMesh &bm, const labelList &edgeLabels, const label index, const label ngbPolyPatchIndex) const
 
virtual label size () const
 
- Public Member Functions inherited from faPatch
 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 ~faPatch ()
 
const labelListedgeLabels () const noexcept
 
void edgeLabels (const UList< label > &newEdgeLabels)
 
label nPoints () const
 
label nEdges () const noexcept
 
label ngbPolyPatchIndex () const noexcept
 
const faBoundaryMeshboundaryMesh () const noexcept
 
virtual bool coupled () const
 
label start () 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< labelPairboundaryConnections () const
 
labelList boundaryProcs () const
 
List< labelPairboundaryProcSizes () const
 
const labelListpointLabels () const
 
const labelListListpointEdges () const
 
tmp< vectorFieldngbPolyPatchFaceNormals () const
 
tmp< vectorFieldngbPolyPatchPointNormals () const
 
const labelUListedgeFaces () const
 
const vectorFieldedgeCentres () const
 
const vectorFieldedgeLengths () const
 
const scalarFieldmagEdgeLengths () const
 
tmp< vectorFieldedgeNormals () const
 
tmp< vectorFieldedgeFaceCentres () const
 
virtual tmp< vectorFielddelta () const
 
virtual void makeWeights (scalarField &) const
 
const scalarFieldweights () const
 
virtual void makeDeltaCoeffs (scalarField &) const
 
void makeCorrectionVectors (vectorField &) const
 
const scalarFielddeltaCoeffs () 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::PatchpatchField (const GeometricField &) const
 
template<class GeometricField , class Type >
const GeometricField::PatchlookupPatchField (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
 
- Public Member Functions inherited from patchIdentifier
 patchIdentifier (const patchIdentifier &)=default
 
patchIdentifieroperator= (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 wordname () const noexcept
 
wordname () noexcept
 
label index () const noexcept
 
label & index () noexcept
 
const wordphysicalType () const noexcept
 
wordphysicalType () noexcept
 
const wordListinGroups () const noexcept
 
wordListinGroups () noexcept
 
bool inGroup (const word &name) const
 
void write (Ostream &os) const
 
- Public Member Functions inherited from List
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)
 
TnewElmt (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)
 
IstreamreadList (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)
 
IstreamreadList (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)
 
IstreamreadList (Istream &is)
 

Additional Inherited Members

- Public Types inherited from faPatch
typedef faBoundaryMesh BoundaryMesh
 
- Public Types inherited from List
typedef SubList< TsubList
 
- Static Public Member Functions inherited from faPatch
static autoPtr< faPatchNew (const word &name, const dictionary &dict, const label index, const faBoundaryMesh &bm)
 
- Static Public Member Functions inherited from patchIdentifier
static word defaultName (const label n=-1)
 
- Static Public Member Functions inherited from List
static const List< T > & null ()
 
- Protected Member Functions inherited from faPatch
void calcPointLabels () const
 
void calcPointEdges () const
 
virtual void initGeometry ()
 
virtual void calcGeometry ()
 
virtual void initMovePoints (const pointField &)
 
virtual void movePoints (const pointField &)
 
virtual void initUpdateMesh ()
 
virtual void updateMesh ()
 

Detailed Description

A patch which will not exist in the faMesh. Typical example is a front and back plane of a 2-D geometry.

Author Zeljko Tukovic, FMENA Hrvoje Jasak, Wikki Ltd.

Source files

Definition at line 52 of file emptyFaPatch.H.

Constructor & Destructor Documentation

◆ emptyFaPatch() [1/3]

emptyFaPatch ( const word name,
const label  index,
const faBoundaryMesh bm,
const label  ngbPolyPatchIndex = -1 
)

Definition at line 41 of file emptyFaPatch.C.

◆ emptyFaPatch() [2/3]

emptyFaPatch ( const word name,
const labelList edgeLabels,
const label  index,
const faBoundaryMesh bm,
const label  ngbPolyPatchIndex 
)

Definition at line 53 of file emptyFaPatch.C.

◆ emptyFaPatch() [3/3]

emptyFaPatch ( const word name,
const dictionary dict,
const label  index,
const faBoundaryMesh bm 
)
inline

Definition at line 85 of file emptyFaPatch.H.

Member Function Documentation

◆ TypeName()

TypeName ( "empty"  )

◆ clone()

virtual autoPtr<faPatch> clone ( const faBoundaryMesh bm,
const labelList edgeLabels,
const label  index,
const label  ngbPolyPatchIndex 
) const
inlinevirtual

Reimplemented from faPatch.

Definition at line 98 of file emptyFaPatch.H.

References faPatch::edgeLabels(), patchIdentifier::index(), patchIdentifier::name(), and faPatch::ngbPolyPatchIndex().

Here is the call graph for this function:

◆ size()

virtual label size ( ) const
inlinevirtual

Reimplemented from faPatch.

Definition at line 121 of file emptyFaPatch.H.


The documentation for this class was generated from the following files: