Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Typedefs | Enumerations | Functions | Variables
protocols::wum Namespace Reference

Classes

class  DatabaseEntryWorkUnit
 
class  DatabaseQueryWorkUnitManager
 
class  MoverList
 
class  MPI_Relax
 
class  MPI_WorkUnitManager
 
class  MPI_WorkUnitManager_Slave
 
class  sort_SilentStructOPs
 
class  find_SilentStructOPs
 this little class is a predicate for finding silent structures in say a vector of silent structures More...
 
class  SilentStructStore
 
class  WorkUnitBase
 The base class for all work units. More...
 
class  WorkUnit_Wait
 
class  WorkUnit_SilentStructStore
 This WorkUnit type has structures in it. Most Workunits should derive from this one rather THe the Base class. More...
 
class  WorkUnit_MoverWrapper
 This WorkUnit type can encapsulate any MoverOP. When registering this WOrkunit provide it with a MoverOP and then, when executed on the slaves, this workunit will run the mover On every single input structure and return the results. More...
 
class  WorkUnitList
 WOrkUnitList is a store for WorkUnitCOPs. THe purpose of this class is to store all the possible WorkUnits that a protocol might need. When needed these are cloned and then used. THis class acts like a library of WorkUnit blueprints. More...
 
class  WorkUnitQueue
 
class  WorkUnitQueue_Swapped
 
class  WorkUnitManager
 

Typedefs

typedef
utility::pointer::owning_ptr
< DatabaseEntryWorkUnit
DatabaseEntryWorkUnitOP
 
typedef
utility::pointer::owning_ptr
< DatabaseEntryWorkUnit const > 
DatabaseEntryWorkUnitCOP
 
typedef const MoverListMoverListCAP
 
typedef
utility::pointer::owning_ptr
< MPI_WorkUnitManager
MPI_WorkUnitManagerOP
 
typedef
utility::pointer::owning_ptr
< MPI_WorkUnitManager const > 
MPI_WorkUnitManagerCOP
 
typedef
utility::pointer::owning_ptr
< SilentStructStore
SilentStructStoreOP
 
typedef
utility::pointer::owning_ptr
< SilentStructStore const > 
SilentStructStoreCOP
 
typedef
utility::pointer::owning_ptr
< WorkUnitBase
WorkUnitBaseOP
 
typedef
utility::pointer::owning_ptr
< WorkUnitBase const > 
WorkUnitBaseCOP
 
typedef
utility::pointer::owning_ptr
< WorkUnit_Wait
WorkUnit_WaitOP
 
typedef
utility::pointer::owning_ptr
< WorkUnit_Wait const > 
WorkUnit_WaitCOP
 
typedef
utility::pointer::owning_ptr
< WorkUnit_SilentStructStore
WorkUnit_SilentStructStoreOP
 
typedef
utility::pointer::owning_ptr
< WorkUnit_SilentStructStore
const > 
WorkUnit_SilentStructStoreCOP
 
typedef
utility::pointer::owning_ptr
< WorkUnit_MoverWrapper
WorkUnit_MoverWrapperOP
 
typedef
utility::pointer::owning_ptr
< WorkUnit_MoverWrapper const > 
WorkUnit_MoverWrapperCOP
 
typedef const WorkUnitListWorkUnitListCAP
 @ brief just a prettier name for a pointer to a work unitlist. More...
 
typedef
utility::pointer::owning_ptr
< WorkUnitManager
WorkUnitManagerOP
 
typedef
utility::pointer::owning_ptr
< WorkUnitManager const > 
WorkUnitManagerCOP
 

Enumerations

enum  WUM_MPI_TAGS {
  WUM_MPI_REQUEST_WU =101, WUM_MPI_SEND_WU, WUM_MPI_DATA_BLOCK, WUM_MPI_SPINDOWN,
  WUM_MPI_end
}
 

Functions

static basic::Tracer TR ("MoverList")
 
static basic::Tracer TR ("MPI_Relax")
 
static basic::Tracer TR ("MPI_WUM")
 
static
numeric::random::RandomGenerator 
RG (23765)
 
int mpi_rank ()
 Helper function - returns rank of the current node. More...
 
int mpi_npes ()
 Helper function - returns total number of nodes. More...
 
core::Real get_time ()
 Get a time in seconds. If MPI is enabled you'll get an accuracy of microsecs. More...
 
static basic::Tracer TR ("MPI_WUM_Slave")
 
static basic::Tracer TR ("SilentStructStore")
 
static
numeric::random::RandomGenerator 
RG (1931333)
 
std::string encode_alphanum (unsigned long number, int pad_width=0, char pad_char= '0')
 
std::string generate_unique_structure_id ()
 
static basic::Tracer TR ("WorkUnitBase")
 
static basic::Tracer TR ("WorkUnitList")
 
static basic::Tracer TR ("WorkUnitManager")
 

Variables

const unsigned int WUB_magic_header_integer = 0xAF34B14C
 

Typedef Documentation

Definition at line 26 of file DatabaseEntryWorkUnit.fwd.hh.

Definition at line 24 of file DatabaseEntryWorkUnit.fwd.hh.

