forked from NanoComp/meep
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enable single precision floating points for fields arrays (NanoComp#1544
) * remove cdouble type * replace double,complex<double> with realnum,complex<realnum> * always store DFT fields using double precision floating point * fixes * store all floating point parameters of MaterialGrid as doubles * specify HDF5 read/write type format using single_precision parameter * read_chunk/write_chunk in structure_dump.cpp use correct precision * switch dft_ldos arrays to type complex<double> from complex<realnum> * convert PML arrays sig,kap,siginv to realnum from double * use single precision by default for h5file member functions write/read and related * create two versions of read_chunk/write_chunk with input arrays of type float and double * convert gyrotropic_susceptibility parameters to realnum * minor formatting fixes * update comment for single precision usage in meep.hpp
- Loading branch information
Showing
32 changed files
with
543 additions
and
532 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.