#include <IM_Reader.h>
Public Types | |
typedef bool(* | Func_ptr )(int pane_id, int comm_rank, int comm_size) |
Public Member Functions | |
IM_Reader (MPI_Comm comm=MPI_COMM_WORLD, double a=1) | |
int | read_winmesh (const char *fname, const std::string &wname, bool del=true) |
int | read_mesh (const char *fname, const std::string &wname, Func_ptr is_local) |
Private Types | |
enum | { MAXLEN =255 } |
Private Member Functions | |
bool | isfinite (double x) |
void | get_nextline (std::istream &is, char *str) |
void | read_pane_coors (std::istream &is, const std::string &wname, int pid, int n, bool local) |
void | read_pane_elems (std::istream &is, const std::string &wname, int pid, int num_elems, int nodes_per_elem, bool local) |
void | read_pane_ij (std::istream &is, const std::string &wname, int pid, bool local) |
void | read_pane_uns (std::istream &is, const std::string &wname, int pid, int nodes_per_elem, bool local) |
void | read_pane_mixed (std::istream &is, const std::string &wname, int pid, bool local) |
Private Attributes | |
char | buf [MAXLEN+1] |
double | _alpha |
int | _rank |
int | _size |
Definition at line 39 of file IM_Reader.h.
typedef bool(* Func_ptr)(int pane_id, int comm_rank, int comm_size) |
Definition at line 56 of file IM_Reader.h.
|
private |
|
inlineexplicit |
Definition at line 45 of file IM_Reader.h.
|
inlineprivate |
Definition at line 185 of file IM_Reader.h.
References MAXLEN.
Referenced by read_mesh(), read_pane_coors(), read_pane_elems(), read_pane_ij(), read_pane_mixed(), and read_pane_uns().
|
inlineprivate |
Definition at line 41 of file IM_Reader.h.
Referenced by read_pane_coors().
|
inline |
Definition at line 102 of file IM_Reader.h.
References _rank, _size, buf, COM_get_window_handle(), COM_new_window(), get_nextline(), i, is_local(), n, read_pane_ij(), read_pane_mixed(), and read_pane_uns().
Referenced by main(), and read_winmesh().
|
inlineprivate |
Definition at line 199 of file IM_Reader.h.
References _alpha, buf, COM_allocate_array(), COM_set_size(), get_nextline(), i, isfinite(), and n.
Referenced by read_pane_ij(), read_pane_mixed(), and read_pane_uns().
|
inlineprivate |
Definition at line 229 of file IM_Reader.h.
References buf, COM_allocate_array(), COM_set_size(), get_nextline(), and i.
Referenced by read_pane_mixed(), and read_pane_uns().
|
inlineprivate |
Definition at line 255 of file IM_Reader.h.
References buf, COM_set_array(), get_nextline(), and read_pane_coors().
Referenced by read_mesh().
|
inlineprivate |
Definition at line 286 of file IM_Reader.h.
References buf, get_nextline(), num_nodes, read_pane_coors(), and read_pane_elems().
Referenced by read_mesh().
|
inlineprivate |
Definition at line 270 of file IM_Reader.h.
References buf, get_nextline(), num_nodes, read_pane_coors(), and read_pane_elems().
Referenced by read_mesh().
|
inline |
Definition at line 58 of file IM_Reader.h.
References COM_call_function(), COM_delete_attribute(), COM_get_attribute_handle(), COM_get_function_handle(), COM_get_panes(), COM_LOAD_MODULE_STATIC_DYNAMIC, COM_resize_array(), COM_UNLOAD_MODULE_STATIC_DYNAMIC, and read_mesh().
Referenced by main(), and read_in_mesh().
|
private |
Definition at line 304 of file IM_Reader.h.
Referenced by read_pane_coors().
|
private |
Definition at line 305 of file IM_Reader.h.
Referenced by IM_Reader(), and read_mesh().
|
private |
Definition at line 305 of file IM_Reader.h.
Referenced by IM_Reader(), and read_mesh().
|
private |
Definition at line 303 of file IM_Reader.h.
Referenced by read_mesh(), read_pane_coors(), read_pane_elems(), read_pane_ij(), read_pane_mixed(), and read_pane_uns().