Commit 54ca9786 authored by Cristian Lalescu's avatar Cristian Lalescu
Browse files

add basic test for fluid solver

parent fc2bc775
......@@ -21,6 +21,7 @@
#include "base.hpp"
#include "fluid_solver.hpp"
#include <iostream>
#include <fftw3-mpi.h>
int myrank, nprocs;
......@@ -34,6 +35,9 @@ int main(int argc, char *argv[])
fs = new fluid_solver<float>(32, 32, 32);
DEBUG_MSG("fluid_solver object created\n");
fftwf_execute(*(fftwf_plan*)fs->c2r_vorticity);
fftwf_execute(*(fftwf_plan*)fs->r2c_vorticity);
delete fs;
DEBUG_MSG("fluid_solver object deleted\n");
......
Supports Markdown
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