IBAMR
An adaptive and distributed-memory parallel implementation of the immersed boundary (IB) method
List of all members
IBAMR::StaggeredStokesPETScMatUtilities Class Reference

Class StaggeredStokesPETScMatUtilities provides utility functions for PETSc Mat objects. More...

#include </home/runner/work/IBAMR/IBAMR/include/ibamr/StaggeredStokesPETScMatUtilities.h>

Methods acting on SAMRAI::hier::PatchLevel and

SAMRAI::hier::Variable objects.

static void constructPatchLevelMACStokesOp (Mat &mat, const SAMRAI::solv::PoissonSpecifications &u_problem_coefs, const std::vector< SAMRAI::solv::RobinBcCoefStrategy< NDIM > * > &u_bc_coefs, double data_time, const std::vector< int > &num_dofs_per_proc, int u_dof_index_idx, int p_dof_index_idx, SAMRAI::tbox::Pointer< SAMRAI::hier::PatchLevel< NDIM > > patch_level)
 Construct a parallel PETSc Mat object corresponding to a MAC discretization of the time-dependent incompressible Stokes equations on a single SAMRAI::hier::PatchLevel.
 
static void constructPatchLevelASMSubdomains (std::vector< std::set< int > > &is_overlap, std::vector< std::set< int > > &is_nonoverlap, const SAMRAI::hier::IntVector< NDIM > &box_size, const SAMRAI::hier::IntVector< NDIM > &overlap_size, const std::vector< int > &num_dofs_per_proc, int u_dof_index_idx, int p_dof_index_idx, SAMRAI::tbox::Pointer< SAMRAI::hier::PatchLevel< NDIM > > patch_level, SAMRAI::tbox::Pointer< SAMRAI::hier::CoarseFineBoundary< NDIM > > cf_boundary)
 Partition the patch level into subdomains suitable to be used for additive Schwarz method.
 
static void constructPatchLevelFields (std::vector< std::set< int > > &is_field, std::vector< std::string > &is_field_name, const std::vector< int > &num_dofs_per_proc, int u_dof_index_idx, int p_dof_index_idx, SAMRAI::tbox::Pointer< SAMRAI::hier::PatchLevel< NDIM > > patch_level)
 Partition the patch level into subdomains suitable to be used for PCFieldSplit preconditioner.
 
static void constructProlongationOp (Mat &mat, const std::string &u_op_type, const std::string &p_op_type, int u_dof_index_idx, int p_dof_index_idx, const std::vector< int > &num_fine_dofs_per_proc, const std::vector< int > &num_coarse_dofs_per_proc, SAMRAI::tbox::Pointer< SAMRAI::hier::PatchLevel< NDIM > > fine_patch_level, SAMRAI::tbox::Pointer< SAMRAI::hier::PatchLevel< NDIM > > coarse_patch_level, const AO &coarse_level_ao, const int u_coarse_ao_offset, const int p_coarse_ao_offset)
 Construct a parallel PETSc Mat object corresponding to data prolongation from a coarser level to a finer level.
 

Detailed Description

Class StaggeredStokesPETScMatUtilities provides utility functions for PETSc Mat objects.


The documentation for this class was generated from the following files: