summaryrefslogtreecommitdiff
path: root/src/include/util_Table.h
Commit message (Collapse)AuthorAge
* Make table printing functions publicly accessibleeschnett2011-11-09
| | | | | | | | | | | | The table data types (util_Table.h) have internal routines that print the table contents to screen. This can be helpful for debugging. This patch makes these functions publicly available. Add a routine Util_TablePrintPretty that converts a table to a nice, human-readable string. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4769 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Untabifying.goodale2005-10-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4163 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add Cactus variable type CCTK_POINTER_TO_CONSTschnetter2005-08-25
| | | | | | | | | | Complete the implementation of the Cactus variable type CCTK_POINTER_TO_CONST. Define a constant CCTK_VARIABLE_POINTER_TO_CONST. Handle this variable when asking for its name and its size. Allow values of this type in tables. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4113 17b73243-c579-4c4c-a9d2-2d5706c11dac
* fix header comment description of where more documentation can be foundjthorn2005-03-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4013 17b73243-c579-4c4c-a9d2-2d5706c11dac
* remove a FIXME comment 'should write some latex docs'jthorn2005-03-18
| | | | | | | since there are now fairly extensive latex docs git-svn-id: http://svn.cactuscode.org/flesh/trunk@4012 17b73243-c579-4c4c-a9d2-2d5706c11dac
* change hexadecimal flags-words constants to decimal so Fortran 77jthorn2005-03-18
| | | | | | | | will grok them (keep hex values in comments since they're convenient for C bitwise-oring) git-svn-id: http://svn.cactuscode.org/flesh/trunk@4011 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Make CCTK_BYTE and CCTK_CHAR be distinct types. CCTK_BYTE is for gridschnetter2005-01-29
| | | | | | | | | | | | variables, and CCTK_CHAR (like CCTK_STRING) only for other purposes, e.g. tables. * Introduce unique integer constants for them * Add missing conversion functions from and to strings * Add table functions for CCTK_BYTE. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3972 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use new HAVE_CCTK_<datatype> macro names.tradke2004-06-26
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3795 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed typo in macros names in my previous commit: HAVE_CCTK_REAL* should readtradke2004-06-20
| | | | | | | CCTK_HAVE_REAL*. Ditto for CCTK_INT*. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3777 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use '#if CCTK_HAVE_REAL*' rather than '#ifdef CCTK_REAL*'.tradke2004-06-20
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3775 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use the correct macros to determine which CCTK_* types are defined.schnetter2004-03-08
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3584 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Introduce the new Cactus variable type CCTK_INT1.schnetter2003-10-13
| | | | | | | Extend routines to handle the new type. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3431 17b73243-c579-4c4c-a9d2-2d5706c11dac
* renamejthorn2003-07-20
| | | | | | | | | | | | Util_TableSetFnPointer() --> Util_TableSetFPointer() Util_TableSetFnPointerArray() --> Util_TableSetFPointerArray() Util_TableGetFnPointer() --> Util_TableGetFPointer() Util_TableGetFnPointerArray() --> Util_TableGetFPointerArray() (and keep old names as aliases for backwards compatability) this is part of my fix for bug Cactus/1308 git-svn-id: http://svn.cactuscode.org/flesh/trunk@3320 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Protect the table API C prototype declarations by '#ifdef CCODE' so that thetradke2003-03-11
| | | | | | | | header file can also be included in fortran code now (to use the #define's). Substituted tabs by spaces. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3170 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added new error code UTIL_ERROR_TABLE_NO_MIXED_TYPE_ARRAY which will be returnedtradke2002-05-22
| | | | | | | by Util_TableSetFromString() if different array values have different datatypes. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2847 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Executive decision to change CCTK_FN_POINTER -> CCTK_FPOINTER andallen2002-04-28
| | | | | | | | | CCTK_VARIABLE_FN_POINTER -> CCTK_VARIABLE_FPOINTER Old definitions will be removed in next beta release git-svn-id: http://svn.cactuscode.org/flesh/trunk@2769 17b73243-c579-4c4c-a9d2-2d5706c11dac
* [[from Jonathan Thornburg]]rideout2002-04-03
| | | | | | | | | | | | | | | | | | | | src/util/Table.c src/include/util_Table.h * add new functions (cf my E-mail of 30 Mar 2002) Util_TableClone() Util_TableItClone() * add new functions (cf Erik Schnetter's E-mails of 5 Feb 2002) Util_Table{Set,Get}Generic() Util_Table{Set,Get}GenericArray() * add tests for new functions * fix a memory leak in Util_TableDestroy() * fixed some assert( variable = value ) bugs (yikes!!) * refactor some code to better modularize the implementation * add some more const qualifiers to local vars * reformat code to match flesh standard indentation and { } conventions git-svn-id: http://svn.cactuscode.org/flesh/trunk@2683 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Commited this file into the wrong directory...rideout2002-01-21
| | | | | | | See log message for src/util/makefile 1.1 git-svn-id: http://svn.cactuscode.org/flesh/trunk@2589 17b73243-c579-4c4c-a9d2-2d5706c11dac
* A revised version of the tables source code with auto-destroytradke2002-01-17
| | | | | | | | completely removed. (I also changed the standalone test suite correspondingly.) git-svn-id: http://svn.cactuscode.org/flesh/trunk@2581 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed typo.tradke2002-01-02
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2562 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Stuff for utility table routines, implemented by Jonathon Thornburg.goodale2001-11-13
Documentation should follow shortly... Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2462 17b73243-c579-4c4c-a9d2-2d5706c11dac