PTEMS  0.1.0-dev+git.50fd239
PolyTopic Element Method Solver
ptems::SaveFileOptions Struct Reference

Specifies the options for saving a mesh (and functions) to a file. More...

#include <ptems/mesh.hpp>

Public Member Functions

 SaveFileOptions (MeshFileFormat format)
 Construct the default options for the specified mesh format. More...
 
 SaveFileOptions (MeshFileFormat format, bool discontinuous)
 Construct with the specified options. More...
 

Public Attributes

MeshFileFormat Format
 Specifies the mesh file format to use. More...
 
bool Discontinuous
 Specifies to output any solution data as discontinuous cell data. More...
 

Detailed Description

Specifies the options for saving a mesh (and functions) to a file.

Constructor & Destructor Documentation

◆ SaveFileOptions() [1/2]

ptems::SaveFileOptions::SaveFileOptions ( MeshFileFormat  format)
inline

Construct the default options for the specified mesh format.

Parameters
formatThe mesh format to save as

◆ SaveFileOptions() [2/2]

ptems::SaveFileOptions::SaveFileOptions ( MeshFileFormat  format,
bool  discontinuous 
)
inline

Construct with the specified options.

Parameters
formatThe mesh format to save as
discontinuousSpecifies to output any solution data as discontinuous cell data.

Member Data Documentation

◆ Discontinuous

bool ptems::SaveFileOptions::Discontinuous

Specifies to output any solution data as discontinuous cell data.

Default is true for the following mesh formats and false for all others:

Note
This may cause vertices to be repeated depending on the mesh format

◆ Format

MeshFileFormat ptems::SaveFileOptions::Format

Specifies the mesh file format to use.


The documentation for this struct was generated from the following file: