Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages   Examples  

rf_backend_impl Class Reference

The base implementation of rf_backend_interface simply invokes the method in rf_obj which is a subclass of rfinfo_base. More...

#include <rf_backend_interface.h>

Inheritance diagram for rf_backend_impl:

base_interface rf_backend rfinfo_base blocker exuns_impl rf_cback_impl rf_domain_impl rf_exuns_impl script_impl rfinfo_domain rf_ftnback_impl domain_impl rf_icem_impl rfinfo_attr rfinfo_gateway rfinfo_icem domain_impl_icem domain_impl_restrict List of all members.

Public Methods

 rf_backend_impl (rfobj_impl *rfobj=0, void *ld=0)
 Simple constructor used potentially by applications, but not readers. More...

 rf_backend_impl (rfobj_impl *rfobj, const rf_mesh_handle& mh, const char *form, const char *backend, int filesperstep, char filesasstep, int infl=0, int conf=0, int msf=1, int mintrin=0, int ufd=1, int nwf=0, int nwm=0, int zm=0, int mnv=1, int mtav=0, void *ld=0)
 Constructor generally used by readers. More...

 rf_backend_impl (const rf_backend_impl &i)
 NOP equality and copy constructors.

rf_backend_impl& operator= (const rf_backend_impl &i)
 NOP equality and copy constructors.

virtual ~rf_backend_impl ()
 Free rf_obj and invoke callback for application specific local data (local_data) to be released.

void free_rfobj ()
 Free rf_obj.

int delete_local_data ()
 Free local_data. More...

int close_internal_reader ()
 Internal readers should invoke this in their destructor. More...

const RFInterfacegetRf_obj () const
 Return rf_obj. More...

void setRf_obj (rfobj_impl *r)
 Set rf_obj. More...

rf_backend_impl* open (const char *be, size_t nf, const char **files, int np, const char **pars)
 Implements a function from an interface. More...

virtual int parseFileSpecification (const char *filelist)
 Implements a function from an interface. More...

virtual RFFileSetList determineFileSpecification (const char *filelist)
 Implements a function from an interface. More...

virtual size_t nFileSets () const
 Implements a function from an interface. More...

virtual size_t getFileStyle () const
 Implements a function from an interface. More...

virtual RFFileSetList getAllFiles () const
 Implements a function from an interface. More...

virtual RFFileSetList getFileSet (int fset, const char *ext=0) const
 Implements a function from an interface. More...

virtual StorageBuffer completeFileSpecification ()
 Implements a function from an interface. More...

virtual int setAllFiles (const RFFileSetList& fileSets)
 Implements a function from an interface. More...

virtual int setFileSpec (const StorageBuffer& fspec)
 Implements a function from an interface. More...

virtual int isOldFileStyle (const char *file) const
 Migration method that tests if file specification is of new or old style. More...

const char* trailing_be (const char *be) const
 Returns pointer to base executable name. More...

virtual rf_backend_interfacebackend_for (const char *be, int frc, rfobj_impl *rfobj=0, rf_mesh_interface *mi=0) const
 Factory method to create interface to specific backends. More...

virtual const rfobj_implgetResults_obj () const
 Implements function from an interface. More...

virtual rfobj_implgetResults_obj ()
 Implements function from an interface. More...

virtual rf_mesh_handle getMeshimpl () const
 Implements function from an interface. More...

virtual int setMeshimpl (const rf_mesh_handle& mih)
 Implements function from an interface. More...

virtual void* getLocal_data ()
 Implements function from an interface. More...

virtual const void* getLocal_data () const
 Implements function from an interface. More...

virtual int setLocal_data (void *data)
 Implements function from an interface. More...

int write_to_pipe ()
 Implements function from an interface. More...

virtual int send_line (const char* buf, int flush)
 Implements function from an interface. More...

virtual int recv_line (char* buf, int maxchar)
 Implements function from an interface. More...

virtual int recv_bytes (void* buf, int bytes, int block)
 Implements function from an interface. More...

int write_domain (const char *file, int n_res_given, rf_result_func grf, int tstep, void *auxdata)
 Implements function from an interface. More...

int write_domain_results_from (rfobj_impl *r, const char *f, int ts)
 Implements function from an interface. More...

virtual int is_big_endian (void)
 Implements function from an interface. More...

virtual int byte_swap (unsigned char *bytes, size_t el_size, size_t n_el)
 Implements function from an interface. More...

virtual int byte_swap_int (int *i)
 Implements function from an interface. More...

virtual int byte_swap_float (float *f)
 Implements function from an interface. More...

virtual int byte_swap_double (double *d)
 Implements function from an interface. More...

virtual int read_bytes (void *buf, size_t el_size, size_t n, FILE *fp, int swap_bytes=0, int fb=0)
 Implements function from an interface. More...

virtual RFFileList multi_tstep (const RFFileList& files) const
 Implements function from an interface. More...

virtual int user_parse_inputinit (const char *buf, int j, const char *file, const char *format, const char *zonemask, int *nfiles, const char **files)
 Implements function from an interface. More...

