tk::PDFWriter class

PDFWriter : Writer.

Base classes

class Writer

Constructors, destructors, conversion operators

PDFWriter(const std::string& filename, tk::ctr::TxtFloatFormatType format = tk::ctr::TxtFloatFormatType::DEFAULT, std::streamsize precision = std::cout.precision()) explicit
Constructor.

Public functions

void writeTxt(const UniPDF& pdf, const tk::ctr::PDFInfo& info) const
Write univariate PDF to text file.
void writeTxt(const BiPDF& pdf, const tk::ctr::PDFInfo& info) const
Write bivariate PDF to text file.
void writeTxt(const TriPDF& pdf, const tk::ctr::PDFInfo& info) const
Write trivariate PDF to text file.
void writeGmshTxt(const BiPDF& pdf, const tk::ctr::PDFInfo& info, ctr::PDFCenteringType centering) const
Write bivariate PDF to gmsh (text) file format.
void writeGmshTxt(const TriPDF& pdf, const tk::ctr::PDFInfo& info, ctr::PDFCenteringType centering) const
Write trivariate PDF to gmsh (text) file format.
void writeGmshBin(const BiPDF& pdf, const tk::ctr::PDFInfo& info, ctr::PDFCenteringType centering) const
Write bivariate PDF to gmsh (binary) file format.
void writeGmshBin(const TriPDF& pdf, const tk::ctr::PDFInfo& info, ctr::PDFCenteringType centering) const
Write trivariate PDF to gmsh (binary) file format.
void writeExodusII(const BiPDF& pdf, const tk::ctr::PDFInfo& info, ctr::PDFCenteringType centering) const
Write bivariate PDF to Exodus II file format.
void writeExodusII(const TriPDF& pdf, const tk::ctr::PDFInfo& info, ctr::PDFCenteringType centering) const
Write trivariate PDF to Exodus II file format.

Function documentation

tk::PDFWriter::PDFWriter(const std::string& filename, tk::ctr::TxtFloatFormatType format = tk::ctr::TxtFloatFormatType::DEFAULT, std::streamsize precision = std::cout.precision()) explicit

Constructor.

Parameters
filename in Output filename to which output the PDF
format in Configure floating-point output format for ASCII output
precision in Configure precision for floating-point ASCII output

void tk::PDFWriter::writeTxt(const UniPDF& pdf, const tk::ctr::PDFInfo& info) const

Write univariate PDF to text file.

Parameters
pdf in Univariate PDF
info in PDF metadata

void tk::PDFWriter::writeTxt(const BiPDF& pdf, const tk::ctr::PDFInfo& info) const

Write bivariate PDF to text file.

Parameters
pdf in Bivariate PDF
info in PDF metadata

void tk::PDFWriter::writeTxt(const TriPDF& pdf, const tk::ctr::PDFInfo& info) const

Write trivariate PDF to text file.

Parameters
pdf in Trivariate PDF
info in PDF metadata

void tk::PDFWriter::writeGmshTxt(const BiPDF& pdf, const tk::ctr::PDFInfo& info, ctr::PDFCenteringType centering) const

Write bivariate PDF to gmsh (text) file format.

Parameters
pdf in Bivariate PDF
info in PDF metadata
centering in Bin centering on sample space mesh

void tk::PDFWriter::writeGmshTxt(const TriPDF& pdf, const tk::ctr::PDFInfo& info, ctr::PDFCenteringType centering) const

Write trivariate PDF to gmsh (text) file format.

Parameters
pdf in Trivariate PDF
info in PDF metadata
centering in Bin centering on sample space mesh

void tk::PDFWriter::writeGmshBin(const BiPDF& pdf, const tk::ctr::PDFInfo& info, ctr::PDFCenteringType centering) const

Write bivariate PDF to gmsh (binary) file format.

Parameters
pdf in Bivariate PDF
info in PDF metadata
centering in Bin centering on sample space mesh

void tk::PDFWriter::writeGmshBin(const TriPDF& pdf, const tk::ctr::PDFInfo& info, ctr::PDFCenteringType centering) const

Write trivariate PDF to gmsh (binary) file format.

Parameters
pdf in Trivariate PDF
info in PDF metadata
centering in Bin centering on sample space mesh

void tk::PDFWriter::writeExodusII(const BiPDF& pdf, const tk::ctr::PDFInfo& info, ctr::PDFCenteringType centering) const

Write bivariate PDF to Exodus II file format.

Parameters
pdf in Bivariate PDF
info in PDF metadata
centering in Bin centering on sample space mesh

void tk::PDFWriter::writeExodusII(const TriPDF& pdf, const tk::ctr::PDFInfo& info, ctr::PDFCenteringType centering) const

Write trivariate PDF to Exodus II file format.

Parameters
pdf in Trivariate PDF
info in PDF metadata
centering in Bin centering on sample space mesh