00001 // -*- c++ -*- 00002 00003 // This file is part of the Collective Variables module (Colvars). 00004 // The original version of Colvars and its updates are located at: 00005 // https://github.com/Colvars/colvars 00006 // Please update all Colvars source files before making any changes. 00007 // If you wish to distribute your changes, please submit them to the 00008 // Colvars repository at GitHub. 00009 00010 #include "colvarmodule.h" 00011 #include "colvarproxy.h" 00012 00013 00014 colvarproxy_replicas::colvarproxy_replicas() {} 00015 00016 00017 colvarproxy_replicas::~colvarproxy_replicas() {} 00018 00019 00020 int colvarproxy_replicas::replica_enabled() 00021 { 00022 return COLVARS_NOT_IMPLEMENTED; 00023 } 00024 00025 00026 int colvarproxy_replicas::replica_index() 00027 { 00028 return 0; 00029 } 00030 00031 00032 int colvarproxy_replicas::num_replicas() 00033 { 00034 return 1; 00035 } 00036 00037 00038 void colvarproxy_replicas::replica_comm_barrier() {} 00039 00040 00041 int colvarproxy_replicas::replica_comm_recv(char* /* msg_data */, 00042 int /* buf_len */, 00043 int /* src_rep */) 00044 { 00045 return COLVARS_NOT_IMPLEMENTED; 00046 } 00047 00048 00049 int colvarproxy_replicas::replica_comm_send(char* /* msg_data */, 00050 int /* msg_len */, 00051 int /* dest_rep */) 00052 { 00053 return COLVARS_NOT_IMPLEMENTED; 00054 } 00055 00056