17 #ifndef __deal2__swappable_vector_templates_h 18 #define __deal2__swappable_vector_templates_h 21 #include <deal.II/base/memory_consumption.h> 22 #include <deal.II/lac/swappable_vector.h> 28 template <
typename number>
31 data_is_preloaded (false)
36 template <
typename number>
47 template <
typename number>
63 template <
typename number>
84 template <
typename number>
109 std::ofstream tmp_out(
filename.c_str());
118 template <
typename number>
150 template <
typename number>
153 #ifndef DEAL_II_WITH_THREADS 184 template <
typename number>
190 std::ifstream tmp_in(
filename.c_str());
194 #ifdef DEAL_II_WITH_THREADS 208 template <
typename number>
226 int status = std::remove (
filename.c_str());
235 template <
typename number>
244 template <
typename number>
257 DEAL_II_NAMESPACE_CLOSE
259 #endif // __deal2__swappable_vector_templates_h void block_read(std::istream &in)
SwappableVector & operator=(const SwappableVector &)
#define AssertThrow(cond, exc)
Thread< RT > new_thread(const std_cxx1x::function< RT()> &function)
void reload_vector(const bool set_flag)
Vector< Number > & operator=(const Number s)
virtual void reinit(const size_type N, const bool fast=false)
#define Assert(cond, exc)
std::size_t memory_consumption(const T &t)
virtual ~SwappableVector()
void block_write(std::ostream &out) const
const std::string & get_filename() const
std::size_t memory_consumption() const
void swap_out(const std::string &filename)
::ExceptionBase & ExcInternalError()