virtual int user_external_load (int nfiles, const char **files, int *d_tstep, RFPrecType *d_prec, size_t *nnodes)
 
Deprecated:
Use user_fileset_load() instead.


virtual int user_fileset_load (size_t nsets, int *d_tstep, RFPrecType *d_prec, size_t *nnodes)
 Implements function from an interface. More...

virtual int user_external_close ()
 Implements function from an interface. More...

virtual int user_free_local (void *data)
 Implements function from an interface. More...

virtual int user_file_descriptor (size_t nnodes, int tstep)
 Implements function from an interface. More...

virtual int user_external_grid (int tstep)
 Implements function from an interface. More...

virtual int user_external_elements (int tstep)
 Implements function from an interface. More...

virtual int user_external_groups (int tstep)
 Implements function from an interface. More...

virtual int user_external_iblank (int *ib, int tstep)
 Implements function from an interface. More...

virtual int user_external_postmesh (int tstep)
 Implements function from an interface. More...

virtual int user_external_scalar (int idnum, const char *name, int nvals, RFEntityType type, void *values, int skip, RFPrecType prec, int tstep)
 Implements function from an interface. More...

virtual int getRunpars (RFRunPars& pars) const
 Implements function from an interface. More...

virtual char getTris_as_quads () const
 Implements function from an interface. More...

virtual const char* version () const
 Implements function from an interface. More...

virtual const char* backend () const
 Implements function from an interface. More...

virtual const char* format () const
 Implements function from an interface. More...

virtual const char* title () const
 Implements function from an interface. More...

virtual const char* date () const
 Implements function from an interface. More...

virtual const char* error_string () const
 Implements function from an interface. More...

virtual const char* getWrite_file () const
 Implements function from an interface. More...

virtual int getMax_cache () const
 Implements function from an interface. More...

virtual int is_v3_frontend () const
 Implements function from an interface. More...

virtual int is_v3 () const
 Implements function from an interface. More...

virtual int is_pv3 () const
 Implements function from an interface. More...

virtual int is_debug () const
 Implements function from an interface. More...

virtual RFBackendOrder getNode_style () const
 Implements function from an interface. More...

virtual RF_SIGNED_LONG getNode_offset () const
 Implements function from an interface. More...

virtual char getNeeds_node_dims () const
 Implements function from an interface. More...

virtual RFBackendOrder getCell_style () const
 Implements function from an interface. More...

virtual size_t n_results () const
 Implements function from an interface. More...

virtual size_t NumberDomainResults () const
 Return number of results to write to a domain file. More...

virtual char is_cell_result (int can_be_intrinsic) const
 Implements function from an interface. More...

int getResult_info (int num, const char **name, int *idnum, const char **srcn, RFEntityType *type, RFResultSource *source, int *is_vec, int *mnmx_giv, double *mnv, double *mxv) const
 Implements function from an interface. More...

int getResult_info (int idnum, int *num, const char **name, const char **srcn, RFEntityType *type, RFResultSource *source, int *is_vec, int *mnmx_giv, double *mnv, double *mxv) const
 Lookup result by backend identification number instead of index. More...

int getResult_info (const char *name, int *num, int *idnum, const char **srcn, RFEntityType *type, RFResultSource *source, int *is_vec, int *mnmx_giv, double *mnv, double *mxv) const
 Lookup result by name instead of index. More...

virtual int getResult_info_full (int num, const char **name, int *idnum, const char **srcn, RFEntityType *type, RFResultSource *source, size_t *ndoms, const int **iRind, int *is_vec, int *mnmx_giv, double *mnv, double *mxv) const
 Implements function from an interface. More...

virtual int getResult_info_full (int idnum, int *num, const char **name, const char **srcn, RFEntityType *type, RFResultSource *source, size_t *ndoms, const int **iRind, int *is_vec, int *mnmx_giv, double *mnv, double *mxv) const
 Lookup result by backend identification number instead of index. More...

virtual int getResult_info_full (const char *name, int *num, int *idnum, const char **srcn, RFEntityType *type, RFResultSource *source, size_t *ndoms, const int **iRind, int *is_vec, int *mnmx_giv, double *mnv, double *mxv) const
 Lookup result by name instead of index. More...

virtual size_t n_bocos () const
 Implements function from an interface. More...

virtual size_t n_domains () const
 Implements function from an interface. More...

virtual char nodes_are_read () const
 Implements function from an interface. More...

virtual char cells_are_read () const
 Implements function from an interface. More...

virtual char elements_are_read () const
 
Deprecated:
Use cells_are_read() instead.


virtual size_t v3_nunodes () const
 Implements function from an interface. More...

virtual size_t v3_nsnodes (size_t ndoms=0, const int *iRind=0) const
 Implements function from an interface. More...

virtual size_t v3_nsnodes_dom (size_t dom, const int *iRind=0) const
 Implements function from an interface. More...

virtual size_t v3_nscells_dom (size_t dom, const int *iRind=0) const
 Implements function from an interface. More...

