src/materials.h

Go to the documentation of this file.
00001 #ifndef MATERIALS_H
00002 #define MATERIALS_H
00003 
00006 #include <vector>
00007 #include <matrix.h>
00008 
00009 using namespace colarray;
00010 
00015 using namespace std;
00016 
00017 class Materials {
00018 public: 
00019     ~Materials();
00020 
00022     Materials(const char* filename);
00023 
00024     /* Get routines */
00025     void getParameters(int id, Matrix<double>& xi, Matrix<double>& mu, Matrix<double>& eps);
00026 
00027  private: // Private attributes
00028     string _filename;
00029     int     _numOfMaterials;          // If numOfMaterials is zero, than no material file is assumed to be there
00030     vector<double> _mu;
00031     vector<double> _eps;
00032 
00033 };
00034 
00035 #endif

Generated on Fri Oct 26 13:35:12 2007 for FEMAXX (Finite Element Maxwell Eigensolver) by  doxygen 1.4.7