www.cemf.ir
boundaryList Class Reference
+ Inheritance diagram for boundaryList:
+ Collaboration diagram for boundaryList:

Public Member Functions

 TypeInfo ("boundaryList")
 type info More...
 
 boundaryList (pointStructure &pStruct)
 
virtual ~boundaryList ()=default
 
bool updateNeighborLists (uint32 iter, bool force=false)
 update neighbor list of boundaries based on the time intervals More...
 
bool createBoundaries ()
 
const pointStructurepStruct () const
 
auto & boundary (size_t i)
 
const auto & boundary (size_t i) const
 
bool boundariesUpdated () const
 
const auto & extendedDomain () const
 
const auto & extendedDomainBox () const
 
box internalDomainBox () const
 
bool beforeIteration (const timeInfo &tf, bool force=false)
 
bool iterate (const timeInfo &tf, bool force=false)
 
bool afterIteration (const timeInfo &tf, bool force=false)
 
- Public Member Functions inherited from ListPtr< boundaryBase >
 TypeInfoTemplateNV11 ("ListPtr", boundaryBase)
 
 ListPtr ()
 
 ListPtr (size_t len)
 
 ListPtr (const ListPtrType &src)
 
 ListPtr (ListPtrType &&src)
 
ListPtrTypeoperator= (const ListPtrType &rhs)
 
ListPtrTypeoperator= (ListPtrType &&rhs)
 
ListPtrTypeclonePtr () const
 
uniquePtr< ListPtrTypeclone () const
 
 ~ListPtr ()
 
uniquePtr< boundaryBaseset (size_t i, boundaryBase *ptr)
 
uniquePtr< boundaryBaseset (size_t i, uniquePtr< boundaryBase > &&ptr)
 
uniquePtr< boundaryBasesetSafe (size_t i, Args &&... args)
 
pFlow::uniquePtr< boundaryBasesetSafe (size_t i, Args &&... args)
 
void push_back (boundaryBase *ptr)
 
void push_back (uniquePtr< boundaryBase > &&ptr)
 
void push_backSafe (Args &&... args)
 
boundaryBaseoperator[] (size_t i)
 
const boundaryBaseoperator[] (size_t i) const
 
size_t size () const
 
auto empty () const
 
uniquePtr< boundaryBaserelease (size_t i)
 
void clear ()
 
void clear (size_t i)
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 

Private Member Functions

void setExtendedDomain ()
 
bool resetLists ()
 
bool updateNeighborLists ()
 update neighbor list of boundaries regardless of the time intervals More...
 

Private Attributes

pointStructurepStruct_
 
uint32 neighborListUpdateInterval_
 
uint32 updateInterval_
 
uint32 lastNeighborUpdated_ = 0
 
bool neighborListUpdate_
 
bool boundaryUpdate_
 
bool iterBeforeBoundaryUpdate_
 
domain extendedDomain_
 
box internalDomainBox_
 
bool listSet_ = false
 

Additional Inherited Members

- Public Types inherited from ListPtr< boundaryBase >
using ListPtrType = ListPtr< boundaryBase >
 
using listType = std::list< boundaryBase * >
 
using iterator = typename listType::iterator
 
using const_iterator = typename listType::const_iterator
 
- Static Public Member Functions inherited from ListPtr< boundaryBase >
static uniquePtr< boundaryBasemakeSafe (Args &&... args)
 
- Protected Member Functions inherited from ListPtr< boundaryBase >
bool copy (const ListPtrType &src)
 
boundaryBaseptr (size_t i)
 
const boundaryBaseptr (size_t i) const
 
auto pos (size_t i)
 
auto pos (size_t i) const
 
- Protected Attributes inherited from ListPtr< boundaryBase >
std::list< boundaryBase * > list_
 

Detailed Description

Definition at line 35 of file boundaryList.hpp.

Constructor & Destructor Documentation

◆ boundaryList()

◆ ~boundaryList()

virtual ~boundaryList ( )
virtualdefault

Member Function Documentation

◆ setExtendedDomain()

void setExtendedDomain ( )
private

◆ resetLists()

bool resetLists ( )
private

Definition at line 46 of file boundaryList.cpp.

◆ updateNeighborLists() [1/2]

bool updateNeighborLists ( )
private

update neighbor list of boundaries regardless of the time intervals

