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::BodyPackBase > BodyPack
 Definition of type::BodyPack. More...
 
typedef std::shared_ptr< boundary::BoundaryBase > Boundary
 Type definition of petibm::type::Boundary. More...
 
typedef std::shared_ptr< misc::LinInterpBase > LinInterp
 Type definition of LinInterp. More...
 
typedef std::shared_ptr< linsolver::LinSolverBase > LinSolver
 Type definition of LinSolver. More...
 
typedef std::shared_ptr< mesh::MeshBase > Mesh
 Type definition of Mesh. More...
 
typedef std::shared_ptr< misc::ProbeBase > Probe
 Type definition of Probe. More...
 
typedef std::shared_ptr< body::SingleBodyBase > SingleBody
 Definition of type::SingleBody. More...
 
typedef std::shared_ptr< boundary::SingleBoundaryBase > SingleBoundary
 Definition of type petibm::type::SingleBoundary. More...
 
typedef std::shared_ptr< solution::SolutionBase > Solution
 Type definition of solution object. More...
 
typedef std::shared_ptr< timeintegration::TimeIntegrationBase > TimeIntegration
 Definition of type::TimeIntegration. More...
 
typedef std::vector< PetscInt > IntVec1D
 1D std::vector holding PetscInt. More...
 
typedef std::vector< IntVec1D > IntVec2D
 2D std::vector holding PetscInt. More...
 
typedef std::vector< IntVec2D > IntVec3D
 3D std::vector holding PetscInt. More...
 
typedef std::vector< PetscReal > RealVec1D
 1D std::vector holding PetscReal. More...
 
typedef std::vector< RealVec1D > RealVec2D
 2D std::vector holding PetscReal. More...
 
typedef std::vector< RealVec2D > RealVec3D
 3D std::vector holding PetscReal. More...
 
typedef std::vector< PetscBool > BoolVec1D
 1D std::vector holding PetscBool. More...
 
typedef std::vector< BoolVec1D > BoolVec2D
 2D std::vector holding PetscBool. More...
 
typedef std::vector< BoolVec2D > BoolVec3D
 3D std::vector holding PetscBool. More...
 
typedef std::vector< PetscReal * > GhostedVec2D
 a vector of pointers to mimic ghosted 1D vectors. More...
 
typedef std::vector< GhostedVec2D > GhostedVec3D
 a vector of vector pointers to mimic ghosted 2D vectors. type More...
 
typedef std::map< MatStencil, GhostPointInfo > GhostPointsList
 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, Dir > str2dir {{"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, Field > str2fd
 Mapping between std::string and Field. More...
 
std::map< Field, std::string > fd2str
 Mapping between Field and std::string. More...
 
std::map< std::string, BCType > str2bt
 Mapping between std::string and BCType. More...
 
std::map< BCType, std::string > bt2str
 mapping between BCType and std::string. More...
 
std::map< std::string, BCLoc > str2bl
 Mapping between std::string and BCLoc. More...
 
std::map< BCLoc, std::string > bl2str
 Mapping between BCLoc and std::string. More...
 
std::map< std::string, ProbeType > str2ProbeType
 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.