Mercurial > fem-fenics-eugenio
diff src/meshfunction.h @ 268:61830a4f9ab9
Improve formatting
author | Eugenio Gianniti <eugenio.gianniti@mail.polimi.it> |
---|---|
date | Thu, 14 Aug 2014 12:26:55 +0200 |
parents | 53039ac90368 |
children |
line wrap: on
line diff
--- a/src/meshfunction.h Tue Aug 12 15:42:50 2014 +0200 +++ b/src/meshfunction.h Thu Aug 14 12:26:55 2014 +0200 @@ -24,7 +24,7 @@ class meshfunction : public octave_base_value { - public: +public: meshfunction (void) : octave_base_value () {} @@ -50,25 +50,25 @@ bool is_defined (void) const - { return true; } + { return true; } void - print (std::ostream& os, bool pr_as_read_syntax = false) const - { os << "MeshFunction <std::size_t>: " << get_pmf ()->str (true) << std::endl; } + print (std::ostream & os, bool pr_as_read_syntax = false) const + { os << "MeshFunction <std::size_t>: " << get_pmf ()->str (true) << std::endl; } dolfin::MeshFunction <std::size_t> const & get_mf (void) const - { return *pmf; } + { return *pmf; } SHARED_PTR <dolfin::MeshFunction <std::size_t> const> const & get_pmf (void) const - { return pmf; } + { return pmf; } std::string const & get_str (void) const - { return str; } + { return str; } - private: +private: SHARED_PTR <dolfin::MeshFunction <std::size_t> const> pmf; std::string str;