virtual size_t v3_offsetnodes_to_dom (size_t dom, const int *iRind=0) const
 Implements function from an interface. More...

virtual size_t v3_offsetcells_to_dom (size_t dom, const int *iRind=0) const
 Implements function from an interface. More...

virtual size_t v3_nelements (int eltype) const
 Implements function from an interface. More...

virtual size_t v3_nelements_literal (int eltype) const
 Implements function from an interface. More...

virtual RF_SIGNED_LONG v3_elementstart (int eltype) const
 Implements function from an interface. More...

virtual size_t v3_ntot_unstrvolele () const
 Implements function from an interface. More...

virtual size_t v3_ntot_unstrfaceele () const
 Implements function from an interface. More...

virtual size_t v3_ntot_unstrele () const
 Implements function from an interface. More...

virtual size_t v3_ntot_strvolele (size_t nd=0, const int *iRind=0) const
 Implements function from an interface. More...

virtual size_t v3_ntot_strfaceele () const
 Implements function from an interface. More...

virtual size_t v3_ntot_strele (size_t nd=0, const int *iRind=0) const
 Implements function from an interface. More...

virtual size_t be_nunodes () const
 Implements function from an interface. More...

virtual size_t be_nsnodes (size_t ndoms=0, const int *iRind=0) const
 Implements function from an interface. More...

virtual size_t be_nsnodes_dom (size_t dom, const int *iRind=0) const
 Implements function from an interface. More...

virtual size_t be_nscells_dom (size_t dom, const int *iRind=0) const
 Implements function from an interface. More...

virtual size_t be_offsetnodes_to_dom (size_t dom, const int *iRind=0) const
 Implements function from an interface. More...

virtual size_t be_offsetcells_to_dom (size_t dom, const int *iRind=0) const
 Implements function from an interface. More...

virtual size_t be_nelements (int eltype) const
 Implements function from an interface. More...

virtual size_t be_nelements_literal (int eltype) const
 Implements function from an interface. More...

virtual RF_SIGNED_LONG be_elementstart (int eltype) const
 Implements function from an interface. More...

virtual size_t be_ntot_unstrvolele () const
 Implements function from an interface. More...

virtual size_t be_ntot_unstrfaceele () const
 Implements function from an interface. More...

virtual size_t be_ntot_unstrele () const
 Implements function from an interface. More...

virtual size_t be_ntot_strvolele (size_t nd=0, const int *iRind=0) const
 Implements function from an interface. More...

virtual size_t be_ntot_strfaceele () const
 Implements function from an interface. More...

virtual size_t be_ntot_strele (size_t nd=0, const int *iRind=0) const
 Implements function from an interface. More...

virtual size_t num_results (RFEntityType type, RFMapResultType mr=RFMapResult, size_t nd=0, const int *iRind=0) const
 Implements function from an interface. More...

StorageBuffer tclMesh (const StorageBuffer& tclprefix, RFPrecType prec, int tstep, int nresults, const RFIdList& resultlist)
 Implements function from an interface. More...

StorageBuffer returnInfo (const char *key, int index, RFPrecType prec, int tstep)
 Implements function from an interface. More...

StorageBuffer returnGrid (int index, RFPrecType prec, int tstep)
 Implements function from an interface. More...

StorageBuffer returnElements (int eltype, int index, RFPrecType prec, int tstep)
 Implements function from an interface. More...

StorageBuffer returnFamily (int famid, RFPrecType prec, int tstep)
 Implements function from an interface. More...

StorageBuffer returnListResults (int index, RFPrecType prec, int tstep, int nresults, const RFIdList& resultlist)
 Implements function from an interface. More...

StorageBuffer returnResults (int rIdx, int index, RFPrecType prec, int tstep)
 Implements function from an interface. More...

virtual int setRunpars (const RFRunPars& pars)
 Implements function from an interface. More...

virtual int setTris_as_quads (char v)
 
Deprecated:
Not required.


virtual int set_construct_runpars (int nfps, int fat, int infl=0, int conf=0, int msf=1, int mintrin=0, int ufd=1, int nwf=0, int nwm=0, int zm=0, int mnv=1, int mtav=0, int rsm=0, int mc=0, int nointc=0)
 Implements function from an interface. More...

virtual int setBackend (const char *b)
 Implements function from an interface. More...

virtual int setFormat (const char *f)
 Implements function from an interface. More...

virtual int setTitle (const char *t)
 Implements function from an interface. More...

virtual int setDate (const char *d)
 Implements function from an interface. More...

virtual int setError_string (const char *es)
 Implements function from an interface. More...

virtual int setWrite_file (const char *es)
 Implements function from an interface. More...

virtual int setMax_cache (int v)
 Implements function from an interface. More...

virtual int set_v3 (int f)
 Implements function from an interface. More...

virtual int set_pv3 (int f)
 Implements function from an interface. More...

virtual int set_debug (int f)
 Implements function from an interface. More...

virtual int setNode_style (RFBackendOrder ns)
 Implements function from an interface. More...

virtual int setNode_offset (RF_SIGNED_LONG no)
 Implements function from an interface. More...

