Declaration of a cell type for indicating if a cell is covered, ghost, etc.
More...
#include "petsc.h"
#include <SPMD.H>
#include <CD_NamespaceHeader.H>
#include <CD_NamespaceFooter.H>
Go to the source code of this file.
|
| class | PetscAMRCell |
| | Class for storing grid information and corresponding PETSc rows. Used for mapping between Chombo and PETSC. More...
|
Declaration of a cell type for indicating if a cell is covered, ghost, etc.
- Author
- Robert Marskar
◆ linearIn()
| void linearIn |
( |
PetscAMRCell & | a_amrCell, |
|
|
const void *const | a_buffer ) |
PetscAMRCell specialization of the linearization function used by LevelData.
- Parameters
-
| [out] | a_amrCell | Input object |
| [in] | a_buffer | Buffer |
◆ linearOut()
| void linearOut |
( |
void *const | a_buffer, |
|
|
const PetscAMRCell & | a_amrCell ) |
PetscAMRCell specialization of the linearization function used by LevelData.
- Parameters
-
| [out] | a_buffer | Buffer to which we write the data |
| [in] | a_amrCell | Object to linearize |
◆ linearSize()
PetscAMRCell specialization of the linearization size function used by LevelData.
- Parameters
-
| [in] | a_amrCell | Input object |
- Returns
- Number of bytes needed to linearize a_amrCell.