![]() |
NuTo
Numerics Tool
|
Interface for a handler class that visualizes a single cell. More...
#include <HandlerInterface.h>
Public Member Functions | |
| virtual | ~HandlerInterface ()=default |
| virtual std::unique_ptr< HandlerInterface > | Clone () const =0 |
| virtual std::vector< int > | WriteGeometry (const CellInterface &cell, UnstructuredGrid *grid)=0 |
| Generate a visualize geometry for each cell and write it to the grid. More... | |
| virtual void | WriteDofValues (const CellInterface &cell, const DofType dof, std::vector< int > pointIds, UnstructuredGrid *grid)=0 |
| Write DOF values into the grid. More... | |
| virtual void | CellData (int cellId, std::vector< Eigen::VectorXd > values, std::string name, UnstructuredGrid *grid)=0 |
| Write cell data into the grid. More... | |
| virtual void | PointData (const CellInterface &cell, std::function< Eigen::VectorXd(Eigen::VectorXd)> f, std::vector< int > pointIds, std::string name, UnstructuredGrid *grid)=0 |
| Write point data into the grid. More... | |
Interface for a handler class that visualizes a single cell.
|
virtualdefault |
|
pure virtual |
Write cell data into the grid.
| cellId | ID of the cell to be visualized. |
| values | List of values to be visualized (e.g. integration point values). |
| name | Name to be used in the resulting output file for the data array. |
| grid | Pointer to the grid where the geometry should be written to. |
Implemented in NuTo::Visualize::VoronoiHandler, NuTo::Visualize::PointHandler, and NuTo::Visualize::AverageHandler.
|
pure virtual |
Implemented in NuTo::Visualize::VoronoiHandler, NuTo::Visualize::PointHandler, and NuTo::Visualize::AverageHandler.
|
pure virtual |
Write point data into the grid.
| cell | Cell to be visualized. |
| f | Function to be visualized. |
| pointIds | IDs of the visualization points belonging to the cell. |
| name | Name to be used in the resulting output file for the data array. |
| grid | Pointer to the grid where the geometry should be written to. |
Implemented in NuTo::Visualize::VoronoiHandler, NuTo::Visualize::PointHandler, and NuTo::Visualize::AverageHandler.
|
pure virtual |
Write DOF values into the grid.
| cell | Current cell to be visualized. |
| dof | DofType to be visualized. |
| pointIds | IDs of the visualization points belonging to the cell. |
| grid | Pointer to the grid where the geometry should be written to. |
Implemented in NuTo::Visualize::VoronoiHandler, NuTo::Visualize::PointHandler, and NuTo::Visualize::AverageHandler.
|
pure virtual |
Generate a visualize geometry for each cell and write it to the grid.
| cell | Current cell to be visualized. |
| grid | Pointer to the grid where the geometry should be written to. |
Implemented in NuTo::Visualize::VoronoiHandler, NuTo::Visualize::PointHandler, and NuTo::Visualize::AverageHandler.
1.8.11