rheolef  6.5
field_seq_put_bamg_bb.cc
Go to the documentation of this file.
1 #include "rheolef/field.h"
2 #include "rheolef/field_expr_ops.h"
3 #include "rheolef/piola.h"
4 #include "rheolef/rheostream.h"
5 #include "rheolef/iorheo.h"
6 #include "rheolef/field_evaluate.h"
7 #include "rheolef/space_component.h"
8 namespace rheolef {
9 using namespace std;
10 
11 template <class T>
12 odiststream&
14 {
16  ostream& os = ods.os();
17  check_macro (uh.valued() == "scalar", uh.valued() << "-valued: not yet");
18  os << "2 1 " << uh.ndof() << " 2" << endl;
19  for (typename field_basic<T,sequential>::const_iterator iter = uh.begin_dof(), last = uh.end_dof();
20  iter != last; ++iter) {
21  os << *iter << endl;
22  }
23  return ods;
24 }
25 template odiststream& field_put_bamg_bb<Float> (odiststream&, const field_basic<Float,sequential>&);
26 
27 }// namespace rheolef
28