| 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 |
* expnstt - ex_put_nset_var_tab |
| 11 |
* |
| 12 |
* entry conditions - |
| 13 |
* input parameters: |
| 14 |
* int exoid exodus file id |
| 15 |
* int num_nset number of nodesets |
| 16 |
* int num_nset_var number of nodeset variables |
| 17 |
* int* nset_var_tab nodeset variable truth table array |
| 18 |
* |
| 19 |
* exit conditions - |
| 20 |
* |
| 21 |
* |
| 22 |
*****************************************************************************/ |
| 23 |
|
| 24 |
#include "exodusII.h" // for ex_put_truth_table, etc |
| 25 |
|
| 26 |
/*! |
| 27 |
* writes the EXODUS nodeset variable truth table to the database; |
| 28 |
* also, creates netCDF variables in which to store EXODUS nodeset |
| 29 |
* variable values; although this table isn't required (because the |
| 30 |
* netCDF variables can also be created in ex_put_nset_var), this call |
| 31 |
* will save tremendous time because all of the variables are defined |
| 32 |
* at once while the file is in define mode, rather than going in and out |
| 33 |
* of define mode (causing the entire file to be copied over and over) |
| 34 |
* which is what occurs when the nodeset variable values variables are |
| 35 |
* defined in ex_put_nset_var |
| 36 |
* \param exoid exodus file id |
| 37 |
* \param num_nset number of nodesets |
| 38 |
* \param num_nset_var number of nodeset variables |
| 39 |
* \param nset_var_tab nodeset variable truth table array |
| 40 |
* \deprecated Use ex_put_truth_table()(exoid, EX_NODE_SET, num_nset, |
| 41 |
* num_nset_var, nset_var_tab) |
| 42 |
*/ |
| 43 |
|
| 44 |
int ex_put_nset_var_tab(int exoid, int num_nset, int num_nset_var, int *nset_var_tab) |
| 45 |
{ |
| 46 |
return ex_put_truth_table(exoid, EX_NODE_SET, num_nset, num_nset_var, nset_var_tab); |
| 47 |
} |