Commit 15f11eb3 authored by Phillip Lino Rall's avatar Phillip Lino Rall
Browse files

implementing beamquality example with FFT

parent 1394fb62
...@@ -109,6 +109,10 @@ void spectrumPlaneWave(std::complex<double> (*aperture) (double x, double y), ...@@ -109,6 +109,10 @@ void spectrumPlaneWave(std::complex<double> (*aperture) (double x, double y),
varFar.inversFFT(); varFar.inversFFT();
} }
void estimateBeamQuality(VariableFFT& varIn, double lambda)
{
}
int main(int argc, char** argv) { int main(int argc, char** argv) {
std::ofstream DATEI; std::ofstream DATEI;
...@@ -145,6 +149,7 @@ int main(int argc, char** argv) { ...@@ -145,6 +149,7 @@ int main(int argc, char** argv) {
VariableFFT varE(n,n,geo); VariableFFT varE(n,n,geo);
VariableFFT varIn(varE); VariableFFT varIn(varE);
VariableFFT varPhase(varE);
...@@ -178,7 +183,7 @@ int main(int argc, char** argv) { ...@@ -178,7 +183,7 @@ int main(int argc, char** argv) {
varE = varE / L_infty( varE); varE = varE / L_infty( varE);
std::ofstream DATEIA; std::ofstream DATEIA;
DATEIA.open("varIn.vtk"); DATEIA.open("varIn.vtk");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment