source: src/commands/com_import_rhs.cpp@ cd0fed

Last change on this file since cd0fed was f003a9, checked in by Julian Iseringhausen <isering@…>, 14 years ago

Refactored vmg in order to separate the core library and the particle simulation part properly.

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

  • Property mode set to 100644
File size: 886 bytes
Line 
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"
16#include "base/discretization.hpp"
17#include "base/interface.hpp"
18#include "comm/comm.hpp"
19#include "grid/multigrid.hpp"
20#include "mg.hpp"
21
22using namespace VMG;
23
24class VMGCommandImportRightHandSide : public Command
25{
26public:
27 Request Run(Command::argument_vector arguments)
28 {
29 MPE_EVENT_BEGIN()
30
31 MG::GetInterface()->ImportRightHandSide(*MG::GetRhs());
32 MG::GetDiscretization()->ModifyRightHandSide();
33
34 MPE_EVENT_END()
35
36 return Continue;
37 }
38
39 static const char* Name() {return "ImportRightHandSide";}
40 static int Arguments() {return 0;}
41};
42
43CREATE_INITIALIZER(VMGCommandImportRightHandSide)
Note: See TracBrowser for help on using the repository browser.