iofem.cc
Go to the documentation of this file.
//
// Input/Output option management
// for finite element specific objects
//
// author: Pierre.Saramito@imag.fr
//
// date: 6 may 2001
//
# include "rheolef/iofem.h"
namespace rheolef {
using namespace std;
# define IO_RHEO_SCALAR(t,a) iorheobase_io_scalar_body_macro(iofem,t,a)
IO_RHEO_SCALAR (field_sequential, topography)
IO_RHEO_SCALAR (point, origin)
IO_RHEO_SCALAR (point, normal)
IO_RHEO_SCALAR (point_basic<size_t>, resolution)
# undef IO_RHEO_SCALAR
// ---------------------------------------------------------------------
// constructor and destructor, copy and assignement
// ---------------------------------------------------------------------
iofem::iofem()
:
topography_(),
origin_(point(numeric_limits<Float>::max(),0,0)),
normal_(point(1,0,0)),
resolution_(1024,768)
{
}
iofem::~iofem()
{
}
// ---------------------------------------------------------------------
// trivial memory handler instanciation
// ---------------------------------------------------------------------
// static variable initialization in template class:
template<> list<iofem*> *iorheobase_memory_handler<iofem>::pointer_list = 0;
// class instanciation:
template class iorheobase_memory_handler<iofem>;
iofem*
iofem::get_pointer (std::ios& s)
{
return iorheobase_memory_handler<iofem>::get_pointer(s);
}
} // namespace rheolef
Float
see the Float page for the full documentation
point
see the point page for the full documentation
rheolef::iofem
Definition: iofem.h:67
rheolef::iofem::~iofem
~iofem()
Definition: iofem.cc:52
rheolef::iofem::get_pointer
static iofem * get_pointer(std::ios &s)
Definition: iofem.cc:66
rheolef::iofem::iofem
iofem()
Definition: iofem.cc:44
rheolef::iorheobase_memory_handler
Definition: iorheobase.h:144
rheolef::iorheobase_memory_handler::get_pointer
static T * get_pointer(std::ios &io)
Definition: iorheobase.h:160
rheolef::field_sequential
field_basic< Float, sequential > field_sequential
Definition: field.h:421
IO_RHEO_SCALAR
#define IO_RHEO_SCALAR(t, a)
Definition: iofem.cc:33
rheolef
This file is part of Rheolef.
Definition: compiler_eigen.h:37
rheolef::normal
details::field_expr_v2_nonlinear_terminal_function< details::normal_pseudo_function< Float > > normal()
normal: see the expression page for the full documentation
Definition: field_expr_terminal.h:439