Definition at line 54 of file boundaryList.cpp.

◆ TypeInfo()

TypeInfo ( "boundaryList"  )

type info

◆ updateNeighborLists() [2/2]

bool updateNeighborLists ( uint32  iter,
bool  force = false 
)

update neighbor list of boundaries based on the time intervals

Definition at line 106 of file boundaryList.cpp.

References pFlow::endl(), and fatalErrorInFunction.

+ Here is the call graph for this function:

◆ createBoundaries()

bool createBoundaries ( )

Definition at line 141 of file boundaryList.cpp.

References boundaryBase::create().

+ Here is the call graph for this function:

◆ pStruct()

const pointStructure& pStruct ( ) const
inline

Definition at line 89 of file boundaryList.hpp.

References boundaryList::pStruct_.

Referenced by boundaryFieldList< VectorField, realx3, void >::boundaryFieldList().

+ Here is the caller graph for this function:

◆ boundary() [1/2]

auto& boundary ( size_t  i)
inline

Definition at line 95 of file boundaryList.hpp.

References ListPtr< T >::operator[]().

Referenced by boundaryList::setExtendedDomain().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ boundary() [2/2]

const auto& boundary ( size_t  i) const
inline

Definition at line 101 of file boundaryList.hpp.

References ListPtr< T >::operator[]().

+ Here is the call graph for this function:

◆ boundariesUpdated()

bool boundariesUpdated ( ) const
inline

Definition at line 107 of file boundaryList.hpp.

References boundaryList::boundaryUpdate_.

◆ extendedDomain()

const auto& extendedDomain ( ) const
inline

Definition at line 113 of file boundaryList.hpp.

References boundaryList::extendedDomain_.

Referenced by pointStructure::extendedDomain().

+ Here is the caller graph for this function:

◆ extendedDomainBox()

const auto& extendedDomainBox ( ) const
inline

Definition at line 119 of file boundaryList.hpp.

References domain::domainBox(), and boundaryList::extendedDomain_.

+ Here is the call graph for this function:

◆ internalDomainBox()

pFlow::box internalDomainBox ( ) const

Definition at line 165 of file boundaryList.cpp.

Referenced by pointStructure::internalDomainBox().

+ Here is the caller graph for this function:

◆ beforeIteration()

bool beforeIteration ( const timeInfo tf,
bool  force = false 
)

Definition at line 186 of file boundaryList.cpp.

References pFlow::endl(), fatalErrorInFunction, and timeInfo::iter().

+ Here is the call graph for this function:

◆ iterate()

bool iterate ( const timeInfo tf,
bool  force = false 
)

Definition at line 237 of file boundaryList.cpp.

References pFlow::endl(), and fatalErrorInFunction.

+ Here is the call graph for this function:

◆ afterIteration()

bool afterIteration ( const timeInfo tf,
bool  force = false 
)

Definition at line 252 of file boundaryList.cpp.

References pFlow::endl(), fatalErrorInFunction, and timeInfo::iter().

+ Here is the call graph for this function:

Member Data Documentation

◆ pStruct_

◆ neighborListUpdateInterval_

uint32 neighborListUpdateInterval_
private

Definition at line 44 of file boundaryList.hpp.

Referenced by boundaryList::boundaryList().

◆ updateInterval_

uint32 updateInterval_
private

Definition at line 46 of file boundaryList.hpp.

Referenced by boundaryList::boundaryList().

◆ lastNeighborUpdated_

uint32 lastNeighborUpdated_ = 0
private

Definition at line 48 of file boundaryList.hpp.

◆ neighborListUpdate_

bool neighborListUpdate_
private

Definition at line 50 of file boundaryList.hpp.

◆ boundaryUpdate_

bool boundaryUpdate_
private

Definition at line 52 of file boundaryList.hpp.

Referenced by boundaryList::boundariesUpdated().

◆ iterBeforeBoundaryUpdate_

bool iterBeforeBoundaryUpdate_
private

Definition at line 54 of file boundaryList.hpp.

◆ extendedDomain_

domain extendedDomain_
private

◆ internalDomainBox_

box internalDomainBox_
private

Definition at line 58 of file boundaryList.hpp.

◆ listSet_

bool listSet_ = false
private

Definition at line 60 of file boundaryList.hpp.

Referenced by boundaryList::setExtendedDomain().


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