PetIBM 0.5.4
Toolbox and applications of the immersed-boundary method for distributed-memory architectures
|
An utility that calculates vorticity fields. More...
#include <iomanip>
#include <sstream>
#include <petsc.h>
#include <petscviewerhdf5.h>
#include <yaml-cpp/yaml.h>
#include <petibm/boundary.h>
#include <petibm/io.h>
#include <petibm/mesh.h>
#include <petibm/parser.h>
#include <petibm/solution.h>
#include <petibm/type.h>
Go to the source code of this file.
Functions | |
PetscErrorCode | initVorticityMesh (const petibm::type::Mesh &mesh, petibm::type::IntVec2D &n, petibm::type::RealVec3D &coord, std::vector< DM > &wDMs, std::vector< std::string > &names, std::vector< Vec > &vecs) |
PetscErrorCode | calculateVorticity2D (const petibm::type::Mesh &mesh, const petibm::type::Boundary &bds, const petibm::type::Solution &soln, const std::vector< DM > &wDm, std::vector< Vec > &w) |
PetscErrorCode | calculateVorticity3D (const petibm::type::Mesh &mesh, const petibm::type::Boundary &bds, const petibm::type::Solution &soln, const std::vector< DM > &wDm, std::vector< Vec > &w) |
int | main (int argc, char **argv) |
An utility that calculates vorticity fields.
Definition in file main.cpp.
PetscErrorCode calculateVorticity2D | ( | const petibm::type::Mesh & | mesh, |
const petibm::type::Boundary & | bds, | ||
const petibm::type::Solution & | soln, | ||
const std::vector< DM > & | wDm, | ||
std::vector< Vec > & | w | ||
) |
PetscErrorCode calculateVorticity3D | ( | const petibm::type::Mesh & | mesh, |
const petibm::type::Boundary & | bds, | ||
const petibm::type::Solution & | soln, | ||
const std::vector< DM > & | wDm, | ||
std::vector< Vec > & | w | ||
) |
PetscErrorCode initVorticityMesh | ( | const petibm::type::Mesh & | mesh, |
petibm::type::IntVec2D & | n, | ||
petibm::type::RealVec3D & | coord, | ||
std::vector< DM > & | wDMs, | ||
std::vector< std::string > & | names, | ||
std::vector< Vec > & | vecs | ||
) |