| 1 |
/* |
| 2 |
* Copyright(C) 1999-2020 National Technology & Engineering Solutions |
| 3 |
* of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with |
| 4 |
* NTESS, the U.S. Government retains certain rights in this software. |
| 5 |
* |
| 6 |
* See packages/seacas/LICENSE for details |
| 7 |
*/ |
| 8 |
/***************************************************************************** |
| 9 |
* |
| 10 |
* exgvtt - ex_get_var_tab |
| 11 |
* |
| 12 |
* entry conditions - |
| 13 |
* input parameters: |
| 14 |
* int exoid exodus file id |
| 15 |
* int num_blk number of blocks |
| 16 |
* int num_var number of variables |
| 17 |
* |
| 18 |
* exit conditions - |
| 19 |
* int* var_tab element variable truth table array |
| 20 |
* |
| 21 |
* |
| 22 |
*****************************************************************************/ |
| 23 |
|
| 24 |
#include "exodusII.h" // for ex_get_truth_table, etc |
| 25 |
|
| 26 |
/*! |
| 27 |
\ingroup ResultsData |
| 28 |
|
| 29 |
* reads the EXODUS specified variable truth table from the database |
| 30 |
* \deprecated Use ex_get_truth_table()(exoid, obj_type, num_blk, num_var, |
| 31 |
* var_tab) |
| 32 |
*/ |
| 33 |
|
| 34 |
int ex_get_var_tab(int exoid, const char *var_type, int num_blk, int num_var, int *var_tab) |
| 35 |
{ |
| 36 |
ex_entity_type obj_type; |
| 37 |
obj_type = ex_var_type_to_ex_entity_type(*var_type); |
| 38 |
return ex_get_truth_table(exoid, obj_type, num_blk, num_var, var_tab); |
| 39 |
} |