Computer Assited Medical Intervention Tool Kit  version 3.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Classes | Functions | Variables
renError.cpp File Reference
#include <iostream>
#include <string>
#include <limits>
#include <PhysicalModel.h>
#include <MultiComponent.h>
#include <StructuralComponent.h>
#include <Atom.h>
#include <math.h>
#include <limits.h>
#include <map>
+ Include dependency graph for renError.cpp:

Classes

class  ProgramArg
 TODO Comment class here. More...
 

Functions

ProgramArg argVal (defaultsArg, sizeof defaultsArg/sizeof *defaultsArg)
 
bool isIn (StructuralComponent *sc, Atom *a)
 
int main (int argc, char **argv)
 
void printArg ()
 
void processArg ()
 

Variables

string defaultsArg [][2]
 
string initial
 
string real
 
string selected
 
string simul
 
const char * usage
 

Function Documentation

ProgramArg argVal ( defaultsArg  ,
sizeof defaultsArg/sizeof *  defaultsArg 
)

Referenced by main(), and processArg().

bool isIn ( StructuralComponent *  sc,
Atom *  a 
)
int main ( int  argc,
char **  argv 
)
void printArg ( )

References initial, real, selected, and simul.

Referenced by main().

void processArg ( )

References argVal(), initial, real, selected, simul, and usage.

Referenced by main().

Variable Documentation

string defaultsArg[][2]
Initial value:
= {
{ "-simul", "" },
{ "-real", "" },
{ "-init", ""},
{ "-select", ""},
}
string initial

Referenced by main(), printArg(), and processArg().

string real

Referenced by main(), printArg(), and processArg().

string selected

Referenced by main(), printArg(), and processArg().

string simul
const char* usage
Initial value:
= "usage:\n"
"renError -simul=simulation.pml -real=real.pml -init=init.pml [-select=\"name\"]\n"
"(Note no space around '=')\n"
"Mandatory options: \n"
"-simul pml document of the simulated results\n"
"-real pml document of the real results\n"
"-init pml document of the initial positions\n"
"Optional option: \n"
"-select name of the structural component or cell to export as csv\n"
" (default = all atoms)\n"
"\nCompute the Relative Energy Norm error (average, min, max, std-dev)"

Referenced by main(), and processArg().