Chi-Tech
chi_math::PETScUtils::GhostVecLocalRaw Struct Reference

#include <petsc_utils.h>

Public Member Functions

double operator[] (int index)
 
double & operator() (int index)
 

Data Fields

Vec x_localized = nullptr
 
double * x_localized_raw = nullptr
 

Detailed Description

Simple data structure to keep track of a ghost vector's localized views.

Definition at line 85 of file petsc_utils.h.

Member Function Documentation

◆ operator()()

double & chi_math::PETScUtils::GhostVecLocalRaw::operator() ( int  index)
inline

Returns a reference of the value at the specified index.

Definition at line 95 of file petsc_utils.h.

◆ operator[]()

double chi_math::PETScUtils::GhostVecLocalRaw::operator[] ( int  index)
inline

Returns a copy of the value at the specified index.

Definition at line 91 of file petsc_utils.h.

Field Documentation

◆ x_localized

Vec chi_math::PETScUtils::GhostVecLocalRaw::x_localized = nullptr

Definition at line 87 of file petsc_utils.h.

◆ x_localized_raw

double* chi_math::PETScUtils::GhostVecLocalRaw::x_localized_raw = nullptr

Definition at line 88 of file petsc_utils.h.


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