Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

BfldMeshVoronoi.h

Go to the documentation of this file.
00001 
00002 // $Id: BfldMeshVoronoi.h,v 1.5 2005/02/03 22:35:49 rhatcher Exp $
00003 //
00004 // BfldMeshVoronoi
00005 //
00006 // This structure provides services for a 2d mesh representing an array of
00007 // points where magnetic field map is "known".
00008 //
00009 // This particular type is specialized to deal with a Voronoi mesh
00010 //
00011 // Author:  R. Hatcher 2000.06.20
00012 //
00014 #ifndef BFLDMESHVORONOI_H
00015 #define BFLDMESHVORONOI_H
00016 
00017 #include <string>
00018 
00019 #include "BField/BfldMesh.h"
00020 #include "BField/BfldMapVoronoi.h"
00021 
00022 class BfldMeshVoronoi : public BfldMesh {
00023  public:
00024    BfldMeshVoronoi();
00025    BfldMeshVoronoi(BfldGrid::Grid_t grid, Int_t variant);
00026    virtual ~BfldMeshVoronoi();
00027 
00028    virtual TVector3     GetGeneratorPosition(Int_t generator);
00029                                   // return geometry (x,y) given node number
00030    Int_t FindANSYSGenerator(Int_t VoronCellID);
00031 
00032  protected:
00033 
00034    TObjArray    *fPositions;  // TVector3 for each generator
00035 
00036    // eventually the info should come from a database
00037    // for now it knows about some hardcoded filenames
00038    Bool_t        fReadOk;       // succesful construction?
00039    std::string   fFilename;     // file name from whence data came
00040 
00041  private:
00042 
00043    ClassDef(BfldMeshVoronoi,1)
00044 };
00045 #endif // BFLDMESHVORONOI_H

Generated on Mon Feb 15 11:06:25 2010 for loon by  doxygen 1.3.9.1