chombo-discharge
Loading...
Searching...
No Matches
CD_PetscAMRCell.cpp File Reference

Implementation of CD_PetscAMRCell.H. More...

#include <cstdint>
#include <cstring>
#include <type_traits>
#include <CD_PetscAMRCell.H>
#include <CD_NamespaceHeader.H>
#include <CD_NamespaceFooter.H>
Include dependency graph for CD_PetscAMRCell.cpp:

Functions

constexpr int linearSize (const PetscAMRCell &a_amrCell)
 PetscAMRCell specialization of the linearization size function used by LevelData.
void linearIn (PetscAMRCell &a_amrCell, const void *const a_buffer)
 PetscAMRCell specialization of the linearization function used by LevelData.
void linearOut (void *const a_buffer, const PetscAMRCell &a_amrCell)
 PetscAMRCell specialization of the linearization function used by LevelData.

Detailed Description

Implementation of CD_PetscAMRCell.H.

Author
Robert Marskar

Function Documentation

◆ linearIn()

void linearIn ( PetscAMRCell & a_amrCell,
const void *const a_buffer )

PetscAMRCell specialization of the linearization function used by LevelData.

Parameters
[out]a_amrCellInput object
[in]a_bufferBuffer

◆ linearOut()

void linearOut ( void *const a_buffer,
const PetscAMRCell & a_amrCell )

PetscAMRCell specialization of the linearization function used by LevelData.

Parameters
[out]a_bufferBuffer to which we write the data
[in]a_amrCellObject to linearize

◆ linearSize()

int linearSize ( const PetscAMRCell & a_amrCell)
constexpr

PetscAMRCell specialization of the linearization size function used by LevelData.

Parameters
[in]a_amrCellInput object
Returns
Number of bytes needed to linearize a_amrCell.