Rheolef  7.2
an efficient C++ finite element environment
 
Loading...
Searching...
No Matches
iofem.cc
Go to the documentation of this file.
1
21//
22// Input/Output option management
23// for finite element specific objects
24//
25// author: Pierre.Saramito@imag.fr
26//
27// date: 6 may 2001
28//
29# include "rheolef/iofem.h"
30namespace rheolef {
31using namespace std;
32
33# define IO_RHEO_SCALAR(t,a) iorheobase_io_scalar_body_macro(iofem,t,a)
34 IO_RHEO_SCALAR (field_sequential, topography)
35 IO_RHEO_SCALAR (point, origin)
37 IO_RHEO_SCALAR (point_basic<size_t>, resolution)
38# undef IO_RHEO_SCALAR
39
40// ---------------------------------------------------------------------
41// constructor and destructor, copy and assignement
42// ---------------------------------------------------------------------
43
45 :
46 topography_(),
47 origin_(point(numeric_limits<Float>::max(),0,0)),
48 normal_(point(1,0,0)),
49 resolution_(1024,768)
50{
51}
53{
54}
55// ---------------------------------------------------------------------
56// trivial memory handler instanciation
57// ---------------------------------------------------------------------
58
59// static variable initialization in template class:
61
62// class instanciation:
64
65iofem*
70
71} // namespace rheolef
see the Float page for the full documentation
see the point page for the full documentation
static iofem * get_pointer(std::ios &s)
Definition iofem.cc:66
static T * get_pointer(std::ios &io)
Definition iorheobase.h:181
#define IO_RHEO_SCALAR(t, a)
Definition iofem.cc:33
This file is part of Rheolef.
details::field_expr_v2_nonlinear_terminal_function< details::normal_pseudo_function< Float > > normal()
normal: see the expression page for the full documentation
STL namespace.