Projection::Projection(std::tr1::shared_ptr<FFT1D> a_fft1dPtr) { // create the solver m_solver = PoissonSolver(a_fft1dPtr); // store N m_N = a_fft1dPtr->getN(); }
PoissonSolver::PoissonSolver(std::tr1::shared_ptr<FFT1D> a_fft1dPtr) { m_fft1dptr = a_fft1dPtr; m_N = a_fft1dPtr->getN(); m_M = a_fft1dPtr->getM(); }