51 class Rocface :
public COM_Object {
53 typedef std::map<std::string, RFC_Window_transfer*> TRS_Windows;
63 Rocface( std::string mname);
66 static void init(
const std::string &);
67 static void finalize(
const std::string &);
70 void set_verbose(
int *verbose);
76 void overlay(
const COM::Attribute *mesh1,
77 const COM::Attribute *mesh2,
78 const MPI_Comm *_comm=NULL,
79 const char *path=NULL);
82 void clear_overlay(
const char *mesh1,
86 void write_overlay(
const COM::Attribute *mesh1,
87 const COM::Attribute *mesh2,
88 const char *prefix1=NULL,
89 const char *prefix2=NULL,
90 const char *format=NULL);
93 void read_overlay(
const COM::Attribute *mesh1,
94 const COM::Attribute *mesh2,
96 const char *prefix1=NULL,
97 const char *prefix2=NULL,
98 const char *format=NULL);
100 void set_tags(
const COM::Attribute *src,
101 const COM::Attribute *trg,
102 const COM::Attribute *tags);
110 void least_squares_transfer(
const COM::Attribute *att1,
111 COM::Attribute *att2,
112 const Real *alp=NULL,
117 void interpolate(
const COM::Attribute *att1,
118 COM::Attribute *att2);
120 void load_transfer(
const COM::Attribute *att1,
121 COM::Attribute *att2,
123 const int *_o = NULL);
126 void create_control_window();
128 static void get_name(
const std::string &n1,
129 const std::string &n2,
130 std:: string &aname) {
131 aname = n1+
"+"+n2;
return;
147 template <
class Source_type,
class Target_type,
bool conserv>
148 void transfer(
const COM::Attribute *src, COM::Attribute *trg,
149 const Real alpha,
const int order=2,
150 Real *tol=NULL,
int *iter=NULL,
bool load=
false);
152 int validate_object()
const {
153 if ( _cookie != RFC_COOKIE)
return -1;
154 else return COM_Object::validate_object();
158 enum { RFC_COOKIE=7623223};
162 TRS_Windows _trs_windows;
This file contains the prototypes for Roccom API.
#define RFC_END_NAME_SPACE
#define RFC_BEGIN_NAME_SPACE
Contains declarations of MPI subroutines used in Roccom.
void Rocface_unload_module(const char *)
void Rocface_load_module(const char *)
void read_control_file(const char *fname, Control_parameter &cp)