Definition at line 32 of file MoverList.hh.

Definition at line 26 of file MPI_WorkUnitManager.fwd.hh.

Definition at line 23 of file MPI_WorkUnitManager.fwd.hh.

Definition at line 25 of file SilentStructStore.fwd.hh.

Definition at line 23 of file SilentStructStore.fwd.hh.

Definition at line 36 of file WorkUnitBase.fwd.hh.

Definition at line 34 of file WorkUnitBase.fwd.hh.

Definition at line 32 of file WorkUnitBase.fwd.hh.

Definition at line 30 of file WorkUnitBase.fwd.hh.

Definition at line 28 of file WorkUnitBase.fwd.hh.

Definition at line 26 of file WorkUnitBase.fwd.hh.

Definition at line 24 of file WorkUnitBase.fwd.hh.

Definition at line 22 of file WorkUnitBase.fwd.hh.

@ brief just a prettier name for a pointer to a work unitlist.

Definition at line 29 of file WorkUnitList.hh.

Definition at line 26 of file WorkUnitManager.fwd.hh.

Definition at line 23 of file WorkUnitManager.fwd.hh.

Enumeration Type Documentation

Enumerator
WUM_MPI_REQUEST_WU 
WUM_MPI_SEND_WU 
WUM_MPI_DATA_BLOCK 
WUM_MPI_SPINDOWN 
WUM_MPI_end 

Definition at line 43 of file WorkUnitManager.hh.

Function Documentation

std::string protocols::wum::encode_alphanum ( unsigned long  number,
int  pad_width = 0,
char  pad_char = '0' 
)

Definition at line 354 of file SilentStructStore.cc.

Referenced by generate_unique_structure_id().

std::string protocols::wum::generate_unique_structure_id ( )
core::Real protocols::wum::get_time ( )

Get a time in seconds. If MPI is enabled you'll get an accuracy of microsecs.

Definition at line 84 of file MPI_WorkUnitManager.cc.

Referenced by protocols::wum::MPI_WorkUnitManager::receive_MPI_workunit(), protocols::wum::MPI_WorkUnitManager::send_MPI_workunit(), and protocols::wum::MPI_WorkUnitManager::start_timer().

int protocols::wum::mpi_npes ( )
int protocols::wum::mpi_rank ( )

Helper function - returns rank of the current node.

Definition at line 62 of file MPI_WorkUnitManager.cc.

Referenced by protocols::simple_moves::DumpPdb::apply(), protocols::loophash::MPI_LoopHashRefine_Master::create_loophash_WUs(), protocols::loophash::MPI_LoopHashRefine::dump_structures(), generate_unique_structure_id(), protocols::jobdist::PlainPdbJobDistributor::get_output_filename(), protocols::jobdist::PlainRawJobDistributor::get_output_filename(), protocols::jobdist::PlainSilentFileJobDistributor::get_output_filename(), protocols::wum::MPI_WorkUnitManager_Slave::go(), protocols::loophash::MPI_LoopHashRefine_Master::go(), protocols::loophash::MPI_LoopHashRefine_Emperor::go(), protocols::wum::DatabaseQueryWorkUnitManager< T >::go(), protocols::wum::WorkUnitBase::in_blacklist(), core::init_random_number_generators(), protocols::optimize_weights::IterativeOptEDriver::IterativeOptEDriver(), protocols::loophash::MPI_LoopHashRefine::load_state(), protocols::loophash::MPI_LoopHashRefine::load_structures_from_cmdline_into_library(), protocols::wum::MPI_WorkUnitManager::MPI_WorkUnitManager(), protocols::jobdist::BaseJobDistributor::next_job(), protocols::features::ReportToDB::parse_protocol_id_tag_item(), protocols::pmut_scan::PointMutScanDriver::PointMutScanDriver(), protocols::wum::MPI_WorkUnitManager_Slave::process_inbound_wus(), protocols::wum::MPI_WorkUnitManager_Slave::request_new_jobs(), protocols::loophash::MPI_LoopHashRefine::save_state(), protocols::wum::MPI_WorkUnitManager::send_MPI_workunit(), and protocols::jd2::SilentFileJobOutputter::set_defaults().

static numeric::random::RandomGenerator protocols::wum::RG ( 23765  )
static
static numeric::random::RandomGenerator protocols::wum::RG ( 1931333  )
static
static basic::Tracer protocols::wum::TR ( "MoverList"  )
static
static basic::Tracer protocols::wum::TR ( "WorkUnitList"  )
static
static basic::Tracer protocols::wum::TR ( "WorkUnitBase"  )
static
static basic::Tracer protocols::wum::TR ( "MPI_Relax"  )
static
static basic::Tracer protocols::wum::TR ( "WorkUnitManager"  )
static
static basic::Tracer protocols::wum::TR ( "MPI_WUM_Slave"  )
static
static basic::Tracer protocols::wum::TR ( "MPI_WUM"  )
static
static basic::Tracer protocols::wum::TR ( "SilentStructStore"  )
static

Variable Documentation

const unsigned int protocols::wum::WUB_magic_header_integer = 0xAF34B14C