PolyFEM
|
different export flags More...
#include <OutData.hpp>
Public Member Functions | |
ExportOptions (const json &args, const bool is_mesh_linear, const bool is_problem_scalar) | |
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 | |
bool | export_field (const std::string &field) const |
Public Attributes | |
std::vector< std::string > | fields |
bool | volume |
bool | surface |
bool | wire |
bool | points |
bool | contact_forces |
bool | friction_forces |
bool | normal_adhesion_forces |
bool | tangential_adhesion_forces |
bool | forces |
bool | jacobian_validity |
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 | use_hdf5 |
different export flags
Definition at line 36 of file OutData.hpp.
polyfem::io::OutGeometryData::ExportOptions::ExportOptions | ( | const json & | args, |
const bool | is_mesh_linear, | ||
const bool | is_problem_scalar | ||
) |
initialize the flags based on the input args
[in] | args | input arguments used to set most of the flags |
[in] | is_mesh_linear | if the mesh is linear |
[in] | is_problem_scalar | if the problem is scalar |
Definition at line 1085 of file OutData.cpp.
bool polyfem::io::OutGeometryData::ExportOptions::export_field | ( | const std::string & | field | ) | const |
Definition at line 1080 of file OutData.cpp.
References fields.
Referenced by polyfem::io::OutGeometryData::save_contact_surface(), polyfem::io::OutGeometryData::save_points(), polyfem::io::OutGeometryData::save_surface(), polyfem::io::OutGeometryData::save_volume(), polyfem::io::OutGeometryData::save_volume_vector_field(), and polyfem::io::OutGeometryData::save_wire().
|
inline |
return the extension of the output paraview files depending on use_hdf5
Definition at line 78 of file OutData.hpp.
References use_hdf5.
Referenced by polyfem::io::OutGeometryData::save_vtu().
bool polyfem::io::OutGeometryData::ExportOptions::acceleration |
Definition at line 57 of file OutData.hpp.
Referenced by polyfem::io::OutGeometryData::save_volume().
bool polyfem::io::OutGeometryData::ExportOptions::body_ids |
Definition at line 54 of file OutData.hpp.
Referenced by polyfem::io::OutGeometryData::save_surface(), and polyfem::io::OutGeometryData::save_volume().
bool polyfem::io::OutGeometryData::ExportOptions::boundary_only |
Definition at line 52 of file OutData.hpp.
Referenced by polyfem::io::OutGeometryData::save_volume(), and polyfem::io::OutGeometryData::save_volume_vector_field().
bool polyfem::io::OutGeometryData::ExportOptions::contact_forces |
Definition at line 44 of file OutData.hpp.
Referenced by polyfem::io::OutGeometryData::save_contact_surface(), and polyfem::io::OutGeometryData::save_vtu().
bool polyfem::io::OutGeometryData::ExportOptions::discretization_order |
Definition at line 60 of file OutData.hpp.
Referenced by polyfem::io::OutGeometryData::save_volume().
std::vector<std::string> polyfem::io::OutGeometryData::ExportOptions::fields |
Definition at line 38 of file OutData.hpp.
Referenced by export_field().
bool polyfem::io::OutGeometryData::ExportOptions::forces |
Definition at line 48 of file OutData.hpp.
Referenced by polyfem::io::OutGeometryData::save_volume().
bool polyfem::io::OutGeometryData::ExportOptions::friction_forces |
Definition at line 45 of file OutData.hpp.
Referenced by polyfem::io::OutGeometryData::save_contact_surface(), and polyfem::io::OutGeometryData::save_vtu().
bool polyfem::io::OutGeometryData::ExportOptions::jacobian_validity |
Definition at line 49 of file OutData.hpp.
Referenced by polyfem::io::OutGeometryData::save_volume().
bool polyfem::io::OutGeometryData::ExportOptions::material_params |
Definition at line 53 of file OutData.hpp.
Referenced by polyfem::io::OutGeometryData::save_surface(), and polyfem::io::OutGeometryData::save_volume().
bool polyfem::io::OutGeometryData::ExportOptions::nodes |
Definition at line 61 of file OutData.hpp.
Referenced by polyfem::io::OutGeometryData::save_volume().
bool polyfem::io::OutGeometryData::ExportOptions::normal_adhesion_forces |
Definition at line 46 of file OutData.hpp.
Referenced by polyfem::io::OutGeometryData::save_contact_surface(), and polyfem::io::OutGeometryData::save_vtu().
bool polyfem::io::OutGeometryData::ExportOptions::points |
Definition at line 43 of file OutData.hpp.
Referenced by p_bases.Lagrange::compute_basis(), q_bases.Lagrange::compute_basis(), and polyfem::io::OutGeometryData::save_vtu().
bool polyfem::io::OutGeometryData::ExportOptions::reorder_output |
Definition at line 64 of file OutData.hpp.
Referenced by polyfem::io::OutGeometryData::export_data().
bool polyfem::io::OutGeometryData::ExportOptions::scalar_values |
Definition at line 59 of file OutData.hpp.
Referenced by polyfem::io::OutGeometryData::save_volume().
bool polyfem::io::OutGeometryData::ExportOptions::sol_on_grid |
Definition at line 55 of file OutData.hpp.
Referenced by polyfem::io::OutGeometryData::save_volume().
bool polyfem::io::OutGeometryData::ExportOptions::surface |
Definition at line 41 of file OutData.hpp.
Referenced by polyfem::io::OutGeometryData::save_vtu().
bool polyfem::io::OutGeometryData::ExportOptions::tangential_adhesion_forces |
Definition at line 47 of file OutData.hpp.
Referenced by polyfem::io::OutGeometryData::save_contact_surface(), and polyfem::io::OutGeometryData::save_vtu().
bool polyfem::io::OutGeometryData::ExportOptions::tensor_values |
Definition at line 58 of file OutData.hpp.
Referenced by polyfem::io::OutGeometryData::save_volume().
bool polyfem::io::OutGeometryData::ExportOptions::use_hdf5 |
Definition at line 66 of file OutData.hpp.
Referenced by file_extension(), polyfem::io::OutGeometryData::save_contact_surface(), polyfem::io::OutGeometryData::save_points(), polyfem::io::OutGeometryData::save_surface(), polyfem::io::OutGeometryData::save_volume(), and polyfem::io::OutGeometryData::save_wire().
bool polyfem::io::OutGeometryData::ExportOptions::use_sampler |
Definition at line 51 of file OutData.hpp.
Referenced by polyfem::io::OutGeometryData::save_volume(), and polyfem::io::OutGeometryData::save_volume_vector_field().
bool polyfem::io::OutGeometryData::ExportOptions::use_spline |
Definition at line 63 of file OutData.hpp.
Referenced by polyfem::io::OutGeometryData::save_volume().
bool polyfem::io::OutGeometryData::ExportOptions::velocity |
Definition at line 56 of file OutData.hpp.
Referenced by polyfem::io::OutGeometryData::save_volume().
bool polyfem::io::OutGeometryData::ExportOptions::volume |
Definition at line 40 of file OutData.hpp.
Referenced by polyfem::io::OutGeometryData::save_vtu().
bool polyfem::io::OutGeometryData::ExportOptions::wire |
Definition at line 42 of file OutData.hpp.
Referenced by polyfem::io::OutGeometryData::save_vtu().