//--------------------------------------------------------------------------- #ifndef schroedingerH #define schroedingerH //--------------------------------------------------------------------------- #include #include #include #include #include #include #include #include #include #include #include //--------------------------------------------------------------------------- class TForm1 : public TForm { __published: // IDE-managed Components TImage *Image1; TButton *Plot_graph; TEdit *outfile1; TLabel *Label2; TEdit *Step_size; TLabel *Label3; TEdit *num_step_size; TLabel *eigen; TEdit *tr_energy; TLabel *Label4; TEdit *min_x; TLabel *Label5; TEdit *max_x; TLabel *Label7; TEdit *min_y; TLabel *Label8; TEdit *max_y; TLabel *Label6; TEdit *x_scal; TLabel *Label9; TEdit *y_scal; TButton *Button1; TLabel *x_label; TLabel *y_label; TLabel *Label1; TLabel *Label10; TEdit *Step_energy; TEdit *tolerance; TLabel *Label11; void __fastcall onclick(TObject *Sender); void __fastcall v_coul(TObject *Sender); private: // User declarations double MHBARSQ; double ESQ; // value in nm. ofstream outFile; int graphtype; int Files(); float* POTENTIAL(double k,int j); float EIGENVALUE(double E,double DELTA_E,double k,int j); double ITERATE(double sign,double E1, double DELTA_E,int* m); int main(); void __fastcall pixw(double x,double y); void initgraph(double xscal,double yscal); public: // User declarations __fastcall TForm1(TComponent* Owner); }; //--------------------------------------------------------------------------- extern TForm1 *Form1; //--------------------------------------------------------------------------- #endif