virtual int setNeeds_node_dims (char v)
 Implements function from an interface. More...

virtual int setCell_style (RFBackendOrder ns)
 Implements function from an interface. More...

virtual int setV3_block_done (char v)
virtual size_t getValid_element_types (int *vtypes) const
 Implements function from an interface. More...

virtual int setValid_element_types (size_t nvalid, const int *vtypes)
 Implements function from an interface. More...

virtual int set_nunodes (size_t nunodes)
 Implements function from an interface. More...

virtual int set_nsnodes (size_t nsnodes)
 Implements function from an interface. More...

virtual int set_nelements (int eltype, size_t nele)
 Implements function from an interface. More...

virtual int set_info_from_grid ()
 Implements function from an interface. More...

virtual RFPrecType get_hint_prec () const
 Implements function from an interface. More...

virtual int set_hint_prec (RFPrecType prec)
 Implements function from an interface. More...

int read_mesh (RFPrecType prec,int tstep)
 Implements function from an interface. More...

virtual int load_mesh (size_t iNFiles, const char **iFiles, int iNpars=0, const char **iPars=0)
 Implements function from an interface. More...

virtual size_t add_domain (const int ijkmax[3])
 Implements function from an interface. More...

virtual int v3_ijk_domain (size_t dom, int ijkmax[3]) const
 Implements function from an interface. More...

virtual int be_ijk_domain (size_t dom, int ijkmax[3]) const
 Implements function from an interface. More...

virtual int getDegree () const
 Implements function from an interface. More...

virtual int setDegree (int degree)
 Implements function from an interface. More...

virtual int set_strdomain_name (size_t dom, const char *name)
 Implements function from an interface. More...

virtual int set_strdomain_family (size_t dom, const char *fam)
 Implements function from an interface. More...

virtual int add_svertex (const float *x, const float *y, const float *z, size_t dom)
 Implements function from an interface. More...

virtual int add_svertex (const double *x, const double *y, const double *z, size_t dom)
virtual int add_svertex (const float *loc, size_t dom)
virtual int add_svertex (const double *loc, size_t dom)
virtual int add_svertex_dma3 (const float (*loc)[3], size_t dom)
virtual int add_svertex_dma3 (const double (*loc)[3], size_t dom)
virtual int add_svertex_at (const float loc[3], size_t dom, const int *ijk, int check_alloc=1)
 Implements function from an interface. More...

virtual int add_svertex_at (const double loc[3], size_t dom, const int *ijk, int check_alloc=1)
virtual int clear_inflate ()
 Implements function from an interface. More...

virtual int add_unsvertex (const float *x, const float *y, const float *z, size_t nnodes, const size_t *map=0, const short *dims=0)
 Implements function from an interface. More...

virtual int add_unsvertex (const double *x, const double *y, const double *z, size_t nnodes, const size_t *map=0, const short *dims=0)
virtual int add_unsvertex (const float *loc, size_t nnodes, const size_t *map=0, const short *dims=0)
virtual int add_unsvertex (const double *loc, size_t nnodes, const size_t *map=0, const short *dims=0)
virtual int add_unsvertex_dma3 (const float (*loc)[3], size_t nnodes, const size_t *map=0, const short *dims=0)
virtual int add_unsvertex_dma3 (const double (*loc)[3], size_t nnodes, const size_t *map=0, const short *dims=0)
virtual int add_unsvertex_at (const float loc[3], size_t vtx_number, size_t dv=RF_ILLEGAL_COUNT, short dim=3, size_t ptwin=RF_ILLEGAL_COUNT)
 Implements function from an interface. More...

virtual int add_unsvertex_at (const double loc[3], size_t vtx_number, size_t dv=RF_ILLEGAL_COUNT, short dim=3, size_t ptwin=RF_ILLEGAL_COUNT)
virtual int map_ofo_vertices ()
 Implements function from an interface. More...

virtual RF_SIGNED_LONG AddElementsId (int eltype, size_t neles, const int *iConn, RFConnOrder iOrder, int famid, int nodes_app_num, int is_edit=0, int add_boco_hack=1, int add_be_hack=0)
 Implements function from an interface. More...

virtual RF_SIGNED_LONG AddElementsId_l (int eltype, size_t neles, const RF_SIGNED_LONG *iConn, RFConnOrder iOrder, int famid, int nodes_app_num, int is_edit=0, int add_boco_hack=1, int add_be_hack=0)
 Implements function from an interface. More...

virtual RF_SIGNED_LONG AddElements (int eltype, size_t neles, const int *iConn, RFConnOrder iOrder, int family_given, int nodes_app_num, int is_edit=0, int add_boco_hack=1, int add_be_hack=0)
 Implements function from an interface. More...

virtual RF_SIGNED_LONG AddElements_l (int eltype, size_t neles, const RF_SIGNED_LONG *iConn, RFConnOrder iOrder, int family_given, int nodes_app_num, int is_edit=0, int add_boco_hack=1, int add_be_hack=0)
 Implements function from an interface. More...

