source: src/commands/com_print_grid_structure.cpp@ dfed1c

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

Major vmg update.

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

  • Property mode set to 100644
File size: 806 bytes
Line 
1/**
2 * @file com_print_grid_structure.cpp
3 * @author Julian Iseringhausen <isering@ins.uni-bonn.de>
4 * @date Mon Apr 18 12:44:47 2011
5 *
6 * @brief Writes a mesh representation of the multigrid
7 * to a VTK xml file.
8 *
9 */
10
11#ifdef HAVE_CONFIG_H
12#include <config.h>
13#endif
14
15#include "base/command.hpp"
16#include "comm/comm.hpp"
17#include "grid/multigrid.hpp"
18#include "mg.hpp"
19
20using namespace VMG;
21
22class VMGCommandPrintGridStructure : public Command
23{
24public:
25 Request Run(Command::argument_vector arguments)
26 {
27 MPE_EVENT_BEGIN()
28
29 MG::GetComm()->DebugPrintGridStructure((*MG::GetRhs()));
30
31 MPE_EVENT_END()
32
33 return Continue;
34 }
35
36 static const char* Name() {return "PrintGridStructure";}
37 static int Arguments() {return 0;}
38};
39
40CREATE_INITIALIZER(VMGCommandPrintGridStructure)
Note: See TracBrowser for help on using the repository browser.