/** * @file com_prolongate.cpp * @author Julian Iseringhausen * @date Mon Apr 18 12:48:08 2011 * * @brief Runs LevelOperator::Prolongate * */ #ifdef HAVE_CONFIG_H #include #endif #include "base/command.hpp" #include "grid/multigrid.hpp" #include "level/level_operator.hpp" #include "mg.hpp" using namespace VMG; class VMGCommandProlongate : public Command { public: Request Run(Command::argument_vector arguments) { MG::GetLevelOperator()->Prolongate(*MG::GetSol(), *MG::GetRhs()); return Continue; } static const char* Name() {return "Prolongate";} static int Arguments() {return 0;} }; CREATE_INITIALIZER(VMGCommandProlongate);