Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
roccom_c++.h File Reference

Contains the wrapper routines for C++ binding of Roccom API. More...

#include <cstdlib>
#include <cstring>
#include <cassert>
#include "Roccom_base.h"
Include dependency graph for roccom_c++.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define COM_set_bounds_prototype(type)
 
#define COM_get_array_prototype(type)
 
#define COM_get_array_const_prototype(type)
 

Functions

void COM_init (int *argc, char ***argv)
 
void COM_finalize ()
 
int COM_initialized ()
 
void COM_abort (int ierr)
 
void COM_set_default_communicator (MPI_Comm comm)
 
MPI_Comm COM_get_default_communicator ()
 
void COM_load_module (const char *libname, const char *winname)
 
void COM_unload_module (const char *libname, const char *winname=NULL)
 
void COM_close_module (const char *libname, const char *winname=NULL)
 
void COM_new_window (const char *wname, MPI_Comm c=MPI_COMM_NULL)
 
void COM_new_window (const std::string wname, MPI_Comm c=MPI_COMM_NULL)
 
void COM_delete_window (const char *wname)
 
void COM_delete_window (const std::string wname)
 
void COM_window_init_done (const char *w_str, int pane_changed=true)
 
void COM_window_init_done (const std::string w_str, int pane_changed=true)
 
void COM_delete_pane (const char *str, int pid)
 
void COM_delete_pane (const std::string str, int pid)
 
void COM_new_attribute (const char *wa_str, const char loc, const int type, int ncomp, const char *unit)
 Registering an attribute type. More...
 
void COM_new_attribute (const std::string wa_str, const char loc, const int type, int ncomp, const char *unit)
 
void COM_delete_attribute (const char *wa_str)
 Delete an existing attribute. More...
 
void COM_delete_attribute (const std::string wa_str)
 
void COM_set_size (const char *wa_str, int pane_id, int size, int ng=0)
 Set sizes of for a specific attribute. More...
 
void COM_set_size (const std::string wa_str, int pane_id, int size, int ng=0)
 
template<class Type >
void COM_set_object (const char *wa_str, int pane_id, Type *addr)
 
template<class Type >
void COM_get_object (const char *wa_str, int pane_id, Type **addr)
 
void COM_set_array (const char *wa_str, int pane_id, void *addr, int strd=0, int cap=0)
 Associates an array with an attribute for a specific pane. More...
 
void COM_set_array_const (const char *wa_str, int pane_id, const void *addr, int strd=0, int cap=0)
 
void COM_set_array (const std::string wa_str, int pane_id, void *addr, int strd=0, int cap=0)
 
void COM_set_array_const (const std::string wa_str, int pane_id, const void *addr, int strd=0, int cap=0)
 
void COM_set_bounds (const char *wa_str, int pane_id, const void *lbound, const void *ubound)
 Set the lower and upper bounds of an attribute. More...
 
void COM_set_bounds (const std::string wa_str, int pane_id, const void *lbound, const void *ubound)
 
void COM_allocate_array (const char *wa_str, int pane_id=0, void **addr=NULL, int strd=0, int cap=0)
 Allocate space for an attribute on a specific pane and return the address by setting addr. More...
 
void COM_resize_array (const char *wa_str, int pane_id=0, void **addr=NULL, int strd=-1, int cap=0)
 Resize an attribute on a specific pane and return the address by setting addr. More...
 
void COM_allocate_array (const std::string wa_str, int pane_id=0, void **addr=NULL, int strd=0, int cap=0)
 
void COM_resize_array (const std::string wa_str, int pane_id=0, void **addr=NULL, int strd=-1, int cap=0)
 
void COM_append_array (const char *wa_str, int pane_id, const void *val, int v_strd, int v_size)
 Append an array to the end of the attribute on a specific pane and return the new address by setting addr. More...
 
void COM_append_array (const std::string wa_str, int pane_id, const void *val, int v_strd, int v_size)
 
void COM_use_attribute (const char *wname, const char *attr, int wg=1, const char *ptnname=0, int val=0)
 Use the subset of panes of another window of which the given pane attribute has value val. More...
 
void COM_use_attribute (const std::string wname, const std::string attr, int wg=1, const char *ptnname=0, int val=0)
 
void COM_clone_attribute (const char *wname, const char *attr, int wg=1, const char *ptnname=0, int val=0)
 Clone the subset of panes of another window of which the given pane attribute has value val. More...
 
void COM_clone_attribute (const std::string wname, const std::string attr, int wg=1, const char *ptnname=0, int val=0)
 
void COM_copy_attribute (const char *wname, const char *attr, int wg=1, const char *ptnname=0, int val=0)
 Copy an attribute onto another. More...
 
void COM_copy_attribute (const std::string wname, const std::string attr, int wg=1, const char *ptnname=0, int val=0)
 
void COM_copy_attribute (int trg_hdl, int src_hdl, int wg=1, int ptn_hdl=0, int val=0)
 
void COM_deallocate_array (const char *wa_str, const int pid=0)
 Deallocate space for an attribute in a pane, asuming the memory was allocated allocate_mesh or allocate_attribute. More...
 
void COM_deallocate_array (const std::string wa_str, const int pid=0)
 
void COM_get_attribute (const std::string wa_str, char *loc, int *type, int *ncomp, std::string *unit)
 
void COM_get_size (const char *wa_str, int pane_id, int *size, int *ng=0)
 Get the sizes of an attribute. More...
 
void COM_get_size (const std::string wa_str, int pane_id, int *size, int *ng=0)
 
void COM_copy_array (const char *wa_str, int pane_id, void *val, int v_strd=0, int v_size=0, int offset=0)
 Copy an array from an attribute on a specific pane into a given buffer. More...
 
void COM_get_bounds (const char *wa_str, int pane_id, void *lbound, void *ubound)
 Get the lower and upper bounds of an attribute. More...
 
int COM_check_bounds (const char *wa_str, int pane_id)
 Check the lower and upper bounds of an attribute for a specific pane. More...
 
void COM_set_function (const char *wf_str, Func_ptr func, const char *intents, const COM_Type *types)
 
void COM_set_member_function (const char *wf_str, Member_func_ptr func, const char *wa_str, const char *intents, const COM_Type *types)
 
void COM_set_member_function (const char *wf_str, Func_ptr func, const char *wa_str, const char *intents, const COM_Type *types)
 
void COM_get_communicator (const char *wname, MPI_Comm *comm)
 
void COM_get_panes (const char *wname, std::vector< int > &pane_ids, int rank=-2)
 
void COM_get_windows (std::vector< std::string > &names)
 
void COM_get_modules (std::vector< std::string > &names)
 
void COM_get_attributes (const char *wname, int *na, std::string &names)
 
void COM_get_connectivities (const char *wname, int pane_id, int *nc, std::string &names)
 
void COM_get_parent (const char *waname, int pane_id, std::string &parent)
 
void COM_get_panes (const char *wname, int *npanes, int **pane_ids=NULL, int rank=-2)
 
void COM_get_attributes (const char *wname, int *na, char **names=NULL)
 
void COM_get_connectivities (const char *wname, int pane_id, int *nc, char **names=NULL)
 
void COM_get_parent (const char *waname, int pane_id, char **parent)
 
void COM_free_buffer (int **buf)
 
void COM_free_buffer (char **buf)
 
int COM_get_window_handle (const char *wname)
 
int COM_get_window_handle (const std::string wname)
 
int COM_get_attribute_handle (const char *waname)
 
int COM_get_attribute_handle (const std::string waname)
 
