46 #ifndef STIFFNESS_IO_H 47 #define STIFFNESS_IO_H 54 #include <Eigen/Dense> 66 #define MYOUT std::cout 67 #define MYEND std::endl 72 typedef Eigen::MatrixXd
MX;
73 typedef Eigen::Matrix3d
M3;
74 typedef Eigen::VectorXd
VX;
75 typedef Eigen::Vector3d
V3;
76 typedef Eigen::VectorXi
VXi;
77 typedef Eigen::MatrixXi
MXi;
79 typedef std::vector<V3>
vec3;
87 void OutputPath(
const char *fname,
char fullpath[],
const int len,
char *default_outdir,
int verbose);
95 const char *meshpath,
const char *plotpath,
97 double exagg_static,
float scale,
141 for (i = 1; i <= n; i++) fprintf(fp,
".");
147 tmp = getenv(
"TEMP");
150 "ERROR: Environment Variables %%TEMP%% and %%FRAME3DD_OUTDIR%% are not set. " 151 "At least one of these variables must be set so that FrameFab knows where to " 152 "write its temporary files. Set one of these variable, then re-run FrameFab.");
void GnuPltCubicBentBeam(vector< point > &beam, VX &D, int dual_i, DualGraph *ptr_dualgraph, WireFrame *ptr_frame, double exagg)
GLenum GLenum GLenum GLenum GLenum scale
void GnuPltStaticMesh(const char *fpath, const char *meshpath, const char *plotpath, VX &D, double exagg_static, float scale, DualGraph *ptr_dualgraph, WireFrame *ptr_frame)
void dots(FILE *fp, int n)
void WriteInputData(const char *fpath, DualGraph *ptr_dualgraph, FiberPrintPARM *ptr_parm, int verbose)
void SaveUpperMatrix(char filename[], const MX &A, int n)
void SaveDisplaceVector(char filename[], const VX &D, int n, DualGraph *ptr_dual_graph)
void OutputPath(const char *fname, char fullpath[], const int len, char *default_outdir, int verbose)