/** * @file interface_vtk.cpp * @author Julian Iseringhausen * @date Mon Apr 18 12:58:39 2011 * * @brief VMG::InterfaceVTK * */ #ifdef HAVE_CONFIG_H #include #endif #ifdef HAVE_VTK #include "interface_vtk.hpp" void MGInterfaceVTK::ImportRightHandSide(MGMultigrid& multigrid) { MGGrid& grid = multigrid(multigrid.GlobalMaxLevel()); ptr source = ptr::New(); source->SetFileName(filename.c_str()); source->Update(); for (int i=0; iGetOutput()->GetScalarComponentAsDouble(i,j,k,0); } void MGInterfaceVTK::ExportSolution(MGGrid& grid) { } #endif