20 #include "headcpp.hpp"
22 #include "utilities.hpp"
25 #include "tensor_impl.hpp"
47 fread_be (&
ndim,
sizeof(
int), 1, fd) ;
48 fread_be (&
type_base,
sizeof(
int), 1, fd) ;
59 Space_polar::~Space_polar() {
64 fwrite_be (&
ndim,
sizeof(
int), 1, fd) ;
65 fwrite_be (&
type_base,
sizeof(
int), 1, fd) ;
74 #ifndef REMOVE_ALL_CHECKS
76 cerr <<
"No compactified domain in Space_polar::int_inf" << endl ;
int get_ndim() const
Returns the number of dimensions.
int get_size(int i) const
Returns the size of a given dimension.
Class for storing the dimensions of an array.
Class for a 2-dimensional spherical shell and a symmetry with respect to the plane .
virtual double integ(const Val_domain &, int) const
Surface integral on a given boundary.
Class for a 2-dimensional spherical domain containing the origin and a symetry with respect to the pl...
Class for a 2-dimensional spherical shell and a symmetry with respect to the plane .
Abstract class that implements the fonctionnalities common to all the type of domains.
The class Point is used to store the coordinates of a point.
The class Scalar does not really implements scalars in the mathematical sense but rather tensorial co...
double int_inf(const Scalar &so) const
Computes the surface integral at infinity.
virtual void save(FILE *) const
Saving function.
Space_polar(int ttype, const Point &cr, const Dim_array &nbr, const Array< double > &bounds)
Standard constructor.
int type_base
Type of basis used (i.e. using either Chebyshev or Legendre polynomials).
int ndim
Number of dimensions (should be the same for all the Domains).
Domain ** domains
Pointers on the various Domains.
int nbr_domains
Number od Domains.