PeriDEM 0.2.0
PeriDEM -- Peridynamics-based high-fidelity model for granular media
Loading...
Searching...
No Matches
legacyVtkWriter.cpp
Go to the documentation of this file.
1// Copyright (c) 2021 Prashant K. Jha
2//
3// Distributed under the GNU GENERAL PUBLIC LICENSE, Version 3.0.
4// (See accompanying file LICENSE.txt)
5
6#include "legacyVtkWriter.h"
7
9 const std::string &compress_type)
10 : d_filename(filename), d_compressType(compress_type) {}
11
13 const std::vector<util::Point> *nodes) {}
14
15void rw::writer::LegacyVtkWriter::appendNodes(const std::vector<util::Point> *nodes,
16 const std::vector<util::Point> *u) {}
17
19 const std::vector<util::Point> *nodes, const size_t &element_type,
20 const std::vector<size_t> *en_con,
21 const std::vector<util::Point> *u) {}
22
24 const std::vector<uint8_t> *data) {}
25
27 const std::vector<size_t> *data) {}
28
30 const std::vector<int> *data) {}
31
33 const std::vector<float> *data) {}
34
36 const std::vector<double> *data) {}
37
39 const std::string &name, const std::vector<util::Point> *data) {}
40
42 const std::string &name, const std::vector<util::SymMatrix3> *data) {}
43
45 const std::vector<float> *data) {}
46
48 const std::string &name, const std::vector<util::SymMatrix3> *data) {}
49
50void rw::writer::LegacyVtkWriter::addTimeStep(const double &timestep) {}
51
53
55 const double &data) {}
56
58 const float &data) {}
void appendMesh(const std::vector< util::Point > *nodes, const size_t &element_type, const std::vector< size_t > *en_con, const std::vector< util::Point > *u=nullptr)
Writes the mesh data to file.
void appendFieldData(const std::string &name, const double &data)
Writes the scalar field data to the file.
void appendPointData(const std::string &name, const std::vector< uint8_t > *data)
Writes the scalar point data to the file.
LegacyVtkWriter(const std::string &filename, const std::string &compress_type="")
Constructor.
void addTimeStep(const double &timestep)
Writes the time step to the file.
void appendNodes(const std::vector< util::Point > *nodes)
Writes the nodes to the file.
void close()
Closes the file and store it to the hard disk.
void appendCellData(const std::string &name, const std::vector< float > *data)
Writes the float data associated to cells to the file.