7#ifndef matlab_binary_hh
8#define matlab_binary_hh
51 const uint points = 5);
59 template<
class G,
class F>
72 template<
class G,
class F>
76 const std::string varName,
85 template<
class G,
class F>
96 template<
class G,
class F>
109 template<
class F,
class G>
119 template<
class F,
class G>
137 template<
class G,
class F>
139 const std::string filename,
149 template<
class G,
class F>
151 const std::string filename,
153 const std::string varName,
163 const std::string filename) :
169 template<
class G,
class F>
177 template<
class F,
class G>
179 const std::string name,
187 this->
add(*function, name);
190 template<
class F,
class G>
197 this->
add(*function, name);
211 for (; i != dense_ptr.end(); ++i)
212 this->
add(*i->second, i->first);
void add(const T &u, const std::string varName, enum matio_compression compress=MAT_COMPRESSION_NONE)
std::string filename() const
concepts::RCP< concepts::ElementMatrix< typename concepts::Datatype< F >::type > > getFunction(const concepts::Space< G > &spc, const concepts::ElementFormula< F, G > &frm)
concepts::RCP< concepts::ElementMatrix< F > > getSolution(const concepts::Space< G > &spc, const concepts::Vector< F > &sol, const concepts::ElementFunction< F, G > *fun=0)
DenseMatrixCollection< G > getSpace(const concepts::Space< G > &spc)
void addFunction(const concepts::Space< G > &spc, const std::string name, const concepts::ElementFormula< F, G > &frm)
MatlabBinaryGraphics(const std::string filename)
MatlabBinaryGraphics(concepts::Mesh &msh, const std::string filename, const uint points=5)
void storeData_(DenseMatrixCollection< G > &dense_ptr_)
Stores data hold by dense_ptr.
uint data_
Information which data should be stored.
void addSolution(const concepts::Space< G > &spc, const std::string name, const concepts::Vector< F > &sol, const concepts::ElementFunction< F, G > *fun=0)
void addSpace_(const concepts::Space< G > &spc)
MatlabBinaryGraphics(const concepts::Space< G > &spc, const std::string filename, std::vector< concepts::Vector< F > > &sol, const concepts::ElementFunction< F, G > *fun=0)