virtual RF_SIGNED_LONG AddElementsEleids (int eltype, size_t neles, const int *iConn, RFConnOrder iOrder, int family_given, const unsigned int *eleIds, int nodes_app_num, int is_edit=0, int add_boco_hack=1, int add_be_hack=0)
 Implements function from an interface. More...

virtual RF_SIGNED_LONG AddElementsEleids_l (int eltype, size_t neles, const RF_SIGNED_LONG *iConn, RFConnOrder iOrder, int family_given, const unsigned int *eleIds, int nodes_app_num, int is_edit=0, int add_boco_hack=1, int add_be_hack=0)
 Implements function from an interface. More...

virtual RF_SIGNED_LONG add_elements_id (int eltype, size_t neles, const int *iConn, int mesh_order, int famid, int nodes_app_num, int is_edit=0, int add_boco_hack=1, int add_be_hack=0)
 
Deprecated:
Use AddElementsId() instead.


virtual RF_SIGNED_LONG add_elements_id (int eltype, size_t neles, const RF_SIGNED_LONG *iConn, int mesh_order, int famid, int nodes_app_num, int is_edit=0, int add_boco_hack=1, int add_be_hack=0)
 
Deprecated:
Use AddElementsId_l() instead.


virtual RF_SIGNED_LONG add_elements (int eltype, size_t neles, const int *iConn, int mesh_order, int family_given, int nodes_app_num, int is_edit=0, int add_boco_hack=1, int add_be_hack=0)
 
Deprecated:
Use AddElements() instead.


virtual RF_SIGNED_LONG add_elements (int eltype, size_t neles, const RF_SIGNED_LONG *iConn, int mesh_order, int family_given, int nodes_app_num, int is_edit=0, int add_boco_hack=1, int add_be_hack=0)
 
Deprecated:
Use AddElements_l() instead.


virtual RF_SIGNED_LONG add_elements_eleids (int eltype, size_t neles, const int *iConn, int mesh_order, int family_given, const unsigned int *eleIds, int nodes_app_num, int is_edit=0, int add_boco_hack=1, int add_be_hack=0)
 
Deprecated:
Use AddElementsEleids() instead.


virtual RF_SIGNED_LONG add_elements_eleids_l (int eltype, size_t neles, const RF_SIGNED_LONG *iConn, int mesh_order, int family_given, const unsigned int *eleIds, int nodes_app_num, int is_edit=0, int add_boco_hack=1, int add_be_hack=0)
 
Deprecated:
Use AddElementsEleids_l() instead.


virtual RF_SIGNED_LONG internal_node_id (RF_SIGNED_LONG iExtId) const
 Implements a function from an interface. More...

virtual size_t node_backend_to_mesh_map (const RF_SIGNED_LONG *& oMap) const
 Implements a function from an interface. More...

virtual vertex_handle lookup_vertex (RF_SIGNED_LONG iExtVtxId) const
 Implements a function from an interface. More...

virtual RF_SIGNED_LONG internal_element_id (RF_SIGNED_LONG iExtId) const
 Implements a function from an interface. More...

virtual size_t element_backend_to_mesh_map (const RF_SIGNED_LONG *& oMap) const
 Implements a function from an interface. More...

virtual element_handle lookup_element (RF_SIGNED_LONG iExtEleId) const
 Implements a function from an interface. More...

virtual int allocate_vertex_memory (size_t nverts, RFPrecType prec=RFPrecNone)
 Implements a function from an interface. More...

virtual int allocate_strvertex_memory (size_t dom)
 Implements a function from an interface. More...

virtual void* allocate_nodes (RFPrecType type)
 Implements a function from an interface. More...

virtual int allocate_element_memory (const size_t *nele)
 Implements a function from an interface. More...

virtual int* allocate_element_type (int eltype, int inc_pid=0)
 Implements a function from an interface. More...

virtual const void* coordinate_data (RFPrecType *prec) const
 Implements a function from an interface. More...

int nodes (void *crds, void *bbmin, void *bbmax, RFPrecType prec, int tstep)
 Implements a function from an interface. More...

virtual int nodes_local (void *crds, void *bbmin, void *bbmax, RFPrecType prec, int tstep)
 Implements a function from an interface. More...

int node_xyz (RFPrecType* prec, void **crds)
 Implements a function from an interface. More...

virtual int requires_node_map () const
 Implements a function from an interface. More...

virtual int translate_to_v3 (RFEntityType t, RFConnOrder iOrd, int n, int *nums) const
 Implements a function from an interface. More...

virtual int determine_bounding_box (RFPrecType prec, void *bbmin, void *bbmax, const void *crds)
 Implements a function from an interface. More...

virtual int set_conn_order (RFConnOrder order)
 Implements a function from an interface. More...

virtual int set_vtxconn_offset (RF_SIGNED_LONG vtx_offset)
 Implements a function from an interface. More...

virtual const int* connectivity_data (int eltype, RFConnOrder *order, int *vtx_offset) const
 Implements a function from an interface. More...

virtual RFConnOrder get_conn_order () const
 Implements a function from an interface. More...

