GEOSX
Classes | Namespaces | Macros
ArraySlice.hpp File Reference

Contains the implementation of LvArray::ArraySlice. More...

#include "LvArrayConfig.hpp"
#include "indexing.hpp"
#include "Macros.hpp"
#include "totalview/tv_data_display.h"
#include "totalview/tv_helpers.hpp"

Go to the source code of this file.

Classes

class  LvArray::ArraySlice< T, NDIM_TPARAM, USD_TPARAM, INDEX_TYPE >
 This class serves to provide a sliced multidimensional interface to the family of LvArray classes. More...
 

Namespaces

 LvArray
 The top level namespace.
 

Macros

#define DEFINE_GDB_PY_SCRIPT(script_name)   asm (".pushsection \".debug_gdb_scripts\", \"MS\",@progbits,1\n \ .byte 1 /* Python */\n \ .asciz \"" script_name "\"\n \ .popsection \n" );
 Add GDB pretty printers the given script. More...
 
#define ARRAY_SLICE_CHECK_BOUNDS(index)
 Point GDB at the scripts/gdb-printers.py. More...
 

Detailed Description

Contains the implementation of LvArray::ArraySlice.

Definition in file ArraySlice.hpp.

Macro Definition Documentation

◆ ARRAY_SLICE_CHECK_BOUNDS

#define ARRAY_SLICE_CHECK_BOUNDS (   index)

Point GDB at the scripts/gdb-printers.py.

Check that index is a valid index into the first dimension.

Parameters
indexThe index to check.
Note
This is only active when LVARRAY_BOUNDS_CHECK is defined.

Definition at line 66 of file ArraySlice.hpp.

◆ DEFINE_GDB_PY_SCRIPT

#define DEFINE_GDB_PY_SCRIPT (   script_name)    asm (".pushsection \".debug_gdb_scripts\", \"MS\",@progbits,1\n \ .byte 1 /* Python */\n \ .asciz \"" script_name "\"\n \ .popsection \n" );

Add GDB pretty printers the given script.

Parameters
script_nameThe python script that contains the gdb hooks.
Note
Taken from https://sourceware.org/gdb/onlinedocs/gdb/dotdebug_005fgdb_005fscripts-section.html

Definition at line 21 of file ArraySlice.hpp.