hemocell
Loading...
Searching...
No Matches
Classes | Public Member Functions | Public Attributes | List of all members
hemo::PreInlet Class Reference

#include <preInlet.h>

Collaboration diagram for hemo::PreInlet:
Collaboration graph
[legend]

Classes

class  CreateDrivingForceFunctional
 
class  CreatePreInletBoundingBox
 
class  FillFlagMatrix
 

Public Member Functions

 PreInlet (hemo::HemoCell *hemocell_, plb::MultiScalarField3D< int > *flagMatrix_)
 
 PreInlet (hemo::HemoCell *hemocell_, plb::MultiBlockManagement3D &management)
 
plint getNumberOfNodes ()
 
void createBoundary ()
 
bool readNormalizedVelocities ()
 
void setDrivingForce ()
 
void setDrivingForceTimeDependent (double t)
 
void calculateDrivingForce ()
 
double interpolate (vector< double > &xData, vector< double > &yData, double x, bool extrapolate)
 
double average (vector< double > values)
 
void applyPreInletVelocityBoundary ()
 
void applyPreInletParticleBoundary ()
 
void applyPreInlet ()
 
void initializePreInletParticleBoundary ()
 
void initializePreInletVelocityBoundary ()
 
void initializePreInlet ()
 
void autoPreinletFromBoundary (Direction)
 
void preInletFromSlice (Direction direction_, Box3D boundary)
 

Public Attributes

Direction direction = Direction::Zneg
 
plb::Box3D location
 
plb::Box3D fluidInlet
 
int nProcs = 0
 
bool initialized = false
 
double drivingForce = 0.0
 
double average_vel = 0.0
 
double pulseEndTime = 1.0
 
double pFrequency = 1.0
 
std::vector< double > normalizedVelocityTimes
 
std::vector< double > normalizedVelocityValues
 
std::map< plint, plintBlockToMpi
 
std::map< int, plintparticleSendMpi
 
std::map< int, bool > particleReceiveMpi
 
std::vector< plintcommunicating_blocks
 
std::map< int, Box3D > domain_at_rank
 
std::vector< int > my_send_blocks
 
std::vector< int > my_recv_blocks
 
int sendingBlocks = 0
 
bool partOfpreInlet = false
 
int inflow_length = 0
 
int preinlet_length = 0
 
bool communications_mapped = false
 
std::vector< int > particle_receivers
 
std::vector< int > particle_senders
 
HemoCellhemocell
 
MultiScalarField3D< int > * flagMatrix = 0
 

Constructor & Destructor Documentation

◆ PreInlet() [1/2]

hemo::PreInlet::PreInlet ( hemo::HemoCell hemocell_,
plb::MultiScalarField3D< int > *  flagMatrix_ 
)

◆ PreInlet() [2/2]

hemo::PreInlet::PreInlet ( hemo::HemoCell hemocell_,
plb::MultiBlockManagement3D &  management 
)

Member Function Documentation

◆ applyPreInlet()

void hemo::PreInlet::applyPreInlet ( )
inline

◆ applyPreInletParticleBoundary()

void hemo::PreInlet::applyPreInletParticleBoundary ( )

◆ applyPreInletVelocityBoundary()

void hemo::PreInlet::applyPreInletVelocityBoundary ( )

◆ autoPreinletFromBoundary()

void hemo::PreInlet::autoPreinletFromBoundary ( Direction  dir_)

◆ average()

double hemo::PreInlet::average ( vector< double >  values)

◆ calculateDrivingForce()

void hemo::PreInlet::calculateDrivingForce ( )

◆ createBoundary()

void hemo::PreInlet::createBoundary ( )

◆ getNumberOfNodes()

plint hemo::PreInlet::getNumberOfNodes ( )
inline

◆ initializePreInlet()

void hemo::PreInlet::initializePreInlet ( )
inline

◆ initializePreInletParticleBoundary()

void hemo::PreInlet::initializePreInletParticleBoundary ( )

◆ initializePreInletVelocityBoundary()

void hemo::PreInlet::initializePreInletVelocityBoundary ( )

◆ interpolate()

double hemo::PreInlet::interpolate ( vector< double > &  xData,
vector< double > &  yData,
double  x,
bool  extrapolate 
)

◆ preInletFromSlice()

void hemo::PreInlet::preInletFromSlice ( Direction  direction_,
Box3D  boundary 
)

◆ readNormalizedVelocities()

bool hemo::PreInlet::readNormalizedVelocities ( )

◆ setDrivingForce()

void hemo::PreInlet::setDrivingForce ( )

◆ setDrivingForceTimeDependent()

void hemo::PreInlet::setDrivingForceTimeDependent ( double  t)

Member Data Documentation

◆ average_vel

double hemo::PreInlet::average_vel = 0.0

◆ BlockToMpi

std::map<plint,plint> hemo::PreInlet::BlockToMpi

◆ communicating_blocks

std::vector<plint> hemo::PreInlet::communicating_blocks

◆ communications_mapped

bool hemo::PreInlet::communications_mapped = false

◆ direction

Direction hemo::PreInlet::direction = Direction::Zneg

◆ domain_at_rank

std::map<int, Box3D> hemo::PreInlet::domain_at_rank

◆ drivingForce

double hemo::PreInlet::drivingForce = 0.0

◆ flagMatrix

MultiScalarField3D<int>* hemo::PreInlet::flagMatrix = 0

◆ fluidInlet

plb::Box3D hemo::PreInlet::fluidInlet

◆ hemocell

HemoCell* hemo::PreInlet::hemocell

◆ inflow_length

int hemo::PreInlet::inflow_length = 0

◆ initialized

bool hemo::PreInlet::initialized = false

◆ location

plb::Box3D hemo::PreInlet::location

◆ my_recv_blocks

std::vector<int> hemo::PreInlet::my_recv_blocks

◆ my_send_blocks

std::vector<int> hemo::PreInlet::my_send_blocks

◆ normalizedVelocityTimes

std::vector<double> hemo::PreInlet::normalizedVelocityTimes

◆ normalizedVelocityValues

std::vector<double> hemo::PreInlet::normalizedVelocityValues

◆ nProcs

int hemo::PreInlet::nProcs = 0

◆ particle_receivers

std::vector<int> hemo::PreInlet::particle_receivers

◆ particle_senders

std::vector<int> hemo::PreInlet::particle_senders

◆ particleReceiveMpi

std::map<int,bool> hemo::PreInlet::particleReceiveMpi

◆ particleSendMpi

std::map<int,plint> hemo::PreInlet::particleSendMpi

◆ partOfpreInlet

bool hemo::PreInlet::partOfpreInlet = false

◆ pFrequency

double hemo::PreInlet::pFrequency = 1.0

◆ preinlet_length

int hemo::PreInlet::preinlet_length = 0

◆ pulseEndTime

double hemo::PreInlet::pulseEndTime = 1.0

◆ sendingBlocks

int hemo::PreInlet::sendingBlocks = 0