virtual RF_SIGNED_LONG get_vtxconn_offset () const
 Implements a function from an interface. More...

int cells (int eltype, int *elements, int tstep)
 Implements a function from an interface. More...

int cells_order (int eltype, int *elements, int tstep, RF_SIGNED_LONG dvoff, RFConnOrder desired_ord)
 Implements a function from an interface. More...

virtual int cells_local (int eltype, int *elements, int tstep, RFConnOrder desired_ord)
 Implements a function from an interface. More...

int face_cells (int *faces, int tstep)
 Implements a function from an interface. More...

int face_cells_order (int *faces, int tstep, RF_SIGNED_LONG dvoff, RFConnOrder desired_ord)
 Implements a function from an interface. More...

int domain_cells (int eltype, int *elements, int tstep)
 Implements a function from an interface. More...

int domain_cells_order (int eltype, int *elements, int tstep, RF_SIGNED_LONG dvoff, RFConnOrder desired_ord, int iIncEleNumber=0)
 Implements a function from an interface. More...

int literal_cells_order (int eltype, int *elements, int inc_pid, int tstep, RF_SIGNED_LONG dvoff, RFConnOrder desired_ord, int iIncEleNumber)
 Implements a function from an interface. More...

virtual int create_group (const char *name, int bid)
 Implements function from an interface. More...

virtual int create_group_by_pid (const char *name, int famid)
 Implements a function from an interface. More...

virtual int create_family (int bid, int famid, int only_faces)
 Implements a function from an interface. More...

virtual int add_group (const char *name, int bid)
 Implements a function from an interface. More...

virtual int rename_group (const char *name, int famid)
 Implements a function from an interface. More...

virtual int boco_infobynum (int num, const char **name, int *bid, int *famid, int *nnodes, int *nnodeele, int *nbars, int *nquads, int *ntris, int *ncells, int *nsubfaces, int *nstrfaces, RFSurfaceType *surfaceType, const struct RFSubface **subfaces, const int **cached_faces, int *n_cached_faces) const
 Implements a function from an interface. More...

virtual int boco_infobypid (int famid, int *num, const char **name, int *bid, int *nnodes, int *nnodeele, int *nbars, int *nquads, int *ntris, int *ncells, int *nsubfaces, int *nstrfaces, RFSurfaceType *surfaceType, const struct RFSubface **subfaces, const int **cached_faces, int *n_cached_faces) const
 Implements a function from an interface. More...

virtual int boco_infobyname (const char *name, int *num, int *bid, int *famid, int *nnodes, int *nnodeele, int *nbars, int *nquads, int *ntris, int *ncells, int *nsubfaces, int *nstrfaces, RFSurfaceType *surfaceType, const struct RFSubface **subfaces, const int **cached_faces, int *n_cached_faces) const
 Implements a function from an interface. More...

virtual int boco_dimensionbynum (int num, unsigned char *dim_mask) const
 Implements a function from an interface. More...

virtual int boco_dimensionbypid (int iFamid, unsigned char *iMask) const
 Implements a function from an interface. More...

virtual int boco_dimensionbyname (const char *name, unsigned char *dim_mask) const
 Implements a function from an interface. More...

virtual int add_element_to_group (RF_SIGNED_LONG elnum, const char *name)
 Implements a function from an interface. More...

virtual int add_element_to_group_bybid (RF_SIGNED_LONG elnum, int bid)
 Implements a function from an interface. More...

virtual int add_element_to_group_bypid (RF_SIGNED_LONG elnum, int famid)
 Implements a function from an interface. More...

virtual int groups_are_done ()
 Implements a function from an interface. More...

int AddFacesToGroup (int iNfaces, const int *iFaces, RFConnOrder iOrder, const char *iName, int iNodeAppNum=0)
 Implements a function from an interface. More...

int AddFacesToGroupBybid (int iNfaces, const int *iFaces, RFConnOrder iOrder, int iBID, int iNodeAppNum=0)
 Implements a function from an interface. More...

int AddFacesToGroupBypid (int iNfaces, const int *iFaces, RFConnOrder iOrder, int iFamid, int iNodeAppNum=0)
virtual int add_faces_to_group (int nfaces, const int *faces, int mesh_order, const char *name, int nodes_app_num=0)
 
Deprecated:
Use AddElementsId() (suggested) or AddFacesToGroup() instead.


virtual int add_faces_to_group_bybid (int nfaces, const int *faces, int mesh_order, int bid, int nodes_app_num=0)
 
Deprecated:
Use AddElementsId() (suggested) or AddFacesToGroupBybid() instead.


virtual int add_faces_to_group_bypid (int nfaces, const int *faces, int mesh_order, int famid, int nodes_app_num=0)
 
Deprecated:
Use AddElementsId() (suggested) or AddFacesToGroupBypid() instead.


virtual int add_subface_to_group (int dom, const int ijkmin[3], const int ijkmax[3], const char *name)
 Implements function from an interface. More...

virtual int add_subface_to_group_bybid (int dom, const int ijkmin[3], const int ijkmax[3], int bid)
 Implements function from an interface. More...