int COM_get_attribute_handle_const (const char *waname)
 
int COM_get_attribute_handle_const (const std::string waname)
 
int COM_get_function_handle (const char *wfname)
 
int COM_get_status (const char *waname, const int pane_id)
 
void COM_call_function (const int wf, int argc,...)
 
void COM_icall_function (const int wf, int argc,...)
 
void COM_call_function (const int wf)
 
void COM_call_function (const int wf, const void *wa)
 
void COM_call_function (const int wf, const void *wa1, const void *wa2)
 
void COM_call_function (const int wf, const void *wa1, const void *wa2, const void *wa3)
 
void COM_call_function (const int wf, const void *wa1, const void *wa2, const void *wa3, const void *wa4)
 
void COM_call_function (const int wf, const void *wa1, const void *wa2, const void *wa3, const void *wa4, const void *wa5)
 
void COM_call_function (const int wf, const void *wa1, const void *wa2, const void *wa3, const void *wa4, const void *wa5, const void *wa6)
 
void COM_call_function (const int wf, const void *wa1, const void *wa2, const void *wa3, const void *wa4, const void *wa5, const void *wa6, const void *wa7)
 
void COM_icall_function (const int wf, int *id)
 
void COM_icall_function (const int wf, const void *wa, int *id)
 
void COM_icall_function (const int wf, const void *wa1, const void *wa2, int *id)
 
void COM_icall_function (const int wf, const void *wa1, const void *wa2, const void *wa3, int *id)
 
void COM_icall_function (const int wf, const void *wa1, const void *wa2, const void *wa3, const void *wa4, int *id)
 
void COM_icall_function (const int wf, const void *wa1, const void *wa2, const void *wa3, const void *wa4, const void *wa5, int *id)
 
void COM_icall_function (const int wf, const void *wa1, const void *wa2, const void *wa3, const void *wa4, const void *wa5, const void *wa6, int *id)
 
void COM_icall_function (const int wf, const void *wa1, const void *wa2, const void *wa3, const void *wa4, const void *wa5, const void *wa6, const void *wa7, int *id)
 
void COM_wait (const int id)
 
int COM_test (const int id)
 
void COM_set_verbose (int i)
 
void COM_set_debug (bool debug)
 
void COM_set_profiling (int i)
 
void COM_set_profiling_barrier (int hdl, MPI_Comm comm)
 
void COM_print_profile (const char *fname, const char *header)
 
int COM_get_sizeof (const COM_Type type, int c)
 
int COM_compatible_types (COM_Type type1, COM_Type type2)
 
int COM_get_error_code ()
 

Detailed Description

Contains the wrapper routines for C++ binding of Roccom API.

All the functions are inlined and hence have smaller runtime overhead compared with the C binding.

See Also
roccom_c.h

Definition in file roccom_c++.h.

Macro Definition Documentation

