libMesh
Public Member Functions | Public Attributes | List of all members
libMesh::PetscDMContext Struct Reference

Struct to house data regarding where in the mesh hierarchy we are located. More...

#include <petsc_dm_wrapper.h>

Public Member Functions

 PetscDMContext ()
 

Public Attributes

int n_dofs
 
int mesh_dim
 
DM * coarser_dm
 
DM * finer_dm
 
DM * global_dm
 
PetscMatrix< libMesh::Number > * K_interp_ptr
 
PetscMatrix< libMesh::Number > * K_sub_interp_ptr
 
PetscMatrix< libMesh::Number > * K_restrict_ptr
 
PetscVector< libMesh::Number > * current_vec
 
std::vector< std::vector< numeric_index_type > > dof_vec
 Stores local dofs for each var for use in subprojection matrixes. More...
 
std::vector< PetscInt > subfields
 Stores subfield ids for use in subprojection matrixes on coarser DMs. More...
 

Detailed Description

Struct to house data regarding where in the mesh hierarchy we are located.

Definition at line 55 of file petsc_dm_wrapper.h.

Constructor & Destructor Documentation

◆ PetscDMContext()

libMesh::PetscDMContext::PetscDMContext ( )
inline

Definition at line 73 of file petsc_dm_wrapper.h.

73  :
74  n_dofs(-12345),
75  mesh_dim(-12345),
76  coarser_dm(nullptr),
77  finer_dm(nullptr),
78  global_dm(nullptr),
79  K_interp_ptr(nullptr),
80  K_sub_interp_ptr(nullptr),
81  K_restrict_ptr(nullptr),
82  current_vec(nullptr)
83  {}
PetscMatrix< libMesh::Number > * K_interp_ptr
PetscMatrix< libMesh::Number > * K_restrict_ptr
PetscVector< libMesh::Number > * current_vec
PetscMatrix< libMesh::Number > * K_sub_interp_ptr

Member Data Documentation

◆ coarser_dm

DM* libMesh::PetscDMContext::coarser_dm

Definition at line 59 of file petsc_dm_wrapper.h.

Referenced by libMesh::libmesh_petsc_DMCoarsen().

◆ current_vec

PetscVector<libMesh::Number>* libMesh::PetscDMContext::current_vec

Definition at line 65 of file petsc_dm_wrapper.h.

◆ dof_vec

std::vector<std::vector<numeric_index_type> > libMesh::PetscDMContext::dof_vec

Stores local dofs for each var for use in subprojection matrixes.

Definition at line 68 of file petsc_dm_wrapper.h.

Referenced by libMesh::libmesh_petsc_DMCreateInterpolation().

◆ finer_dm

DM* libMesh::PetscDMContext::finer_dm

Definition at line 60 of file petsc_dm_wrapper.h.

Referenced by libMesh::libmesh_petsc_DMRefine().

◆ global_dm

DM* libMesh::PetscDMContext::global_dm

◆ K_interp_ptr

PetscMatrix<libMesh::Number>* libMesh::PetscDMContext::K_interp_ptr

Definition at line 62 of file petsc_dm_wrapper.h.

Referenced by libMesh::libmesh_petsc_DMCreateInterpolation().

◆ K_restrict_ptr

PetscMatrix<libMesh::Number>* libMesh::PetscDMContext::K_restrict_ptr

Definition at line 64 of file petsc_dm_wrapper.h.

Referenced by libMesh::libmesh_petsc_DMCreateRestriction().

◆ K_sub_interp_ptr

PetscMatrix<libMesh::Number>* libMesh::PetscDMContext::K_sub_interp_ptr

Definition at line 63 of file petsc_dm_wrapper.h.

Referenced by libMesh::libmesh_petsc_DMCreateInterpolation().

◆ mesh_dim

int libMesh::PetscDMContext::mesh_dim

Definition at line 58 of file petsc_dm_wrapper.h.

Referenced by libMesh::if().

◆ n_dofs

int libMesh::PetscDMContext::n_dofs

Definition at line 57 of file petsc_dm_wrapper.h.

◆ subfields

std::vector<PetscInt> libMesh::PetscDMContext::subfields

Stores subfield ids for use in subprojection matrixes on coarser DMs.

Definition at line 71 of file petsc_dm_wrapper.h.

Referenced by libMesh::libmesh_petsc_DMCoarsen(), and libMesh::libmesh_petsc_DMCreateInterpolation().


The documentation for this struct was generated from the following file: