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::Real > * K_interp_ptr
 
PetscMatrix< libMesh::Real > * K_sub_interp_ptr
 
PetscMatrix< libMesh::Real > * K_restrict_ptr
 
PetscVector< libMesh::Real > * current_vec
 
std::vector< std::vector< numeric_index_type > > dof_vec
 Stores local dofs for each var for use in subprojection matrixes. More...
 

Detailed Description

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

Definition at line 47 of file petsc_dm_wrapper.h.

Constructor & Destructor Documentation

◆ PetscDMContext()

libMesh::PetscDMContext::PetscDMContext ( )

Definition at line 62 of file petsc_dm_wrapper.h.

62  :
63  n_dofs(-12345),
64  mesh_dim(-12345),
65  coarser_dm(nullptr),
66  finer_dm(nullptr),
67  global_dm(nullptr),
68  K_interp_ptr(nullptr),
69  K_sub_interp_ptr(nullptr),
70  K_restrict_ptr(nullptr),
71  current_vec(nullptr)
72  {}
PetscMatrix< libMesh::Real > * K_sub_interp_ptr
PetscMatrix< libMesh::Real > * K_interp_ptr
PetscVector< libMesh::Real > * current_vec
PetscMatrix< libMesh::Real > * K_restrict_ptr

Member Data Documentation

◆ coarser_dm

DM* libMesh::PetscDMContext::coarser_dm

Definition at line 51 of file petsc_dm_wrapper.h.

◆ current_vec

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

Definition at line 57 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 60 of file petsc_dm_wrapper.h.

◆ finer_dm

DM* libMesh::PetscDMContext::finer_dm

Definition at line 52 of file petsc_dm_wrapper.h.

◆ global_dm

DM* libMesh::PetscDMContext::global_dm

Definition at line 53 of file petsc_dm_wrapper.h.

◆ K_interp_ptr

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

Definition at line 54 of file petsc_dm_wrapper.h.

◆ K_restrict_ptr

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

Definition at line 56 of file petsc_dm_wrapper.h.

◆ K_sub_interp_ptr

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

Definition at line 55 of file petsc_dm_wrapper.h.

◆ mesh_dim

int libMesh::PetscDMContext::mesh_dim

Definition at line 50 of file petsc_dm_wrapper.h.

◆ n_dofs

int libMesh::PetscDMContext::n_dofs

Definition at line 49 of file petsc_dm_wrapper.h.


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