Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Rocmop_1.C File Reference
#include "Rocblas.h"
#include "Rocmop_1.h"
#include "Rocmap.h"
#include "roccom.h"
#include "Pane_communicator.h"
#include "Pane_connectivity.h"
#include "Geometric_Metrics_3.h"
#include "PN_patch.h"
#include "geometry.h"
#include "mapbasic.h"
#include <iostream>
#include <iomanip>
#include <fstream>
Include dependency graph for Rocmop_1.C:

Go to the source code of this file.

Macros

#define NO_STRINGSTREAM   1
 

Functions

std::ifstream & get_next_line (std::ifstream &Inf, std::string &line, const char noop)
 
void Rocmop_load_module (const char *mname)
 
void Rocmop_unload_module (const char *mname)
 
void COM_F_FUNC2 (rocmop_load_module, ROCMOP_LOAD_MODULE) const
 
void COM_F_FUNC2 (rocmop_unload_module, ROCMOP_UNLOAD_MODULE) const
 

Macro Definition Documentation

#define NO_STRINGSTREAM   1

Definition at line 69 of file Rocmop_1.C.

Function Documentation

void COM_F_FUNC2 ( rocmop_load_module  ,
ROCMOP_LOAD_MODULE   
) const

Definition at line 1886 of file Rocmop_1.C.

References Mesquite::length(), and Rocmop::load().

1887 { Rocmop::load( std::string(mname, length)); }
double length(Vector3D *const v, int n)
static void load(const std::string &mname)
Loads Rocmop onto Roccom with a given module name.
Definition: Rocmop.C:88

Here is the call graph for this function:

void COM_F_FUNC2 ( rocmop_unload_module  ,
ROCMOP_UNLOAD_MODULE   
) const

Definition at line 1889 of file Rocmop_1.C.

References Mesquite::length(), and Rocmop::unload().

1890 { Rocmop::unload( std::string(mname, length)); }
double length(Vector3D *const v, int n)
static void unload(const std::string &mname)
Unloads Rocmop from Roccom.
Definition: Rocmop.C:120

Here is the call graph for this function:

std::ifstream& get_next_line ( std::ifstream &  Inf,
std::string &  line,
const char  noop 
)

Definition at line 106 of file Rocmop_1.C.

Referenced by Rocmop::read_config_file().

109 {
110  if(!Inf)
111  return(Inf);
112  std::getline(Inf,line);
113  while((line.empty() || line[0] == ' ' || line[0] == noop) && Inf)
114  std::getline(Inf,line);
115  return(Inf);
116 }

Here is the caller graph for this function:

void Rocmop_load_module ( const char *  mname)

Definition at line 1879 of file Rocmop_1.C.

References Rocmop::load().

1880 { Rocmop::load( mname); }
static void load(const std::string &mname)
Loads Rocmop onto Roccom with a given module name.
Definition: Rocmop.C:88

Here is the call graph for this function:

void Rocmop_unload_module ( const char *  mname)

Definition at line 1882 of file Rocmop_1.C.

References Rocmop::unload().

1883 { Rocmop::unload( mname); }
static void unload(const std::string &mname)
Unloads Rocmop from Roccom.
Definition: Rocmop.C:120

Here is the call graph for this function: