source: src/commands/com_import_rhs.cpp@ 759a6a

Last change on this file since 759a6a was 4571da, checked in by Julian Iseringhausen <isering@…>, 14 years ago

vmg: Implement fourth-order discretization of the Poisson equation.

git-svn-id: https://svn.version.fz-juelich.de/scafacos/trunk@1762 5161e1c8-67bf-11de-9fd5-51895aff932f

  • Property mode set to 100644
File size: 891 bytes
RevLine 
[48b662]1/**
2 * @file com_import_rhs.cpp
3 * @author Julian Iseringhausen <isering@ins.uni-bonn.de>
4 * @date Mon Apr 18 12:39:13 2011
5 *
6 * @brief Calls MGInterface::ImportRightHandSide(rhs)
7 *
8 *
9 */
10
11#ifdef HAVE_CONFIG_H
12#include <config.h>
13#endif
14
15#include "base/command.hpp"
[4571da]16#include "base/discretization.hpp"
[dfed1c]17#include "comm/comm.hpp"
[48b662]18#include "grid/multigrid.hpp"
19#include "interface/interface.hpp"
20#include "mg.hpp"
21
22using namespace VMG;
23
24class VMGCommandImportRightHandSide : public Command
25{
26public:
27 Request Run(Command::argument_vector arguments)
28 {
[dfed1c]29 MPE_EVENT_BEGIN()
30
[48b662]31 MG::GetInterface()->ImportRightHandSide(*MG::GetRhs());
[4571da]32 MG::GetDiscretization()->ModifyRightHandSide();
[48b662]33
[dfed1c]34 MPE_EVENT_END()
35
[48b662]36 return Continue;
37 }
38
39 static const char* Name() {return "ImportRightHandSide";}
40 static int Arguments() {return 0;}
41};
42
[dfed1c]43CREATE_INITIALIZER(VMGCommandImportRightHandSide)
Note: See TracBrowser for help on using the repository browser.