NuTo
Numerics Tool
|
Visualizes cell and point data only at the integration points (no visualization cells) More...
#include <PointHandler.h>
Public Member Functions | |
PointHandler (std::vector< Eigen::VectorXd > ipCoords) | |
ctor More... | |
PointHandler (const IntegrationTypeBase &integrationType) | |
ctor More... | |
virtual std::unique_ptr< HandlerInterface > | Clone () const override |
virtual std::vector< int > | WriteGeometry (const CellInterface &cell, UnstructuredGrid *grid) override |
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) override |
Write DOF values into the grid. More... | |
virtual void | CellData (int cellId, std::vector< Eigen::VectorXd > values, std::string name, UnstructuredGrid *grid) override |
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) override |
Write point data into the grid. More... | |
Public Member Functions inherited from NuTo::Visualize::HandlerInterface | |
virtual | ~HandlerInterface ()=default |
Visualizes cell and point data only at the integration points (no visualization cells)
PointHandler::PointHandler | ( | std::vector< Eigen::VectorXd > | ipCoords | ) |
ctor
ipCoords | vector of integration point coordinates |
PointHandler::PointHandler | ( | const IntegrationTypeBase & | integrationType | ) |
ctor
integrationType | integration type |
|
overridevirtual |
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. |
Implements NuTo::Visualize::HandlerInterface.
|
overridevirtual |
Implements NuTo::Visualize::HandlerInterface.
|
overridevirtual |
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. |
Implements NuTo::Visualize::HandlerInterface.
|
overridevirtual |
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. |
Implements NuTo::Visualize::HandlerInterface.
|
overridevirtual |
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. |
Implements NuTo::Visualize::HandlerInterface.