15 virtual std::unique_ptr<HandlerInterface>
Clone()
const override;
22 virtual void CellData(
int cellId, std::vector<Eigen::VectorXd> values, std::string name,
26 std::vector<int> pointIds, std::string name,
UnstructuredGrid* grid)
override;
virtual void CellData(int cellId, std::vector< Eigen::VectorXd > values, std::string name, UnstructuredGrid *grid) override
Write cell data into the grid.
Definition: AverageHandler.cpp:62
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.
Definition: AverageHandler.cpp:72
Interface for a handler class that visualizes a single cell.
Definition: HandlerInterface.h:19
virtual std::unique_ptr< HandlerInterface > Clone() const override
Definition: AverageHandler.cpp:10
virtual std::vector< int > WriteGeometry(const CellInterface &cell, UnstructuredGrid *grid) override
Generate a visualize geometry for each cell and write it to the grid.
Definition: AverageHandler.cpp:33
visualization of unstructured grids
Definition: UnstructuredGrid.h:18
Definition: Exception.h:6
virtual void WriteDofValues(const CellInterface &cell, const DofType dof, std::vector< int > pointIds, UnstructuredGrid *grid) override
Write DOF values into the grid.
Definition: AverageHandler.cpp:45
Cell handler that averages the cell values over each cell.
Definition: AverageHandler.h:12
def Visualize(structure, file)
Definition: Truss1D2N.py:63
Definition: CellInterface.h:13