plot2d.h 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. 2D FDTD simulator
  3. Copyright (C) 2019 Emilia Blåsten
  4. This program is free software: you can redistribute it and/or
  5. modify it under the terms of the GNU Affero General Public License
  6. as published by the Free Software Foundation, either version 3 of
  7. the License, or (at your option) any later version.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  11. Affero General Public License for more details.
  12. You should have received a copy of the GNU Affero General Public
  13. License along with this program. If not, see
  14. <http://www.gnu.org/licenses/>.
  15. */
  16. /* plot2d.h: The header file accompanying the file with all the plotting
  17. * function definitions. This one has just a few prototypes. */
  18. #ifndef _PLOT2D_H
  19. #define _PLOT2D_H
  20. #include "plotWindow.h"
  21. void plot2d(double **array, int sizeX, int sizeY, plotWindow *plotter);
  22. void plot2dLinComb(double a1, double **array1,
  23. double a2, double **array2,
  24. int sizeX, int sizeY, plotWindow *plotter);
  25. #endif