The ParserWrapper struct is constructed to safely use the GpuParser class that can essentially be though of as a raw pointer. The GpuParser does not have an explicit destructor and the AddPlasma subroutines handle the GpuParser in a safe way. The ParserWrapper struct is used to avoid memory leak in the EB parser functions.
More...
#include <WarpXParserWrapper.H>
template<int N>
struct ParserWrapper< N >
The ParserWrapper struct is constructed to safely use the GpuParser class that can essentially be though of as a raw pointer. The GpuParser does not have an explicit destructor and the AddPlasma subroutines handle the GpuParser in a safe way. The ParserWrapper struct is used to avoid memory leak in the EB parser functions.
◆ ParserWrapper()
◆ ~ParserWrapper()
◆ getParser()
◆ operator()()
◆ operator=()
The documentation for this struct was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/warpx/checkouts/20.10/Source/Parser/WarpXParserWrapper.H