virtual int add_subface_to_group_bypid (int dom, const int ijkmin[3], const int ijkmax[3], int famid)
 Implements function from an interface. More...

virtual int max_family () const
 Implements function from an interface. More...

virtual int bocos_get_entities (RFEntityType type, RFConnOrder iOrd, int **nums, int v3v)
 Implements function from an interface. More...

virtual int boco_byindex (int num, RFEntityType type, RFConnOrder iOrd, int *nums, int v3v)
 Implements function from an interface. More...

virtual int boco_bypid (int famid, RFEntityType type, RFConnOrder iOrd, int *nums, int v3v)
 Implements function from an interface. More...

int group (int num, RFEntityType type, RFConnOrder iOrd, int *nums, int ext, int v3v)
 Implements function from an interface. More...

virtual int group_local (int num, RFEntityType type, RFConnOrder iOrd, int *nums, int ext)
 Implements function from an interface. More...

int struct_subfaces (char* topo, char* boco)
 Implements function from an interface. More...

virtual int struct_subfaces_local (char* topo, char* boco)
 Implements function from an interface. More...

int add_result (const char *name, RFEntityType type, int idnum, int is_vec)
 Implements function from an interface. More...

virtual int add_result_full (const char *name, RFEntityType type, int idnum, RFPrecType prec, RFResultSource source, int is_vec, const char *sname, RF_SIGNED_LONG ndoms, const int *iRind)
 Implements function from an interface. More...

virtual int add_unique_result (const char *name, RFEntityType type, int idnum, RFPrecType prec, RFResultSource source, int is_vec, const char *sname, RF_SIGNED_LONG ndoms, const int *iRind)
 Implements function from an interface. More...

virtual int modify_result (const char *name, RFEntityType type=RFEntityNone, int idnum=-1, RFPrecType prec=RFPrecNone, RFResultSource source=RFSourceNone, int is_vec=-1, const char *sname=0, RF_SIGNED_LONG ndoms=-1, const int *iRind=0)
 Implements function from an interface. More...

virtual int find_result (const char *name, int *idnum, RFEntityType *type, RFResultSource *source, int *is_vec, int *minmax_given, double *minval, double *maxval)
 Implements function from an interface. More...

virtual int find_result (int num, int *idnum, const char **name, RFEntityType *type, RFResultSource *source, int *is_vec, int *minmax_given, double *minval, double *maxval)
 Lookup result by backend identification number as opposed to name. More...

virtual int find_result_byidnum (int idnum, const char **name, RFEntityType *type, RFResultSource *source, int *is_vec, int *minmax_given, double *minval, double *maxval)
 Lookup result by backend identification number as opposed to name. More...

virtual int rename_result (const char *oldName, const char *newName)
 Implements function from an interface. More...

virtual int rename_result (int id, const char *newName)
 Implements function from an interface. More...

virtual int offsetto_rftype (RFEntityType rftype, RFEntityType availtypes, int isstruct, size_t ndoms, const int *iRind, size_t *offset, size_t *length)
 Implements function from an interface. More...

int load_dat (RFPrecType to_prec, void *to_p, int tidx, RFPrecType from_prec, void *from_p, int fidx)
 Synonym for load_datum. More...

RFEvaluatorcreate_evaluator (RFInterface *rfint, RFEntityType type, int skip, RFPrecType prec, int tstep, RFMethodType meth)
 Implements function from an interface. More...

size_t results_by_name (RFInterface *rfint, char* name, RFEntityType type, void* values, int skip, RFPrecType prec, int tstep, RFMethodType meth, int is_vec)
 Implements function from an interface. More...

size_t results_to_node (RFInterface *rfint, const char* name, void* values, int skip, RFPrecType prec, int tstep, RFMethodType meth, int is_vec)
 Same as results_by_name() but returns a node result. More...

size_t results (int num, RFEntityType type, void* values, int skip, RFPrecType prec, int tstep, RFMethodType meth, RFMapResultType mr)
 Implements function from an interface. More...

size_t results (const char *name, RFEntityType type, void* values, int skip, RFPrecType prec, int tstep, RFMethodType meth, RFMapResultType mr)
 Return result values by name as opposed to index. More...

size_t results_by_idnum (int idnum, RFEntityType type, void* values, int skip, RFPrecType prec, int tstep, RFMethodType meth, RFMapResultType mr)
 Return result values by backend identification number as opposed to index. More...

size_t cell_to_node_result (int num, size_t n, void* values, int skip, RFPrecType prec, int tstep, RFMethodType meth)
 Implements function from an interface. More...

int make_node_result (RFMethodType meth, void* celldata_v, void* facedata_v, void* nodedata_v, int skip, RFPrecType prec, int urlay=0, size_t nd=0, const int *iRind=0)
 Implements function from an interface. More...

virtual int make_node_weights (RFMethodType meth)
 Implements function from an interface. More...

virtual int clear_node_weights ()
 Implements function from an interface. More...

virtual int make_nodeneighbor_weights (RFMethodType meth, rf_node_neighborhood& neighborhood, rf_node_weights& weightList, int nlayers=1, int nodes_in_class=1, int n_allowed_eles=0, const int *allowed_eles=0)
 Implements function from an interface. More...

virtual int addresult_to_cache (const void *token, int cton, RFEntityType type, RFPrecType prec, int tstep, int must_map_res, void *values)
 Implements function from an interface. More...

virtual int copyresult_from_cache (const void *token, RFEntityType type, void *values, size_t n, int skip, RFPrecType prec, int tstep, int must_map_res)
 Implements function from an interface. More...

virtual int flush_result_cache ()
 Implements function from an interface. More...

virtual int flush_result_cache (int maxentries)
 Implements function from an interface. More...

virtual int flush_celltonode_incache ()
 Implements function from an interface. More...

virtual size_t n_parameters () const
 Implements function from an interface. More...

virtual int define_parameter (const char *name, const char *value)
 Implements function from an interface. More...

int parse_parameters (int argc, const char **argv)
 Implements function from an interface. More...

virtual RFMethodType parse_weight_method (const char *meth)
 Implements function from an interface. More...

virtual int get_n_times () const
 Implements function from an interface. More...

virtual int get_time_step (int idx, int *step, float *tv) const
 Implements function from an interface. More...

virtual int get_cur_timestep () const
 Implements function from an interface. More...

virtual char grid_timestep_valid (int tstep) const
 Implements function from an interface. More...

virtual int allocate_times (int n_times)
 Implements function from an interface. More...

virtual int add_timestep (size_t idx, int step, float timeval)
 Implements function from an interface. More...

virtual int set_cur_timestep (int v)
 Implements function from an interface. More...

virtual int determine_tstep (int next_tstep)
 Implements function from an interface. More...

virtual int copy_mesh_from (const rf_backend_interface *frominfo, RFLongestSignedList& mapVerts, RFLongestSignedList& mapEles)
 Implements function from an interface. More...

virtual int copy_auxinfo_from (const rf_backend_interface *frominfo)
 Implements function from an interface. More...

virtual int clear_grid ()
 Implements function from an interface. More...

virtual int clear_mesh_done ()
 Implements function from an interface. More...

virtual int clear_block ()
 Implements function from an interface. More...

virtual int set_mesh_done ()
 Implements function from an interface. More...

virtual int cells_done ()
 Implements function from an interface. More...

virtual int mark_mesh_fromrep (int tstep)
 Implements function from an interface. More...

virtual int mark_mesh_read (int tstep)
 Implements function from an interface. More...

virtual int mark_cells_read (int tstep)
 Implements function from an interface. More...

virtual int compress_mesh ()
 Implements function from an interface. More...

virtual int merge_unstr_famnodes (int src, int dst)
 Implements function from an interface. More...

virtual int merge_unstr_nodes (const RFMergeVtxList& unslist)
 Implements function from an interface. More...

const int* get_face_order (int type) const
 Return face definition for specified element type. More...

const int* get_edge_order (int type) const
 Return edge definition for specified element type. More...

int set_face_order (int type, va_list ap)
 Set face definition for specified element type. More...

int set_face_order (int type, ...)
int set_edge_order (int type, va_list ap)
 Set edge definition for specified element type. More...

int set_edge_order (int type, ...)
virtual int delete_family (int famid, int notvol)
 Implements function from an interface. More...

virtual int v3_edit (RFEdits edit_what)
 Implements function from an interface. More...

virtual int release_connectivity_info ()
 Implements function from an interface. More...

virtual int volume_orient (int fix)
 Implements function from an interface. More...

virtual int noORFNpid ()
 Implements function from an interface. More...

virtual int reconcile_pids (rf_mesh_interface *mi, int noORFN)
 Implements function from an interface. More...

virtual int reconcile_extpids (int n, const int *famids, const char **fnms)
 Implements function from an interface. More...

virtual int after_edit_update (int nb, int upd_nodes, int upd_cells)
 Implements function from an interface. More...

int compare (rf_backend_interface *operand, RFCompareType compareFlag, int tstep, int nresults, const RFIdList& resultlist, double distTol=RFFloatEpsilon, double resultTol=RFFloatEpsilon, double fuzzyMeshTol=.10)
 Implements function from an interface. More...

virtual int parse_parameters_int (rf_backend_impl *impl, int argc, const char **argv)
 Callback for interface implementation. More...

virtual int parse_parameter (int& index, const char**& argv)
 Does this implementation recognize the current parameter? Subclasses of rf_backend_impl should invoke parent class method if they do not recognize a particular parameter name. More...

virtual int write_to_pipe (rf_backend_impl *impl)
 Callback for interface implementation. More...

virtual int write_domain_int (rf_backend_impl *impl, const char *file, int nr, rf_result_func grf, int ts, void *d)
 Callback for interface implementation. More...

virtual int write_domain_results_from_int (rf_backend_impl *impl, rfobj_impl *resultobj, const char *file, int tstep)
 Callback for interface implementation. More...

virtual StorageBuffer tclMesh (rf_backend_impl *imp