| 1 |
\page nemesis-mapping Mapping of nemesis API functions to Exodus API functions |
| 2 |
The nemesis library was originally an extension to the ExodusII |
| 3 |
library which provided routines required to support use of Exodus |
| 4 |
databases in a parallel setting; typically with a file-per-processor |
| 5 |
usage. |
| 6 |
|
| 7 |
Since the use of Exodus in parallel executions is now very common, the |
| 8 |
Nemesis library routines have been integrated into the Exodus library |
| 9 |
API. In most cases, the exodus API function corresponding to a nemesis |
| 10 |
API function is obtained by replacing the `ne_` prefix with an `ex_` |
| 11 |
prefix. There are a few routines where this results in a name |
| 12 |
collision or confusion (e.g. ne_put_version() is ex_put_nemesis_version() since |
| 13 |
it would be confusing to call it ex_put_version()). The partial read/write |
| 14 |
functions which in nemesis are indicated by a `_n_` in the function |
| 15 |
name have been in replaced by `_partial_` (although the corresponding |
| 16 |
`ex_*_n_*` function does exist in the deprecated functions). |
| 17 |
|
| 18 |
The tables below list all Nemesis API functions and the corresponding |
| 19 |
Exodus API function. In many cases, the only change needed is |
| 20 |
replacing `ne_` by `ex_`, but the routines which were made more |
| 21 |
"generic" (e.g. ne_get_n_side_set() and ne_get_n_node_set() directly |
| 22 |
map to ex_get_n_side_set() and ex_get_n_node_set() which are |
| 23 |
deprecated, so the table below shows the recommended |
| 24 |
ex_get_partial_set()) additional arguments are required. |
| 25 |
|
| 26 |
The nemesis library can still be used since it is still built upon |
| 27 |
request and its implementation is simply wrapper routines which |
| 28 |
forward all existing nemesis function calls to the appropriate Exodus |
| 29 |
function call (with needed argument changes). |
| 30 |
|
| 31 |
\section initial Initial Information Routines |
| 32 |
|
| 33 |
Nemesis API | Exodus API |
| 34 |
------------------------|------------------------------ |
| 35 |
ne_get_init_info | ex_get_init_info() |
| 36 |
ne_put_init_info | ex_put_init_info() |
| 37 |
ne_get_init_global | ex_get_init_global() |
| 38 |
ne_put_init_global | ex_put_init_global() |
| 39 |
ne_put_version | ex_put_nemesis_version() |
| 40 |
|
| 41 |
\section lb Loadbalance Parameter Routines |
| 42 |
|
| 43 |
Nemesis API | Exodus API |
| 44 |
------------------------|------------------------------ |
| 45 |
ne_get_loadbal_param | ex_get_loadbal_param() |
| 46 |
ne_put_loadbal_param | ex_put_loadbal_param() |
| 47 |
ne_put_loadbal_param_cc | ex_put_loadbal_param_cc() |
| 48 |
|
| 49 |
\section param Nodeset, Sideset & Element Block Global Parameter Routines |
| 50 |
|
| 51 |
Nemesis API | Exodus API |
| 52 |
------------------------|------------------------------ |
| 53 |
ne_get_ns_param_global | ex_get_ns_param_global() |
| 54 |
ne_put_ns_param_global | ex_put_ns_param_global() |
| 55 |
ne_get_ss_param_global | ex_get_ss_param_global() |
| 56 |
ne_put_ss_param_global | ex_put_ss_param_global() |
| 57 |
ne_get_eb_info_global | ex_get_eb_info_global() |
| 58 |
ne_put_eb_info_global | ex_put_eb_info_global() |
| 59 |
|
| 60 |
\section subset Nodeset, Sideset & Element Block Subset Routines |
| 61 |
|
| 62 |
Nemesis API | Exodus API |
| 63 |
------------------------|------------------------------ |
| 64 |
ne_get_n_side_set | ex_get_partial_set() |
| 65 |
ne_put_n_side_set | ex_put_partial_set() |
| 66 |
ne_get_n_side_set_df | ex_get_partial_set_dist_fact() |
| 67 |
ne_put_n_side_set_df | ex_put_partial_set_dist_fact() |
| 68 |
ne_get_n_node_set | ex_get_partial_set() |
| 69 |
ne_put_n_node_set | ex_put_partial_set() |
| 70 |
ne_get_n_node_set_df | ex_get_partial_set_dist_fact() |
| 71 |
ne_put_n_node_set_df | ex_put_partial_set_dist_fact() |
| 72 |
ne_get_n_coord | ex_get_partial_coord() |
| 73 |
ne_put_n_coord | ex_put_partial_coord() |
| 74 |
ne_get_n_elem_conn | ex_get_partial_conn() |
| 75 |
ne_put_n_elem_conn | ex_put_partial_conn() |
| 76 |
ne_get_n_elem_attr | ex_get_partial_attr() |
| 77 |
ne_put_n_elem_attr | ex_put_partial_attr() |
| 78 |
ne_get_elem_type | ex_get_elem_type() |
| 79 |
|
| 80 |
\section variable Variable Routines |
| 81 |
|
| 82 |
Nemesis API | Exodus API |
| 83 |
------------------------|------------------------------ |
| 84 |
ne_get_n_elem_var | ex_get_partial_var() |
| 85 |
ne_put_elem_var_slab | ex_put_partial_var() |
| 86 |
ne_get_n_nodal_var | ex_get_partial_var() |
| 87 |
ne_put_nodal_var_slab | ex_put_partial_var() |
| 88 |
|
| 89 |
\section map Number Map Routines |
| 90 |
|
| 91 |
Nemesis API | Exodus API |
| 92 |
------------------------|------------------------------ |
| 93 |
ne_get_n_elem_num_map | ex_get_partial_id_map() |
| 94 |
ne_put_n_elem_num_map | ex_put_partial_id_map() |
| 95 |
ne_get_n_node_num_map | ex_get_partial_id_map() |
| 96 |
ne_put_n_node_num_map | ex_put_partial_id_map() |
| 97 |
ne_get_node_map | ex_get_processor_node_maps() |
| 98 |
ne_put_node_map | ex_put_processor_node_maps() |
| 99 |
ne_get_elem_map | ex_get_processor_elem_maps() |
| 100 |
ne_put_elem_map | ex_put_processor_elem_maps() |
| 101 |
|
| 102 |
\section comm Communications Maps Routines |
| 103 |
|
| 104 |
Nemesis API | Exodus API |
| 105 |
------------------------|------------------------------ |
| 106 |
ne_get_cmap_params | ex_get_cmap_params() |
| 107 |
ne_put_cmap_params | ex_put_cmap_params() |
| 108 |
ne_put_cmap_params_cc | ex_put_cmap_params_cc() |
| 109 |
ne_get_node_cmap | ex_get_node_cmap() |
| 110 |
ne_put_node_cmap | ex_put_node_cmap() |
| 111 |
ne_get_elem_cmap | ex_get_elem_cmap() |
| 112 |
ne_put_elem_cmap | ex_put_elem_cmap() |
| 113 |
ne_get_idx | ex_get_idx() |