mirror of
https://github.com/PhasicFlow/phasicFlow.git
synced 2025-06-22 16:28:30 +00:00
Boundary conditions are created and tested.
- exit and periodic, follows the previous commit.
This commit is contained in:
@ -0,0 +1,29 @@
|
||||
#include "boundaryContactSearchList.hpp"
|
||||
#include "boundaryList.hpp"
|
||||
|
||||
void pFlow::boundaryContactSearchList::setList(
|
||||
const dictionary &dict,
|
||||
const contactSearch &cSearch)
|
||||
{
|
||||
for(auto i=0; i<boundaries_.size(); i++)
|
||||
{
|
||||
this->set
|
||||
(
|
||||
i,
|
||||
boundaryContactSearch::create(dict, boundaries_[i], cSearch)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
pFlow::boundaryContactSearchList::boundaryContactSearchList(
|
||||
const dictionary &dict,
|
||||
const boundaryList& bndrs,
|
||||
const contactSearch &cSearch)
|
||||
:
|
||||
ListPtr(bndrs.size()),
|
||||
boundaries_(bndrs)
|
||||
{
|
||||
setList(dict, cSearch);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user