PetIBM 0.5.4
Toolbox and applications of the immersed-boundary method for distributed-memory architectures
petibm::type Namespace Reference

Frequently used types, structures, and enums. More...

Classes

struct  GhostPointInfo
 A data structure for a single ghost point. More...
 
struct  RowModifier
 A struct holding information about which row in a matrix should be modified based on BCs. More...
 

Typedefs

typedef std::shared_ptr< body::BodyPackBaseBodyPack
 Definition of type::BodyPack. More...
 
typedef std::shared_ptr< boundary::BoundaryBaseBoundary
 Type definition of petibm::type::Boundary. More...
 
typedef std::shared_ptr< misc::LinInterpBaseLinInterp
 Type definition of LinInterp. More...
 
typedef std::shared_ptr< linsolver::LinSolverBaseLinSolver
 Type definition of LinSolver. More...
 
typedef std::shared_ptr< mesh::MeshBaseMesh
 Type definition of Mesh. More...
 
typedef std::shared_ptr< misc::ProbeBaseProbe
 Type definition of Probe. More...
 
typedef std::shared_ptr< body::SingleBodyBaseSingleBody
 Definition of type::SingleBody. More...
 
typedef std::shared_ptr< boundary::SingleBoundaryBaseSingleBoundary
 Definition of type petibm::type::SingleBoundary. More...
 
typedef std::shared_ptr< solution::SolutionBaseSolution
 Type definition of solution object. More...
 
typedef std::shared_ptr< timeintegration::TimeIntegrationBaseTimeIntegration
 Definition of type::TimeIntegration. More...
 
typedef std::vector< PetscInt > IntVec1D
 1D std::vector holding PetscInt. More...
 
typedef std::vector< IntVec1DIntVec2D
 2D std::vector holding PetscInt. More...
 
typedef std::vector< IntVec2DIntVec3D
 3D std::vector holding PetscInt. More...
 
typedef std::vector< PetscReal > RealVec1D
 1D std::vector holding PetscReal. More...
 
typedef std::vector< RealVec1DRealVec2D
 2D std::vector holding PetscReal. More...
 
typedef std::vector< RealVec2DRealVec3D
 3D std::vector holding PetscReal. More...
 
typedef std::vector< PetscBool > BoolVec1D
 1D std::vector holding PetscBool. More...
 
typedef std::vector< BoolVec1DBoolVec2D
 2D std::vector holding PetscBool. More...
 
typedef std::vector< BoolVec2DBoolVec3D
 3D std::vector holding PetscBool. More...
 
typedef std::vector< PetscReal * > GhostedVec2D
 a vector of pointers to mimic ghosted 1D vectors. More...
 
typedef std::vector< GhostedVec2DGhostedVec3D
 a vector of vector pointers to mimic ghosted 2D vectors. type More...
 
typedef std::map< MatStencil, GhostPointInfoGhostPointsList
 A map between MatStencil and GhostPointInfo. More...
 
typedef std::vector< std::map< MatStencil, RowModifier > > MatrixModifier
 A type that holds necessary info for a matrix modifier that modifies matrix coefficient based on BCs. More...
 

Enumerations

enum  Dir { x = 0 , y , z }
 Legal physical directions. More...
 
enum  Field { u = 0 , v , w , p , vertex }
 Legal fields. More...
 
enum  BCType { NOBC = 0 , PERIODIC , DIRICHLET , NEUMANN , CONVECTIVE }
 Type of boundary conditions. More...
 
enum  BCLoc { XMINUS = 0 , XPLUS , YMINUS , YPLUS , ZMINUS , ZPLUS }
 Location of a boundary. More...
 
enum  ProbeType { POINT = 0 , LINE , SURFACE , VOLUME }
 Type of probe for monitoring solution. More...
 

Variables

std::map< std::string, Dirstr2dir {{"x", x}, {"y", y}, {"z", z}}
 Mapping between std::string and Dir. More...
 
std::map< Dir, std::string > dir2str {{x, "x"}, {y, "y"}, {z, "z"}}
 Mapping between Dir and std::string. More...
 
std::map< std::string, Fieldstr2fd
 Mapping between std::string and Field. More...
 
std::map< Field, std::string > fd2str
 Mapping between Field and std::string. More...
 
std::map< std::string, BCTypestr2bt
 Mapping between std::string and BCType. More...
 
std::map< BCType, std::string > bt2str
 mapping between BCType and std::string. More...
 
std::map< std::string, BCLocstr2bl
 Mapping between std::string and BCLoc. More...
 
std::map< BCLoc, std::string > bl2str
 Mapping between BCLoc and std::string. More...
 
std::map< std::string, ProbeTypestr2ProbeType
 Mapping between std::string and ProbeType. More...
 

Detailed Description

Frequently used types, structures, and enums.

Typedef Documentation

◆ GhostedVec3D

a vector of vector pointers to mimic ghosted 2D vectors. type

Definition at line 157 of file type.h.