PetIBM 0.5.4
Toolbox and applications of the immersed-boundary method for distributed-memory architectures
singlebody.h File Reference

body::SingleBodyBase, type::SingleBody factory function. More...

#include <memory>
#include <petscdm.h>
#include <petscsys.h>
#include <petibm/mesh.h>
#include <petibm/type.h>

Go to the source code of this file.

Classes

class  petibm::body::SingleBodyBase
 Base (abstract) class for a single body. More...
 

Namespaces

namespace  petibm
 A toolbox for building flow solvers.
 
namespace  petibm::body
 A namespace for objects and functions related to immersed-boundary bodies.
 
namespace  petibm::type
 Frequently used types, structures, and enums.
 

Typedefs

typedef std::shared_ptr< body::SingleBodyBase > petibm::type::SingleBody
 Definition of type::SingleBody. More...
 

Functions

PetscErrorCode petibm::body::createSingleBody (const MPI_Comm &comm, const PetscInt &dim, const std::string &type, const std::string &name, const std::string &filePath, type::SingleBody &body)
 Factory function to create a single body. More...
 

Detailed Description

body::SingleBodyBase, type::SingleBody factory function.

License
BSD 3-Clause License.

Definition in file singlebody.h.