|
MaMiCo 1.2
|
plots the coupling cell data. More...
#include <CouplingCellPlotter.h>
Classes | |
| class | Writer4Cells |
| class for writing coupling cell data to stringstreams. More... | |
| class | Writer4Molecules |
| class for writing molecule data to stringstreams. More... | |
Public Member Functions | |
| CouplingCellPlotter (unsigned int ID, std::string filename, unsigned int rank, unsigned int t, datastructures::LinkedCellContainer< LinkedCell, dim > &cells, coupling::interface::MDSolverInterface< LinkedCell, dim > *const mdSolverInterface) | |
| a simple constructor | |
| ~CouplingCellPlotter () | |
| a simple destructor | |
Private Member Functions | |
| void | plotMoleculeFile (unsigned int ID, std::string filename, unsigned int rank, unsigned int t, coupling::datastructures::LinkedCellContainer< LinkedCell, dim > &cells, coupling::interface::MDSolverInterface< LinkedCell, dim > *const mdSolverInterface) |
| writes molecule information to VTK file. | |
| void | plotCouplingCellFile (unsigned int ID, std::string filename, unsigned int rank, unsigned int t, coupling::datastructures::LinkedCellContainer< LinkedCell, dim > &cells, coupling::interface::MDSolverInterface< LinkedCell, dim > *const mdSolverInterface) |
| writes molecule information + coupling cell information to VTK file. | |
| void | open (unsigned int ID, std::string filename, std::string fileType, unsigned int rank, unsigned int t, std::ofstream &of) |
| opens a file | |
plots the coupling cell data.
| LinkedCell | the LinkedCell class is given by the implementation of linked cells in the molecular dynamics simulation |
| dim | refers to the spacial dimension of the simulation, can be 1, 2, or 3 |
|
inline |
a simple constructor
| ID | the id of the md simulation |
| filename | name for the file |
| rank | mpi rank of the current process |
| t | number of time step to plot |
| cells | coupling cells to plot |
| mdSolverInterface | interface of the md solver |
|
inlineprivate |
opens a file
| ID | the id of the md simulation |
| filename | name for the file |
| fileType | type of the file (e.g. vtk) |
| rank | mpi rank of the current process |
| t | number of time step to plot |
| of | this is the stream, where it will be written to |
|
inlineprivate |
writes molecule information + coupling cell information to VTK file.
| ID | the id of the md simulation |
| filename | name for the file |
| rank | mpi rank of the current process |
| t | number of time step to plot |
| cells | coupling cells to plot |
| mdSolverInterface | interface of the md solver |
|
inlineprivate |
writes molecule information to VTK file.
the file will contain the velocity, position, and potentials of the molecules
| ID | the id of the md simulation |
| filename | name for the file |
| rank | mpi rank of the current process |
| t | number of time step to plot |
| cells | coupling cells to plot |
| mdSolverInterface | interface of the md solver |