30char base_vect_C[] =
"$Header: /cvsroot/Lorene/C++/Source/Base_vect/base_vect.C,v 1.5 2014/10/13 08:52:39 j_novak Exp $" ;
78#include "utilitaires.h"
114 fread(
name,
sizeof(
char), 100, fich) ;
136 strncpy(
name, name_i, 100) ;
153 fwrite_be(&ident,
sizeof(
int), 1, fich) ;
155 fwrite(
name,
sizeof(
char), 100, fich) ;
162ostream& operator<<(ostream& ost,
const Base_vect& bvect) {
176 return !(bi == *
this) ;
Vectorial bases (triads) with respect to which the tensorial components are defined.
Base_vect()
Standard constructor.
bool operator!=(const Base_vect &) const
Comparison operator (difference)
virtual int identify() const =0
Returns a number to identify the sub-classe of Base_vect the object belongs to.
const char * get_name() const
Returns the basis name.
virtual void sauve(FILE *) const
Save in a file.
void set_name(const char *name_i)
Sets the basis name.
virtual ~Base_vect()
Destructor.
char name[100]
Name of the basis.
int fwrite_be(const int *aa, int size, int nb, FILE *fich)
Writes integer(s) into a binary file according to the big endian convention.