PeriDEM 0.3.0
PeriDEM -- Peridynamics-based high-fidelity model for granular media
Loading...
Searching...
No Matches
legacyVtkWriter.cpp
Go to the documentation of this file.
1/*
2 * -------------------------------------------
3 * Copyright (c) 2021 - 2026 Prashant K. Jha
4 * -------------------------------------------
5 * PeriDEM https://github.com/prashjha/PeriDEM
6 *
7 * Distributed under the Boost Software License, Version 1.0. (See accompanying
8 * file LICENSE)
9 */
10
11#include "legacyVtkWriter.h"
12
14 const std::string &compress_type)
15 : d_filename(filename), d_compressType(compress_type) {}
16
18 const std::vector<util::Point> *nodes) {}
19
20void rw::writer::LegacyVtkWriter::appendNodes(const std::vector<util::Point> *nodes,
21 const std::vector<util::Point> *u) {}
22
24 const std::vector<util::Point> *nodes, const size_t &element_type,
25 const std::vector<size_t> *en_con,
26 const std::vector<util::Point> *u) {}
27
29 const std::vector<uint8_t> *data) {}
30
32 const std::vector<size_t> *data) {}
33
35 const std::vector<int> *data) {}
36
38 const std::vector<float> *data) {}
39
41 const std::vector<double> *data) {}
42
44 const std::string &name, const std::vector<util::Point> *data) {}
45
47 const std::string &name, const std::vector<util::SymMatrix3> *data) {}
48
50 const std::vector<float> *data) {}
51
53 const std::string &name, const std::vector<util::SymMatrix3> *data) {}
54
55void rw::writer::LegacyVtkWriter::addTimeStep(const double &timestep) {}
56
58
60 const double &data) {}
61
63 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.
Definition contact.h:20