PolyFEM
Loading...
Searching...
No Matches
polyfem::io::OutGeometryData::ExportOptions Struct Reference

different export flags More...

#include <OutData.hpp>

Public Member Functions

 ExportOptions (const json &args, const bool is_mesh_linear, const bool is_problem_scalar, const bool solve_export_to_file)
 initialize the flags based on the input args
 
std::string file_extension () const
 return the extension of the output paraview files depending on use_hdf5
 

Public Attributes

bool volume
 
bool surface
 
bool wire
 
bool points
 
bool contact_forces
 
bool friction_forces
 
bool forces
 
bool use_sampler
 
bool boundary_only
 
bool material_params
 
bool body_ids
 
bool sol_on_grid
 
bool velocity
 
bool acceleration
 
bool tensor_values
 
bool scalar_values
 
bool discretization_order
 
bool nodes
 
bool use_spline
 
bool reorder_output
 
bool solve_export_to_file
 
bool use_hdf5
 

Detailed Description

different export flags

Definition at line 48 of file OutData.hpp.

Constructor & Destructor Documentation

◆ ExportOptions()

polyfem::io::OutGeometryData::ExportOptions::ExportOptions ( const json args,
const bool  is_mesh_linear,
const bool  is_problem_scalar,
const bool  solve_export_to_file 
)

initialize the flags based on the input args

Parameters
[in]argsinput arguments used to set most of the flags
[in]is_mesh_linearif the mesh is linear
[in]is_problem_scalarif the problem is scalar
[in]solve_export_to_fileif export to file or save in the frames

Definition at line 1082 of file OutData.cpp.

References acceleration, body_ids, boundary_only, contact_forces, discretization_order, forces, friction_forces, material_params, nodes, points, reorder_output, scalar_values, sol_on_grid, solve_export_to_file, surface, tensor_values, use_hdf5, use_sampler, use_spline, velocity, volume, and wire.

Member Function Documentation

◆ file_extension()

std::string polyfem::io::OutGeometryData::ExportOptions::file_extension ( ) const
inline

return the extension of the output paraview files depending on use_hdf5

Returns
either hdf or vtu

Definition at line 89 of file OutData.hpp.

References use_hdf5.

Referenced by polyfem::io::OutGeometryData::save_vtu().

Here is the caller graph for this function:

Member Data Documentation

◆ acceleration

bool polyfem::io::OutGeometryData::ExportOptions::acceleration

Definition at line 64 of file OutData.hpp.

Referenced by ExportOptions(), and polyfem::io::OutGeometryData::save_volume().

◆ body_ids

bool polyfem::io::OutGeometryData::ExportOptions::body_ids

◆ boundary_only

bool polyfem::io::OutGeometryData::ExportOptions::boundary_only

◆ contact_forces

bool polyfem::io::OutGeometryData::ExportOptions::contact_forces

◆ discretization_order

bool polyfem::io::OutGeometryData::ExportOptions::discretization_order

Definition at line 67 of file OutData.hpp.

Referenced by ExportOptions(), and polyfem::io::OutGeometryData::save_volume().

◆ forces

bool polyfem::io::OutGeometryData::ExportOptions::forces

Definition at line 56 of file OutData.hpp.

Referenced by ExportOptions(), and polyfem::io::OutGeometryData::save_volume().

◆ friction_forces

bool polyfem::io::OutGeometryData::ExportOptions::friction_forces

◆ material_params

bool polyfem::io::OutGeometryData::ExportOptions::material_params

◆ nodes

bool polyfem::io::OutGeometryData::ExportOptions::nodes

Definition at line 68 of file OutData.hpp.

Referenced by ExportOptions(), and polyfem::io::OutGeometryData::save_volume().

◆ points

bool polyfem::io::OutGeometryData::ExportOptions::points

◆ reorder_output

bool polyfem::io::OutGeometryData::ExportOptions::reorder_output

Definition at line 71 of file OutData.hpp.

Referenced by polyfem::io::OutGeometryData::export_data(), and ExportOptions().

◆ scalar_values

bool polyfem::io::OutGeometryData::ExportOptions::scalar_values

Definition at line 66 of file OutData.hpp.

Referenced by ExportOptions(), and polyfem::io::OutGeometryData::save_volume().

◆ sol_on_grid

bool polyfem::io::OutGeometryData::ExportOptions::sol_on_grid

Definition at line 62 of file OutData.hpp.

Referenced by ExportOptions(), and polyfem::io::OutGeometryData::save_volume().

◆ solve_export_to_file

◆ surface

bool polyfem::io::OutGeometryData::ExportOptions::surface

Definition at line 51 of file OutData.hpp.

Referenced by ExportOptions(), and polyfem::io::OutGeometryData::save_vtu().

◆ tensor_values

bool polyfem::io::OutGeometryData::ExportOptions::tensor_values

Definition at line 65 of file OutData.hpp.

Referenced by ExportOptions(), and polyfem::io::OutGeometryData::save_volume().

◆ use_hdf5

◆ use_sampler

bool polyfem::io::OutGeometryData::ExportOptions::use_sampler

◆ use_spline

bool polyfem::io::OutGeometryData::ExportOptions::use_spline

Definition at line 70 of file OutData.hpp.

Referenced by ExportOptions(), and polyfem::io::OutGeometryData::save_volume().

◆ velocity

bool polyfem::io::OutGeometryData::ExportOptions::velocity

Definition at line 63 of file OutData.hpp.

Referenced by ExportOptions(), and polyfem::io::OutGeometryData::save_volume().

◆ volume

bool polyfem::io::OutGeometryData::ExportOptions::volume

Definition at line 50 of file OutData.hpp.

Referenced by ExportOptions(), and polyfem::io::OutGeometryData::save_vtu().

◆ wire

bool polyfem::io::OutGeometryData::ExportOptions::wire

Definition at line 52 of file OutData.hpp.

Referenced by ExportOptions(), and polyfem::io::OutGeometryData::save_vtu().


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