#define COM_get_array_const_prototype (   type)
Value:
inline void COM_get_array_const( const char *wa_str, int pane_id, \
const type **addr, int *strd=NULL, int *cap=NULL) \
{ COM_get_roccom()->get_array( wa_str, pane_id, \
(void**)addr, strd, cap, true); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Definition at line 296 of file roccom_c++.h.

#define COM_get_array_prototype (   type)
Value:
inline void COM_get_array( const char *wa_str, int pane_id, \
type **addr, int *strd=NULL, int *cap=NULL) \
{ COM_get_roccom()->get_array( wa_str, pane_id, (void**)addr, strd, cap); }
void COM_get_array(const char *wa_str, int pane_id, void **addr, int *strd, int *cap)
Get the address for an attribute on a specific pane.
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Definition at line 282 of file roccom_c++.h.

#define COM_set_bounds_prototype (   type)
Value:
inline void COM_set_bounds( const char *wa_str, int pane_id, \
type lbound, type ubound) \
{ COM_get_roccom()->set_bounds( wa_str, pane_id, &lbound, &ubound); }
void COM_set_bounds(const char *wa_str, int pane_id, const void *lbound, const void *ubound)
Set the lower and upper bounds of an attribute.
Definition: roccom_c++.h:176
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Definition at line 185 of file roccom_c++.h.

Function Documentation

void COM_abort ( int  ierr)
inline

Definition at line 64 of file roccom_c++.h.

65 { COM::Roccom_base::abort( ierr); }
void COM_allocate_array ( const char *  wa_str,
int  pane_id,
void **  addr,
int  strd,
int  cap 
)
inline

Allocate space for an attribute on a specific pane and return the address by setting addr.

Allocate for all panes if pane-id is 0, in which case, do not set addr.

Definition at line 196 of file roccom_c++.h.

References COM_get_roccom().

Referenced by RFC_Window_overlay::print_features(), MSH_Reader::read_pane_coors(), SMF_Reader::read_pane_coors(), OBJ_Reader::read_pane_coors(), Neutral_Reader::read_pane_coors(), IM_Reader::read_pane_coors(), OBJ_Reader::read_pane_elems(), MSH_Reader::read_pane_elems(), SMF_Reader::read_pane_elems(), Neutral_Reader::read_pane_elems(), IM_Reader::read_pane_elems(), and RFC_Pane_base::register_sdv_attributes().

198 { COM_get_roccom()->allocate_array( wa_str, pane_id, addr, strd, cap); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

Here is the caller graph for this function:

void COM_allocate_array ( const std::string  wa_str,
int  pane_id = 0,
void **  addr = NULL,
int  strd = 0,
int  cap = 0 
)
inline

Definition at line 205 of file roccom_c++.h.

References COM_get_roccom().

207 { COM_get_roccom()->allocate_array( wa_str.c_str(), pane_id, addr, strd, cap); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

void COM_append_array ( const char *  wa_str,
int  pane_id,
const void *  val,
int  v_strd,
int  v_size 
)
inline

Append an array to the end of the attribute on a specific pane and return the new address by setting addr.

Definition at line 214 of file roccom_c++.h.

References COM_get_roccom().

Referenced by RFC_Pane_base::register_sdv_attributes().

216 { COM_get_roccom()->append_array( wa_str, pane_id, val, v_strd, v_size); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

Here is the caller graph for this function:

void COM_append_array ( const std::string  wa_str,
int  pane_id,
const void *  val,
int  v_strd,
int  v_size 
)
inline

Definition at line 219 of file roccom_c++.h.

References COM_get_roccom().

221 { COM_get_roccom()->append_array( wa_str.c_str(), pane_id, val, v_strd, v_size); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

void COM_call_function ( const int  wf,
int  argc,
  ... 
)

Definition at line 48 of file roccom_c.C.

Referenced by _load_rocface(), InterpolateBase::backup(), build_unstr_hex(), build_unstr_prism(), build_unstr_prism_tet(), build_unstr_prism_tet_2(), build_unstr_pyr(), build_unstr_tet_2(), Agent::check_convergence_help(), compute_area(), compute_fnormal_error(), FluidAgent::compute_integrals(), SolidAgent::compute_integrals(), compute_overlay(), compute_quadric_normals(), compute_vnormal_error(), compute_volume(), compute_weighted_normals(), FluidAgent::create_buffer_all(), InterpolateBase::extrapolate_Linear(), Agent::finalize(), getPaneConnectivity(), getWindow(), InterpolateBase::init(), GetDeformedMesh::init(), GetDeformedMesh_ALE::init(), MeshMotionTransferISS::init(), init_attributes(), init_constraints(), init_constraints_acmflu(), init_constraints_acmfrac(), init_constraints_labscale(), init_constraints_myacm(), init_constraints_staraft(), init_constraints_starslice(), FluidAgent::init_convergence(), Rocon::init_from_file(), BurnAgent::init_module(), FluidAgent::init_module(), SolidAgent::init_module(), init_normals(), init_parameters(), RFC_Window_transfer::init_recv_buffer(), load_rocon(), load_rocprop(), main(), FluidAgent::output_restart_files(), output_solution(), RFC_Window_overlay::print_features(), Control_parameters::read(), RocmanControl_parameters::read(), Agent::read_by_control_file(), read_file(), read_pane_sp(), BurnAgent::read_restart_data(), FluidAgent::read_restart_data(), SolidAgent::read_restart_data(), RFC_Window_base::read_sdv(), IM_Reader::read_winmesh(), remesh(), SetValueDouble::run(), LoadTransfer_FS::run(), Extrapolate_Linear::run(), CopyValue::run(), Extrapolate_Central::run(), LoadTransfer_FSc_ALE::run(), Interpolate_Linear::run(), Interpolate_Constant::run(), Interpolate_Central::run(), LoadTransferOnly_FSc_ALE::run(), GetDeformedMesh::run(), PhysicsAction::run(), GetDeformedMesh_ALE::run(), SurfDiver::run(), MeshMotionTransfer_SF::run(), ComputeFluidLoad_ALE::run(), DeformationVelTransfer_SF::run(), ComputeMeshMotion::run(), MeshMotionTransferISS::run(), ComputeFaceCenters::run(), TransferSolidDensity::run(), FluidPropagateSurface::run(), TransferBurnRate_FS_ALE::run(), MassTransfer_SF_ALE::run(), MassTransfer::run(), TemperatureTransfer_SF::run(), ZoomInterface::run(), HeatTransfer_FS::run(), ComputeRhofvf::run(), ComputeBurnPane::run(), RemeshInit::run(), ComputePconn::run(), SolidPropagateSurface_ALE::run(), Reset_du_alp::run(), TRAIL_AutoSurfer(), TRAIL_FE2FD_Transfer(), TRAIL_File2Window(), TRAIL_HDF2Window(), TRAIL_RocmopSmooth(), TRAIL_RocpropSmoothSurf(), TRAIL_TransferSurfDataFILE(), TRAIL_WriteWindow(), Control_parameters::update_communicator(), FullyCoupling::update_distances(), Agent::write_control_file(), Agent::write_data_files(), and RFC_Window_base::write_sdv().

48  {
49  COM_assertion_msg( argc <= Function::MAX_NUMARG, "Too many arguments") ;
50 
51  int i;
52  void *args[Function::MAX_NUMARG];
53  va_list ap;
54 
55  va_start( ap, argc);
56  for ( i=0; i<argc; ++i) {
57  args[i] = va_arg( ap, void*);
58  }
59  va_end( ap);
60  COM_get_roccom()->call_function( wf, argc, args);
61 }
#define COM_assertion_msg(EX, msg)
blockLoc i
Definition: read.cpp:79
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537
void COM_call_function ( const int  wf)
inline

Definition at line 442 of file roccom_c++.h.

References COM_get_roccom().

443 { COM_get_roccom()->call_function( wf, 0, 0); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

void COM_call_function ( const int  wf,
const void *  wa 
)
inline

Definition at line 444 of file roccom_c++.h.

References COM_get_roccom().

444  {
445  COM_get_roccom()->call_function( wf, 1, (void**)&wa);
446 }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

void COM_call_function ( const int  wf,
const void *  wa1,
const void *  wa2 
)
inline

Definition at line 447 of file roccom_c++.h.

References COM_get_roccom().

448  {
449  const void *args[] = { wa1, wa2};
450  COM_get_roccom()->call_function( wf, 2, (void **)args);
451 }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

void COM_call_function ( const int  wf,
const void *  wa1,
const void *  wa2,
const void *  wa3 
)
inline

Definition at line 452 of file roccom_c++.h.

References COM_get_roccom().

453  {
454  const void *args[] = { wa1, wa2, wa3 };
455  COM_get_roccom()->call_function( wf, 3, (void**)args);
456 }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

void COM_call_function ( const int  wf,
const void *  wa1,
const void *  wa2,
const void *  wa3,
const void *  wa4 
)
inline

Definition at line 457 of file roccom_c++.h.

References COM_get_roccom().

459  {
460  const void *args[] = { wa1, wa2, wa3, wa4 };
461  COM_get_roccom()->call_function( wf, 4, (void**)args);
462 }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

void COM_call_function ( const int  wf,
const void *  wa1,
const void *  wa2,
const void *  wa3,
const void *  wa4,
const void *  wa5 
)
inline

Definition at line 464 of file roccom_c++.h.

References COM_get_roccom().

466  {
467  const void *args[] = { wa1, wa2, wa3, wa4, wa5 };
468  COM_get_roccom()->call_function( wf, 5, (void**)args);
469 }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

void COM_call_function ( const int  wf,
const void *  wa1,
const void *  wa2,
const void *  wa3,
const void *  wa4,
const void *  wa5,
const void *  wa6 
)
inline

Definition at line 471 of file roccom_c++.h.

References COM_get_roccom().

474  {
475  const void *args[] = { wa1, wa2, wa3, wa4, wa5, wa6 };
476  COM_get_roccom()->call_function( wf, 6, (void**)args);
477 }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

void COM_call_function ( const int  wf,
const void *  wa1,
const void *  wa2,
const void *  wa3,
const void *  wa4,
const void *  wa5,
const void *  wa6,
const void *  wa7 
)
inline

Definition at line 479 of file roccom_c++.h.

References COM_get_roccom().

482  {
483  const void *args[] = { wa1, wa2, wa3, wa4, wa5, wa6, wa7 };
484  COM_get_roccom()->call_function( wf, 7, (void**)args);
485 }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

int COM_check_bounds ( const char *  wa_str,
int  pane_id 
)
inline

Check the lower and upper bounds of an attribute for a specific pane.

Definition at line 320 of file roccom_c++.h.

References COM_get_roccom().

321 { return COM_get_roccom()->check_bounds( wa_str, pane_id); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

void COM_clone_attribute ( const char *  wname,
const char *  attr,
int  with_ghost,
const char *  ptnname,
int  val 
)
inline

Clone the subset of panes of another window of which the given pane attribute has value val.

Definition at line 234 of file roccom_c++.h.

References COM_get_roccom().

Referenced by CloneAttribute::create(), FluidAgent::create_buffer_all(), BurnAgent::create_buffer_all(), SolidAgent::create_buffer_all(), getWindow(), Rocon::initialize(), read_file(), FluidAgent::read_restart_data(), SolidAgent::read_restart_data(), TRAIL_ExtractSurf0(), TRAIL_File2Window(), and TRAIL_HDF2Window().

236 { COM_get_roccom()->clone_attribute(wname, attr, wg, ptnname, val); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

Here is the caller graph for this function:

void COM_clone_attribute ( const std::string  wname,
const std::string  attr,
int  wg = 1,
const char *  ptnname = 0,
int  val = 0 
)
inline

Definition at line 239 of file roccom_c++.h.

References COM_get_roccom().

241 { COM_get_roccom()->clone_attribute(wname.c_str(), attr.c_str(), wg, ptnname, val); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

void COM_close_module ( const char *  libname,
const char *  winname = NULL 
)
inline

Definition at line 81 of file roccom_c++.h.

References COM_get_roccom().

Referenced by BurnAgent::unload_module(), FluidAgent::unload_module(), and SolidAgent::unload_module().

82 { COM_get_roccom()->unload_module( libname, winname?winname:"", 0); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

Here is the caller graph for this function:

void COM_copy_array ( const char *  wa_str,
int  pane_id,
void *  val,
int  v_strd,
int  v_size,
int  offset 
)
inline

Copy an array from an attribute on a specific pane into a given buffer.

Definition at line 311 of file roccom_c++.h.

References COM_get_roccom(), and offset().

Referenced by read_pane_sp(), and RFC_Pane_base::read_rocin().

314 { COM_get_roccom()->copy_array( wa_str, pane_id, val, v_strd, v_size, offset); }
real *8 function offset(vNorm, x2, y2, z2)
Definition: PlaneNorm.f90:211
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

Here is the caller graph for this function:

void COM_copy_attribute ( const char *  wname,
const char *  attr,
int  with_ghost,
const char *  ptnname,
int  val 
)
inline

Copy an attribute onto another.

Definition at line 244 of file roccom_c++.h.

References COM_get_roccom().

Referenced by TemperatureTransfer_SF::run(), HeatTransfer_FS::run(), CopyBurnFromParentMesh::run(), CopyBflagFromBurn::run(), and Agent::store_solutions().

246 { COM_get_roccom()->copy_attribute(wname, attr, wg, ptnname, val); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

Here is the caller graph for this function:

void COM_copy_attribute ( const std::string  wname,
const std::string  attr,
int  wg = 1,
const char *  ptnname = 0,
int  val = 0 
)
inline

Definition at line 249 of file roccom_c++.h.

References COM_get_roccom().

251 { COM_get_roccom()->copy_attribute(wname.c_str(), attr.c_str(), wg, ptnname, val); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

void COM_copy_attribute ( int  trg_hdl,
int  src_hdl,
int  wg = 1,
int  ptn_hdl = 0,
int  val = 0 
)
inline

Definition at line 254 of file roccom_c++.h.

References COM_get_roccom().

255 { COM_get_roccom()->copy_attribute(trg_hdl, src_hdl, wg, ptn_hdl, val); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

void COM_deallocate_array ( const char *  wa_str,
const int  pid 
)
inline

Deallocate space for an attribute in a pane, asuming the memory was allocated allocate_mesh or allocate_attribute.

Definition at line 262 of file roccom_c++.h.

References COM_get_roccom().

263 { COM_get_roccom()->deallocate_array(wa_str, pid); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

void COM_deallocate_array ( const std::string  wa_str,
const int  pid = 0 
)
inline

Definition at line 266 of file roccom_c++.h.

References COM_get_roccom().

267 { COM_get_roccom()->deallocate_array(wa_str.c_str(), pid); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

void COM_delete_attribute ( const char *  wa_str)
inline

Delete an existing attribute.

Definition at line 128 of file roccom_c++.h.

References COM_get_roccom().

Referenced by getWindow(), main(), read_file(), IM_Reader::read_winmesh(), TRAIL_File2Window(), and TRAIL_HDF2Window().

129 { COM_get_roccom()->delete_attribute( wa_str); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

Here is the caller graph for this function:

void COM_delete_attribute ( const std::string  wa_str)
inline

Definition at line 132 of file roccom_c++.h.

References COM_get_roccom().

133 { COM_get_roccom()->delete_attribute( wa_str.c_str()); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

void COM_delete_pane ( const char *  str,
int  pid 
)
inline

Definition at line 110 of file roccom_c++.h.

References COM_get_roccom().

Referenced by read_file(), TRAIL_File2Window(), and RFC_Window_base::write_sdv().

111 { COM_get_roccom()->delete_pane( str, pid) ; }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

Here is the caller graph for this function:

void COM_delete_pane ( const std::string  str,
int  pid 
)
inline

Definition at line 114 of file roccom_c++.h.

References COM_get_roccom().

115 { COM_get_roccom()->delete_pane( str.c_str(), pid) ; }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

void COM_delete_window ( const std::string  wname)
inline

Definition at line 98 of file roccom_c++.h.

References COM_get_roccom().

99 { COM_get_roccom()->delete_window(wname.c_str()); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

void COM_finalize ( )
inline

Definition at line 59 of file roccom_c++.h.

Referenced by main(), and RocstarShutdown().

60 { COM::Roccom_base::finalize(); }

Here is the caller graph for this function:

void COM_free_buffer ( int **  buf)
inline
void COM_free_buffer ( char **  buf)
inline

Definition at line 401 of file roccom_c++.h.

References COM_get_roccom().

402 { COM_get_roccom()->free_buffer( buf); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

void COM_get_attribute ( const std::string  wa_str,
char *  loc,
int *  type,
int *  ncomp,
std::string *  unit 
)
inline

Definition at line 269 of file roccom_c++.h.

References COM_get_roccom().

Referenced by broadcast_win_attributes(), COM_print_window(), NewAttribute::create(), CloneAttribute::create(), UseAttribute::create(), SolidAgent::create_buffer_all(), LoadTransfer_FS::init(), LoadTransfer_FSc_ALE::init(), LoadTransferOnly_FSc_ALE::init(), main(), TRAIL_Add_Attributes(), TRAIL_Att2Vec(), TRAIL_AutoSurfer(), TRAIL_FD2FE_Transfer(), TRAIL_FE2FD_Transfer(), TRAIL_GetWindowSolnMetaData(), and TRAIL_TransferSurfDataFILE().

271 { COM_get_roccom()->get_attribute( wa_str.c_str(), loc, type, ncomp, unit); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

Here is the caller graph for this function:

int COM_get_attribute_handle ( const char *  waname)
inline

Definition at line 412 of file roccom_c++.h.

References COM_get_roccom().

Referenced by build_unstr_hex(), build_unstr_prism(), build_unstr_prism_tet(), build_unstr_prism_tet_2(), build_unstr_pyr(), build_unstr_tet_2(), COM_print_window(), compute_area(), compute_overlay(), compute_quadric_normals(), compute_volume(), compute_weighted_normals(), NewAttribute::create(), CloneAttribute::create(), UseAttribute::create(), FluidAgent::create_buffer_all(), BurnAgent::create_buffer_all(), SolidAgent::create_buffer_all(), GEM_DomainBoundary::Create_com_surfsoln(), GEM_Partition::Create_com_volsoln(), Action::get_attribute_handle(), getPaneConnectivity(), InterpolateBase::init(), Extrapolate_Linear::init(), Extrapolate_Central::init(), LoadTransfer_FSc_ALE::init(), GetDeformedMesh_ALE::init(), MeshMotionTransfer_SF::init(), ComputeFluidLoad_ALE::init(), MeshMotionTransferISS::init(), ComputeMeshMotion::init(), FluidPropagateSurface::init(), TransferBurnRate_FS_ALE::init(), MassTransfer_SF_ALE::init(), MassTransfer::init(), ZoomInterface::init(), HeatTransfer_FS::init(), ComputeRhofvf::init(), ComputeBurnPane::init(), SolidPropagateSurface_ALE::init(), Reset_du_alp::init(), init_attributes(), init_constraints(), init_constraints_acmflu(), init_constraints_acmfrac(), init_constraints_labscale(), init_constraints_myacm(), init_constraints_staraft(), init_constraints_starslice(), Rocon::init_from_file(), init_normals(), RFC_Window_transfer::init_recv_buffer(), main(), output_solution(), read_file(), read_pane_sp(), FluidAgent::read_restart_data(), BurnAgent::read_restart_data(), SolidAgent::read_restart_data(), RFC_Pane_base::read_rocin(), RFC_Window_base::read_sdv(), IM_Reader::read_winmesh(), remesh(), SurfDiver::run(), ComputeFaceCenters::run(), TRAIL_Add_Attributes(), TRAIL_AutoSurfer(), TRAIL_FD2FE_Transfer(), TRAIL_FD2FE_WinCreate2(), TRAIL_FE2FD_Transfer(), TRAIL_File2Window(), TRAIL_HDF2Window(), TRAIL_RocmopSmooth(), TRAIL_RocpropSmoothSurf(), TRAIL_TransferSurfDataFILE(), TRAIL_WriteWindow(), Agent::write_data_files(), and RFC_Window_base::write_sdv().

413 { return COM_get_roccom()->get_attribute_handle( waname); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

int COM_get_attribute_handle ( const std::string  waname)
inline

Definition at line 416 of file roccom_c++.h.

References COM_get_roccom().

417 { return COM_get_roccom()->get_attribute_handle( waname.c_str()); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

int COM_get_attribute_handle_const ( const char *  waname)
inline
int COM_get_attribute_handle_const ( const std::string  waname)
inline

Definition at line 424 of file roccom_c++.h.

References COM_get_roccom().

425 { return COM_get_roccom()->get_attribute_handle_const( waname.c_str()); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

void COM_get_attributes ( const char *  wname,
int *  na,
std::string &  names 
)
inline

Definition at line 360 of file roccom_c++.h.

References COM_get_roccom().

Referenced by broadcast_win_attributes(), COM_print_window(), main(), TRAIL_AutoSurfer(), TRAIL_GetWindowSolnData(), TRAIL_GetWindowSolnMetaData(), and TRAIL_TransferSurfDataFILE().

361 { COM_get_roccom()->get_attributes( wname, na, names); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

Here is the caller graph for this function:

void COM_get_attributes ( const char *  wname,
int *  na,
char **  names = NULL 
)
inline

Definition at line 379 of file roccom_c++.h.

References COM_get_roccom().

380  {
381  std::string str;
382  COM_get_roccom()->get_attributes( wname, na, str, names);
383 }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

void COM_get_bounds ( const char *  wa_str,
int  pane_id,
void *  lbound,
void *  ubound 
)
inline

Get the lower and upper bounds of an attribute.

Definition at line 316 of file roccom_c++.h.

References COM_get_roccom().

318 { COM_get_roccom()->get_bounds( wa_str, pane_id, lbound, ubound); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

void COM_get_communicator ( const char *  wname,
MPI_Comm *  comm 
)
inline

Definition at line 346 of file roccom_c++.h.

References COM_get_roccom().

Referenced by TRAIL_FD2FE_Transfer(), TRAIL_FD2FE_WinCreate(), and TRAIL_FD2FE_WinCreate2().

347 { *comm = COM_get_roccom()->get_communicator( wname); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

Here is the caller graph for this function:

void COM_get_connectivities ( const char *  wname,
int  pane_id,
int *  nc,
std::string &  names 
)
inline

Definition at line 363 of file roccom_c++.h.

References COM_get_roccom().

Referenced by Rocon::burnout(), COM_print_window(), and main().

365 { COM_get_roccom()->get_connectivities( wname, pane_id, nc, names); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

Here is the caller graph for this function:

void COM_get_connectivities ( const char *  wname,
int  pane_id,
int *  nc,
char **  names = NULL 
)
inline

Definition at line 385 of file roccom_c++.h.

References COM_get_roccom().

386  {
387  std::string str;
388  COM_get_roccom()->get_connectivities( wname, pane_id, nc, str, names);
389 }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

MPI_Comm COM_get_default_communicator ( )
inline

Definition at line 69 of file roccom_c++.h.

Referenced by compute_overlay(), GetCommunicator(), Rocin::read_by_control_file(), Rocin::read_windows(), SurfDiver::run(), TRAIL_FE2FD_Transfer(), and Rocout::write_rocin_control_file().

70 { return COM::Roccom_base::get_default_communicator(); }

Here is the caller graph for this function:

int COM_get_error_code ( )
inline

Definition at line 566 of file roccom_c++.h.

References COM_get_roccom().

567 { return COM_get_roccom()->get_error_code(); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

int COM_get_function_handle ( const char *  wfname)
inline

Definition at line 428 of file roccom_c++.h.

References COM_get_roccom().

Referenced by _load_rocface(), build_unstr_hex(), build_unstr_prism(), build_unstr_prism_tet(), build_unstr_prism_tet_2(), build_unstr_pyr(), build_unstr_tet_2(), compute_area(), compute_fnormal_error(), compute_overlay(), compute_quadric_normals(), compute_vnormal_error(), compute_volume(), compute_weighted_normals(), Agent::create_window(), getPaneConnectivity(), getWindow(), LoadTransfer_FS::init(), LoadTransfer_FSc_ALE::init(), LoadTransferOnly_FSc_ALE::init(), GetDeformedMesh_ALE::init(), SurfDiver::init(), MeshMotionTransfer_SF::init(), DeformationVelTransfer_SF::init(), MeshMotionTransferISS::init(), TransferSolidDensity::init(), FluidPropagateSurface::init(), TransferBurnRate_FS_ALE::init(), MassTransfer_SF_ALE::init(), TemperatureTransfer_SF::init(), HeatTransfer_FS::init(), RemeshInit::init(), ComputePconn::init(), SolidPropagateSurface_ALE::init(), init_attributes(), init_constraints(), init_constraints_acmflu(), init_constraints_acmfrac(), init_constraints_labscale(), init_constraints_myacm(), init_constraints_staraft(), init_constraints_starslice(), Rocon::init_from_file(), Agent::init_function_handles(), init_normals(), init_parameters(), RFC_Window_transfer::init_recv_buffer(), RocBlas::initHandles(), load_rocon(), load_rocprop(), main(), output_solution(), RFC_Window_overlay::print_features(), Control_parameters::read(), RocmanControl_parameters::read(), read_file(), read_pane_sp(), RFC_Window_base::read_sdv(), IM_Reader::read_winmesh(), remesh(), ComputeFaceCenters::run(), TRAIL_AutoSurfer(), TRAIL_FE2FD_Transfer(), TRAIL_File2Window(), TRAIL_HDF2Window(), TRAIL_RocmopSmooth(), TRAIL_RocpropSmoothSurf(), TRAIL_TransferSurfDataFILE(), TRAIL_WriteWindow(), Control_parameters::update_communicator(), FullyCoupling::update_distances(), and RFC_Window_base::write_sdv().

429 { return COM_get_roccom()->get_function_handle( wfname); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

void COM_get_modules ( std::vector< std::string > &  names)
inline

Definition at line 357 of file roccom_c++.h.

References COM_get_roccom().

358 { COM_get_roccom()->get_modules(names); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

void COM_get_object ( const char *  wa_str,
int  pane_id,
Type **  addr 
)
inline

Definition at line 152 of file roccom_c++.h.

References COM_get_roccom().

Referenced by Rocout::finalize(), Rocin::finalize(), Rocsurf::unload(), Rocmop::unload(), Rocon::unload(), and Rocprop::unload().

153 { COM_get_roccom()->get_object( wa_str, pane_id, (void**)addr); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

Here is the caller graph for this function:

void COM_get_panes ( const char *  wname,
int *  npanes,
int **  pane_ids = NULL,
int  rank = -2 
)
inline

Definition at line 372 of file roccom_c++.h.

References COM_get_roccom(), and rank.

373  {
374  std::vector<int> vec;
375  COM_get_roccom()->get_panes( wname, vec, rank, pane_ids);
376  if ( npanes) *npanes = vec.size();
377 }
static int rank
Definition: advectest.C:66
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

void COM_get_parent ( const char *  waname,
int  pane_id,
std::string &  parent 
)
inline

Definition at line 367 of file roccom_c++.h.

References COM_get_roccom().

369 { COM_get_roccom()->get_parent( waname, pane_id, parent); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

void COM_get_parent ( const char *  waname,
int  pane_id,
char **  parent 
)
inline

Definition at line 391 of file roccom_c++.h.

References COM_get_roccom().

391  {
392  std::string str;
393  COM_get_roccom()->get_parent( waname, pane_id, str, parent);
394 }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

void COM_get_size ( const char *  wa_str,
int  pane_id,
int *  size,
int *  ng 
)
inline

Get the sizes of an attribute.

The opposite of set_size.

Definition at line 274 of file roccom_c++.h.

References COM_get_roccom().

Referenced by Rocon::burnout(), Rocon::burnout_filter(), COM_print_window(), Rocon::constrain_displacements(), Rocon::find_intersections(), getPaneConnectivity(), init_constraints_acmflu(), init_constraints_acmfrac(), init_constraints_labscale(), init_constraints_myacm(), init_constraints_staraft(), init_constraints_starslice(), init_speed(), Rocon::initialize(), main(), read_pane_sp(), RFC_Pane_base::read_rocin(), TRAIL_Att2Vec(), TRAIL_GetWindowSolnData(), and TRAIL_Window2UnstructuredMesh().

275 { COM_get_roccom()->get_size( wa_str, pane_id, size, ng); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

Here is the caller graph for this function:

void COM_get_size ( const std::string  wa_str,
int  pane_id,
int *  size,
int *  ng = 0 
)
inline

Definition at line 278 of file roccom_c++.h.

References COM_get_roccom().

279 { COM_get_roccom()->get_size( wa_str.c_str(), pane_id, size, ng); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

int COM_get_status ( const char *  waname,
const int  pane_id 
)
inline

Definition at line 431 of file roccom_c++.h.

References COM_get_roccom().

Referenced by load_data_HDF4().

432 { return COM_get_roccom()->get_status( waname, pane_id); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

Here is the caller graph for this function:

int COM_get_window_handle ( const char *  wname)
inline
int COM_get_window_handle ( const std::string  wname)
inline

Definition at line 408 of file roccom_c++.h.

References COM_get_roccom().

409 { return COM_get_roccom()->get_window_handle( wname.c_str()); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

void COM_get_windows ( std::vector< std::string > &  names)
inline

Definition at line 354 of file roccom_c++.h.

References COM_get_roccom().

355 { COM_get_roccom()->get_windows(names); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

void COM_icall_function ( const int  wf,
int  argc,
  ... 
)

Definition at line 64 of file roccom_c.C.

64  {
65  COM_assertion_msg( argc <= Function::MAX_NUMARG, "Too many arguments") ;
66 
67  int i;
68  void *args[Function::MAX_NUMARG];
69  va_list ap;
70 
71  va_start( ap, argc);
72  for ( i=0; i<argc-1; ++i) {
73  args[i] = va_arg( ap, void*);
74  }
75  int *status = va_arg( ap, int *);
76  va_end( ap);
77  COM_get_roccom()->icall_function( wf, argc, args, status);
78 }
#define COM_assertion_msg(EX, msg)
blockLoc i
Definition: read.cpp:79
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537
void COM_icall_function ( const int  wf,
int *  id 
)
inline

Definition at line 488 of file roccom_c++.h.

References COM_get_roccom().

489 { COM_get_roccom()->icall_function( wf, 0, 0, id); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

void COM_icall_function ( const int  wf,
const void *  wa,
int *  id 
)
inline

Definition at line 490 of file roccom_c++.h.

References COM_get_roccom().

490  {
491  COM_get_roccom()->icall_function( wf, 1, (void**)&wa, id);
492 }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

void COM_icall_function ( const int  wf,
const void *  wa1,
const void *  wa2,
int *  id 
)
inline

Definition at line 493 of file roccom_c++.h.

References COM_get_roccom().

494  {
495  const void *args[] = { wa1, wa2};
496  COM_get_roccom()->icall_function( wf, 2, (void **)args, id);
497 }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

void COM_icall_function ( const int  wf,
const void *  wa1,
const void *  wa2,
const void *  wa3,
int *  id 
)
inline

Definition at line 498 of file roccom_c++.h.

References COM_get_roccom().

500  {
501  const void *args[] = { wa1, wa2, wa3 };
502  COM_get_roccom()->icall_function( wf, 3, (void **)args, id);
503 }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

void COM_icall_function ( const int  wf,
const void *  wa1,
const void *  wa2,
const void *  wa3,
const void *  wa4,
int *  id 
)
inline

Definition at line 504 of file roccom_c++.h.

References COM_get_roccom().

506  {
507  const void *args[] = { wa1, wa2, wa3, wa4 };
508  COM_get_roccom()->icall_function( wf, 4, (void **)args, id);
509 }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

void COM_icall_function ( const int  wf,
const void *  wa1,
const void *  wa2,
const void *  wa3,
const void *  wa4,
const void *  wa5,
int *  id 
)
inline

Definition at line 511 of file roccom_c++.h.

References COM_get_roccom().

514  {
515  const void *args[] = { wa1, wa2, wa3, wa4, wa5 };
516  COM_get_roccom()->icall_function( wf, 5, (void **)args, id);
517 }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

void COM_icall_function ( const int  wf,
const void *  wa1,
const void *  wa2,
const void *  wa3,
const void *  wa4,
const void *  wa5,
const void *  wa6,
int *  id 
)
inline

Definition at line 519 of file roccom_c++.h.

References COM_get_roccom().

522  {
523  const void *args[] = { wa1, wa2, wa3, wa4, wa5, wa6 };
524  COM_get_roccom()->icall_function( wf, 6, (void **)args, id);
525 }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

void COM_icall_function ( const int  wf,
const void *  wa1,
const void *  wa2,
const void *  wa3,
const void *  wa4,
const void *  wa5,
const void *  wa6,
const void *  wa7,
int *  id 
)
inline

Definition at line 527 of file roccom_c++.h.

References COM_get_roccom().

531  {
532  const void *args[] = { wa1, wa2, wa3, wa4, wa5, wa6, wa7 };
533  COM_get_roccom()->icall_function( wf, 7, (void **)args, id);
534 }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

void COM_init ( int *  argc,
char ***  argv 
)
inline

Definition at line 57 of file roccom_c++.h.

Referenced by main().

58 { COM::Roccom_base::init( argc, argv); }

Here is the caller graph for this function:

int COM_initialized ( )
inline

Definition at line 62 of file roccom_c++.h.

63 { return COM::Roccom_base::initialized(); }
void COM_load_module ( const char *  libname,
const char *  winname 
)
inline

Definition at line 75 of file roccom_c++.h.

References COM_get_roccom().

Referenced by BurnAgent::load_module(), FluidAgent::load_module(), SolidAgent::load_module(), and main().

76 { COM_get_roccom()->load_module( libname, winname); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

Here is the caller graph for this function:

void COM_new_attribute ( const char *  wa_str,
const char  loc,
const int  type,
int  ncomp,
const char *  unit 
)
inline

Registering an attribute type.

wa_str is the attribute's name in the format "window.attribute". loc is the code for the location of the data, which can be 'w' for window attribute, 'p' for pane attribute, 'n' for node attribute, or 'e' for element attribute. type is the data type of the attribute. For C/C++, it can be COM_CHAR, COM_UNSIGNED_CHAR, COM_BYTE, COM_SHORT, COM_UNSIGNED_SHORT, COM_INT, COM_UNSIGNED, COM_LONG, COM_UNSIGNED_LONG, COM_FLOAT0, COM_DOUBLE1, COM_LONG_DOUBLE, COM_LONG_LONG_INT, or a derived data type. For Fortran, it can be COM_CHARACTER, COM_INTEGER, COM_LOGICAL, COM_REAL, COM_DOUBLE_PRECISION, COM_COMPLEX, COM_DOUBLE_COMPLEX. size is the length of the attribute in the given data type

Definition at line 118 of file roccom_c++.h.

References COM_get_roccom().

Referenced by Coupling::baseInit(), NewAttribute::create(), FluidAgent::create_buffer_all(), SolidAgent::create_buffer_all(), GEM_DomainBoundary::Create_com_surfsoln(), GEM_Partition::Create_com_volsoln(), Agent::create_window(), Rocout::init(), Rocin::init(), init_attributes(), Rocsurf::load(), Rocmop::load(), Rocon::load(), Rocprop::load(), main(), makeWindow(), new_attributes(), RFC_Window_base::new_sdv_attributes(), RFC_Window_overlay::print_features(), Rocin::read_parameter_file(), Rocin::register_panes(), FluRegion::RegisterFluSurfaceMesh(), FluRegion::RegisterSurfaceSoln(), FluRegion::RegisterVolumeSoln(), TRAIL_Add_Attributes(), TRAIL_AutoSurfer(), TRAIL_FD2FE_Transfer(), TRAIL_FD2FE_WinCreate(), TRAIL_FD2FE_WinCreate2(), TRAIL_FluRegisterSurfMesh(), TRAIL_FluRegisterSurfSoln(), TRAIL_FluRegisterVolSoln(), TRAIL_RocmopSmooth(), TRAIL_RocpropSmoothSurf(), and TRAIL_TransferSurfDataFILE().

120 { COM_get_roccom()->new_attribute( wa_str, loc, type, ncomp, unit); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

Here is the caller graph for this function:

void COM_new_attribute ( const std::string  wa_str,
const char  loc,
const int  type,
int  ncomp,
const char *  unit 
)
inline

Definition at line 123 of file roccom_c++.h.

References COM_get_roccom().

125 { COM_get_roccom()->new_attribute( wa_str.c_str(), loc, type, ncomp, unit); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

void COM_new_window ( const char *  wname,
MPI_Comm  c = MPI_COMM_NULL 
)
inline
void COM_new_window ( const std::string  wname,
MPI_Comm  c = MPI_COMM_NULL 
)
inline

Definition at line 90 of file roccom_c++.h.

References COM_get_roccom().

91 { COM_get_roccom()->new_window(wname.c_str(), c); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

void COM_print_profile ( const char *  fname,
const char *  header 
)
inline

Definition at line 557 of file roccom_c++.h.

References COM_get_roccom().

Referenced by main(), and rocstar_driver().

558 { COM_get_roccom()->print_profile( fname, header); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

Here is the caller graph for this function:

void COM_resize_array ( const char *  wa_str,
int  pane_id,
void **  addr,
int  strd,
int  cap 
)
inline

Resize an attribute on a specific pane and return the address by setting addr.

Resize for all panes if pane-id is 0, in which case, do not set addr. The difference between resize and allocate is that resize will reallocate memory only if the current array cannot accomodate the requested capacity.

Definition at line 200 of file roccom_c++.h.

References COM_get_roccom().

Referenced by NewAttribute::create(), FluidAgent::create_buffer_all(), SolidAgent::create_buffer_all(), init_attributes(), init_constraints_staraft(), load_data_HDF4(), main(), new_attributes(), Rocin::read_parameter_file(), IM_Reader::read_winmesh(), TRAIL_AutoSurfer(), TRAIL_Copy2Attribute(), TRAIL_FD2FE_Transfer(), TRAIL_FD2FE_WinCreate(), TRAIL_FD2FE_WinCreate2(), TRAIL_FixRocstarData(), TRAIL_SetAttribute(), TRAIL_SurfaceMesh2Window(), TRAIL_TransferSurfDataFILE(), and TRAIL_UnstructuredMesh2Pane().

202 { COM_get_roccom()->resize_array( wa_str, pane_id, addr, strd, cap); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

Here is the caller graph for this function:

void COM_resize_array ( const std::string  wa_str,
int  pane_id = 0,
void **  addr = NULL,
int  strd = -1,
int  cap = 0 
)
inline

Definition at line 209 of file roccom_c++.h.

References COM_get_roccom().

211 { COM_get_roccom()->resize_array( wa_str.c_str(), pane_id, addr, strd, cap); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

void COM_set_array ( const char *  wa_str,
int  pane_id,
void *  addr,
int  strd = 0,
int  cap = 0 
)
inline
void COM_set_array ( const std::string  wa_str,
int  pane_id,
void *  addr,
int  strd = 0,
int  cap = 0 
)
inline

Definition at line 166 of file roccom_c++.h.

References COM_get_roccom().

168 { COM_get_roccom()->set_array( wa_str.c_str(), pane_id, addr, strd, cap); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

void COM_set_array_const ( const char *  wa_str,
int  pane_id,
const void *  addr,
int  strd = 0,
int  cap = 0 
)
inline

Definition at line 160 of file roccom_c++.h.

References COM_get_roccom().

Referenced by Rocsurf::load(), main(), and RFC_Pane_base::register_sdv_attributes().

162 { COM_get_roccom()->set_array( wa_str, pane_id,
163  const_cast<void*>(addr), strd, cap, true); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

Here is the caller graph for this function:

void COM_set_array_const ( const std::string  wa_str,
int  pane_id,
const void *  addr,
int  strd = 0,
int  cap = 0 
)
inline

Definition at line 170 of file roccom_c++.h.

References COM_get_roccom().

172 { COM_get_roccom()->set_array( wa_str.c_str(), pane_id,
173  const_cast<void*>(addr), strd, cap, true); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

void COM_set_bounds ( const char *  wa_str,
int  pane_id,
const void *  lbound,
const void *  ubound 
)
inline

Set the lower and upper bounds of an attribute.

Definition at line 176 of file roccom_c++.h.

References COM_get_roccom().

178 { COM_get_roccom()->set_bounds( wa_str, pane_id, lbound, ubound); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

void COM_set_bounds ( const std::string  wa_str,
int  pane_id,
const void *  lbound,
const void *  ubound 
)
inline

Definition at line 181 of file roccom_c++.h.

References COM_get_roccom().

183 { COM_get_roccom()->set_bounds( wa_str.c_str(), pane_id, lbound, ubound); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

void COM_set_debug ( bool  debug)
inline

Definition at line 546 of file roccom_c++.h.

References COM_get_roccom().

Referenced by rocstar_driver().

547 { COM_get_roccom()->set_debug( debug); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

Here is the caller graph for this function:

void COM_set_default_communicator ( MPI_Comm  comm)
inline

Definition at line 67 of file roccom_c++.h.

Referenced by compute_overlay(), SurfDiver::run(), TRAIL_AutoSurfer(), TRAIL_FE2FD_Transfer(), and Control_parameters::update_communicator().

68 { COM::Roccom_base::set_default_communicator( comm); }

Here is the caller graph for this function:

void COM_set_function ( const char *  wf_str,
Func_ptr  func,
const char *  intents,
const COM_Type types 
)
inline

Definition at line 323 of file roccom_c++.h.

References COM_get_roccom().

Referenced by Rocblas::init(), Rocmap::load(), and Rocsurf::load().

327 { COM_get_roccom()->set_function( wf_str, func, intents, types); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

Here is the caller graph for this function:

void COM_set_member_function ( const char *  wf_str,
Member_func_ptr  func,
const char *  wa_str,
const char *  intents,
const COM_Type types 
)
inline

Definition at line 330 of file roccom_c++.h.

References COM_get_roccom().

Referenced by Coupling::baseInit(), Agent::create_window(), Rocout::init(), Rocin::init(), Rocsurf::load(), Rocmop::load(), Rocon::load(), and Rocprop::load().

335 { COM_get_roccom()->set_member_function( wf_str, func,
336  wa_str, intents, types); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

Here is the caller graph for this function:

void COM_set_member_function ( const char *  wf_str,
Func_ptr  func,
const char *  wa_str,
const char *  intents,
const COM_Type types 
)
inline

Definition at line 339 of file roccom_c++.h.

References COM_get_roccom().

344 { COM_get_roccom()->set_member_function( wf_str, func, wa_str, intents, types); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

void COM_set_object ( const char *  wa_str,
int  pane_id,
Type *  addr 
)
inline

Definition at line 144 of file roccom_c++.h.

References COM_assertion_msg, and COM_get_roccom().

Referenced by Coupling::baseInit(), Agent::create_window(), Rocout::init(), Rocin::init(), Rocsurf::load(), Rocmop::load(), Rocon::load(), and Rocprop::load().

144  {
145  COM_assertion_msg( addr && COM_Object(*addr).validate_object()==0,
146  "Invalid casting");
147 
148  COM_get_roccom()->set_object( wa_str, pane_id, addr, (COM_Object*)(addr));
149 }
#define COM_assertion_msg(EX, msg)
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

Here is the caller graph for this function:

void COM_set_profiling ( int  i)
inline

Definition at line 550 of file roccom_c++.h.

References COM_get_roccom().

Referenced by compute_overlay(), main(), rocstar_driver(), SurfDiver::run(), and TRAIL_RemeshWrite().

551 { COM_get_roccom()->set_profiling( i); }
blockLoc i
Definition: read.cpp:79
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

Here is the caller graph for this function:

void COM_set_profiling_barrier ( int  hdl,
MPI_Comm  comm 
)
inline

Definition at line 554 of file roccom_c++.h.

References COM_get_roccom().

Referenced by _load_rocface(), Agent::init_function_handles(), load_rocprop(), and main().

555 { COM_get_roccom()->set_profiling_barrier( hdl, comm); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

Here is the caller graph for this function:

void COM_set_size ( const char *  wa_str,
int  pane_id,
int  size,
int  ng = 0 
)
inline

Set sizes of for a specific attribute.

Definition at line 136 of file roccom_c++.h.

References COM_get_roccom().

Referenced by build_unstr_hex(), build_unstr_prism(), build_unstr_prism_tet(), build_unstr_prism_tet_2(), build_unstr_pyr(), build_unstr_tet_2(), GEM_Partition::CreatePconn(), init_attributes(), init_constraints_staraft(), main(), new_attributes(), GEM_Partition::PopulateVolumeWindow(), MSH_Reader::read_pane_coors(), SMF_Reader::read_pane_coors(), OBJ_Reader::read_pane_coors(), Neutral_Reader::read_pane_coors(), IM_Reader::read_pane_coors(), OBJ_Reader::read_pane_elems(), MSH_Reader::read_pane_elems(), SMF_Reader::read_pane_elems(), Neutral_Reader::read_pane_elems(), IM_Reader::read_pane_elems(), Rocin::read_parameter_file(), GEM_DomainBoundary::Register_com_surfmesh(), GEM_Partition::Register_com_volconn(), Rocin::register_panes(), RFC_Pane_base::register_sdv_attributes(), FluRegion::RegisterFluSurfaceMesh(), FluPatch::RegisterSoln(), FluRegion::RegisterVolumeSoln(), TRAIL_Copy2Attribute(), TRAIL_FD2FE_WinCreate(), TRAIL_FD2FE_WinCreate2(), TRAIL_FluRegisterSurfMesh(), TRAIL_FluRegisterSurfSoln(), TRAIL_FluRegisterVolSoln(), TRAIL_RocpropSmoothSurf(), TRAIL_SetAttribute(), TRAIL_SurfaceMesh2Window(), and TRAIL_UnstructuredMesh2Pane().

137 { COM_get_roccom()->set_size( wa_str, pane_id, size, ng); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

Here is the caller graph for this function:

void COM_set_size ( const std::string  wa_str,
int  pane_id,
int  size,
int  ng = 0 
)
inline

Definition at line 140 of file roccom_c++.h.

References COM_get_roccom().

141 { COM_get_roccom()->set_size( wa_str.c_str(), pane_id, size, ng); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

void COM_set_verbose ( int  i)
inline

Definition at line 543 of file roccom_c++.h.

References COM_get_roccom().

Referenced by main(), and rocstar_driver().

544 { COM_get_roccom()->set_verbose( i); }
blockLoc i
Definition: read.cpp:79
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

Here is the caller graph for this function:

int COM_test ( const int  id)
inline

Definition at line 540 of file roccom_c++.h.

References COM_get_roccom().

541 { return COM_get_roccom()->test( id); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

void COM_unload_module ( const char *  libname,
const char *  winname = NULL 
)
inline

Definition at line 78 of file roccom_c++.h.

References COM_get_roccom().

Referenced by BurnAgent::unload_module(), FluidAgent::unload_module(), and SolidAgent::unload_module().

79 { COM_get_roccom()->unload_module( libname, winname?winname:""); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

Here is the caller graph for this function:

void COM_use_attribute ( const char *  wname,
const char *  attr,
int  with_ghost,
const char *  ptnname,
int  val 
)
inline

Use the subset of panes of another window of which the given pane attribute has value val.

Definition at line 224 of file roccom_c++.h.

References COM_get_roccom().

Referenced by AttributeBase::assign(), UseAttribute::create(), BurnAgent::create_buffer_all(), FluidAgent::create_buffer_all(), SolidAgent::create_buffer_all(), Agent::create_buffer_all(), BurnAgent::init_module(), RFC_Window_overlay::print_features(), and Agent::split_surface_window().

226 { COM_get_roccom()->use_attribute(wname, attr, wg, ptnname, val); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

Here is the caller graph for this function:

void COM_use_attribute ( const std::string  wname,
const std::string  attr,
int  wg = 1,
const char *  ptnname = 0,
int  val = 0 
)
inline

Definition at line 229 of file roccom_c++.h.

References COM_get_roccom().

231 { COM_get_roccom()->use_attribute(wname.c_str(), attr.c_str(), wg, ptnname, val); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

void COM_wait ( const int  id)
inline

Definition at line 537 of file roccom_c++.h.

References COM_get_roccom().

538 { COM_get_roccom()->wait( id); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function:

void COM_window_init_done ( const char *  w_str,
int  pane_changed = true 
)
inline
void COM_window_init_done ( const std::string  w_str,
int  pane_changed = true 
)
inline

Definition at line 106 of file roccom_c++.h.

References COM_get_roccom().

107 { COM_get_roccom()->window_init_done( w_str.c_str(), pane_changed); }
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
Definition: Roccom_base.h:537

Here is the call graph for this function: