https://github.com/sueda/eol-cloth
Revision a6d03813fc8cd8b58edc6b3cef6b2f732f4d9d36 authored by Nick Weidner on 07 September 2018, 18:25:33 UTC, committed by Nick Weidner on 07 September 2018, 18:25:33 UTC
1 parent 09335f4
Tip revision: a6d03813fc8cd8b58edc6b3cef6b2f732f4d9d36 authored by Nick Weidner on 07 September 2018, 18:25:33 UTC
Point fix
Point fix
Tip revision: a6d0381
matlabOutputs.h
#pragma once
#ifndef __matlabOutputs__
#define __matlabOutputs__
#include "external\ArcSim\mesh.hpp"
#define EIGEN_DONT_ALIGN_STATICALLY
#include <Eigen\Dense>
#include <Eigen\Sparse>
#include <string>
void mat_s2s_file(const Eigen::SparseMatrix<double>& mat, const std::string &var_name, const std::string &file_name, const bool& overwrite);
void mat_to_file(const Eigen::MatrixXd& mat, const std::string &var_name, const std::string &file_name, const bool &overwrite);
void mat_to_file(const Eigen::MatrixXi& mat, const std::string &var_name, const std::string &file_name, const bool &overwrite);
void vec_to_file(const Eigen::VectorXd& vec, const std::string &var_name, const std::string &file_name, const bool &overwrite);
void vec_to_file(const Eigen::VectorXi& vec, const std::string &var_name, const std::string &file_name, const bool &overwrite);
void mesh2m(const Mesh& mesh, const std::string &file_name, const bool &overwrite);
void double_to_file(double d, const std::string &var_name, const std::string &file_name, const bool &overwrite);
#endif
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...