PlasCom2  1.0
XPACC Multi-physics simluation application
NavierStokesBC.H
Go to the documentation of this file.
1 #ifndef __NAVIER_STOKES_BC_H__
2 #define __NAVIER_STOKES_BC_H__
3 #include "PCPPTypes.H"
4 namespace simulation {
5  namespace domain {
6  namespace boundary {
7  namespace bc {
8  namespace navierstokes {
10  static const char *bcNames[] = {"SAT_FARFIELD","SAT_NOSLIP_ISOTHERMAL","SAT_SLIP_ADIABATIC","HOLE","SPONGE","UNKNOWN"};
11 
12  int ResolveBCName(const std::string &inName);
13 
14  std::string ResolveBCType(int inType);
15 
16  void LinearSponge(const std::vector<size_t> &bufferSizes,int normalDir,
17  const pcpp::IndexIntervalType &spongeRegion,
18  const pcpp::IndexIntervalType &partitionOpInterval,
19  const pcpp::IndexIntervalType &opBufferInterval,
20  const double *bcParams,const int *bcFlags,
21  const int numEquations,
22  const std::vector<double *> &stateBuffers,
23  const std::vector<double *> &targetBuffers,
24  std::vector<double *> &rhsBuffers);
25 
26  void SpongeZone(const std::vector<size_t> &bufferSizes,int normalDir,
27  const pcpp::IndexIntervalType &spongeRegion,
28  const pcpp::IndexIntervalType &partitionOpInterval,
29  const pcpp::IndexIntervalType &opBufferInterval,
30  const double *bcParams,const int *bcFlags,
31  const int *iMask,const int disabledMask,
32  const int numEquations,
33  const std::vector<double *> &stateBuffers,
34  const std::vector<double *> &targetBuffers,
35  std::vector<double *> &rhsBuffers);
36 
37 
38  }
39  }
40  }
41  }
42 }
43 #endif
void SpongeZone(const std::vector< size_t > &bufferSizes, int normalDir, const pcpp::IndexIntervalType &spongeRegion, const pcpp::IndexIntervalType &partitionOpInterval, const pcpp::IndexIntervalType &opBufferInterval, const double *bcParams, const int *bcFlags, const int *iMask, const int disabledMask, const int numEquations, const std::vector< double *> &stateBuffers, const std::vector< double *> &targetBuffers, std::vector< double *> &rhsBuffers)
void LinearSponge(const std::vector< size_t > &bufferSizes, int normalDir, const pcpp::IndexIntervalType &spongeRegion, const pcpp::IndexIntervalType &partitionOpInterval, const pcpp::IndexIntervalType &opBufferInterval, const double *bcParams, const int *bcFlags, const int numEquations, const std::vector< double *> &stateBuffers, const std::vector< double *> &targetBuffers, std::vector< double *> &rhsBuffers)
void const size_t const size_t * bufferSizes
Definition: MetricKernels.H:19
Simple Block Structured Mesh object.
Definition: IndexUtil.H:21
int ResolveBCName(const std::string &inName)
void const size_t const size_t const int const size_t const size_t const size_t const size_t const int const double const double const double * bcParams
Definition: SATKernels.H:10