Navigation

Main Page
Download
Support
Installation
Tutorial
Examples
Reference Manual
   Version 1.0.5new_solver
   Version 1.0.5dev
      Class Index
      File List
   Version 1.0.5b
   Version 1.0.4dev
   Version 1.0.4
Publications


Hosted by Get Ion Beam Simulator at SourceForge.net. Fast, secure and Free Open Source software downloads

FuncSolid Class Reference

Function solid class. More...

#include <func_solid.hpp>

Inheritance diagram for FuncSolid:
Solid

List of all members.

Public Member Functions

 FuncSolid (bool(*func)(double, double, double))
 Constructor.
 FuncSolid (std::istream &is)
 Constructor for loading solid data from stream is.
 ~FuncSolid ()
 Destructor.
bool inside (const Vec3D &x) const
 Return if point x is inside funcsolid.
void debug_print (std::ostream &os) const
 Print debugging information to os.
void save (std::ostream &os) const
 Saves solid data to stream os.

Detailed Description

Function solid class.

FuncSolid class holds the definition for one solid defining C-function. This solid implementation suffers from the inability of saving to file. If FuncSolid is constructed from stream the function pointer inside is set to NULL and error is thrown if function is evaluated using inside().


Constructor & Destructor Documentation

FuncSolid::FuncSolid ( bool(*)(double, double, double)  func  )  [inline]

Constructor.

FuncSolid::FuncSolid ( std::istream &  is  ) 

Constructor for loading solid data from stream is.

FuncSolid::~FuncSolid (  )  [inline]

Destructor.


Member Function Documentation

void FuncSolid::debug_print ( std::ostream &  os  )  const [virtual]

Print debugging information to os.

Implements Solid.

bool FuncSolid::inside ( const Vec3D x  )  const [virtual]

Return if point x is inside funcsolid.

Implements Solid.

void FuncSolid::save ( std::ostream &  os  )  const [virtual]

Saves solid data to stream os.

Implements Solid.


The documentation for this class was generated from the following file:


Reference manual for Ion Beam Simulator 1.0.5dev
Generated by Doxygen 1.7.1 on Mon Feb 6 2012 15:07:16.