PETSc version 3.17.5
DMPlexLandauCreateVelocitySpace
Create a DMPlex velocity space mesh
Synopsis
#include "petscdmplex.h"
#include "petsclandau.h"
PetscErrorCode DMPlexLandauCreateVelocitySpace(MPI_Comm comm, PetscInt dim, const char prefix[], Vec *X, Mat *J, DM *pack)
Collective on comm
Input Parameters
+ comm - The MPI communicator
. dim - velocity space dimension (2 for axisymmetric, 3 for full 3X + 3V solver)
- prefix - prefix for options (not tested)
Output Parameter
. pack - The DM object representing the mesh
+ X - A vector (user destroys)
- J - Optional matrix (object destroys)
.keywords: mesh
.seealso: DMPlexCreate(), DMPlexLandauDestroyVelocitySpace()
Level
beginner
Location
src/ts/utils/dmplexlandauplexland.c
Examples
src/ts/utils/dmplexlandau/tutorials/ex1.c.html
src/ts/utils/dmplexlandau/tutorials/ex2.c.html
src/ts/utils/dmplexlandau/tutorials/ex1f90.F90.html
Index of all LANDAU routines
Table of Contents for all manual pages
Index of all manual pages