3D Beam Finite Element Code
1.0
|
Provides a method for customizing the finite element analysis. More...
#include <options.h>
Public Member Functions | |
Options () | |
Default constructor. More... | |
Public Attributes | |
double | epsilon |
unsigned int | csv_precision |
std::string | csv_delimiter |
bool | save_nodal_displacements |
bool | save_nodal_forces |
bool | save_tie_forces |
bool | verbose |
bool | save_report |
std::string | nodal_displacements_filename |
std::string | nodal_forces_filename |
std::string | tie_forces_filename |
std::string | report_filename |
Provides a method for customizing the finite element analysis.
|
inline |
Default constructor.
This tries to set up reasonable defaults for analysis. It is recommended that the user read and overwrite the defaults based on the information desired from the analysis.
std::string fea::Options::csv_delimiter |
Delimiter to use when saving nodal forces and displacements if either save_nodal_displacements
or save_nodal_forces
is set to true
. Default = ",".
unsigned int fea::Options::csv_precision |
Number of decimal places to use when saving nodal forces and displacements if either save_nodal_displacements
or save_nodal_forces
is set to true
. Default = 14.
double fea::Options::epsilon |
Values of forces and nodal displacements which have a magnitude less than epsilon
will be rounded to 0.0. Default = 1e-14
. This is a simple way to deal with machine precision when doing calculations.
std::string fea::Options::nodal_displacements_filename |
File name to save the nodal displacements to when save_nodal_displacements == true
.
std::string fea::Options::nodal_forces_filename |
File name to save the nodal forces to when save_nodal_forces == true
.
std::string fea::Options::report_filename |
File name to save the nodal forces to when save_report == true
.
bool fea::Options::save_nodal_displacements |
Specifies if the nodal displacements should be saved to a file. Default = false
. If true
the nodal displacements will be saved to the file indicated by nodal_displacements_filename
.
bool fea::Options::save_nodal_forces |
Specifies if the nodal forces should be saved to a file. Default = false
. If true
the nodal forces will be saved to the file indicated by nodal_forces_filename
.
bool fea::Options::save_report |
Specifies if a text file should be written detailing information on the analysis. Default = false
. If true
the a report will be saved to the file indicated by report_filename
.
bool fea::Options::save_tie_forces |
Specifies if the forces associated with tie elements should be saved to a file. Default = false
. If true
the tie forces will be saved to the file indicated by tie_forces_filename
.
std::string fea::Options::tie_forces_filename |
File name to save the nodal forces to when save_tie_forces == true
.
bool fea::Options::verbose |
Specifies if progress of the analysis should be written to std::cout. Default = false
. If true
information on current step and time taken per step will be reported.