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