#include <base_vect.h>
Inheritance diagram for Base_vect:

Public Member Functions | |
| virtual | ~Base_vect () |
| Destructor. | |
| void | set_name (const char *name_i) |
| Sets the basis name. | |
| const char * | get_name () const |
| Returns the basis name. | |
| virtual int | identify () const =0 |
Returns a number to identify the sub-classe of Base_vect the object belongs to. | |
| virtual void | sauve (FILE *) const |
| Save in a file. | |
| virtual bool | operator== (const Base_vect &) const =0 |
| Comparison operator (egality). | |
| bool | operator!= (const Base_vect &) const |
| Comparison operator (difference). | |
| virtual void | change_basis (Tenseur &) const =0 |
| Change the basis in which the components of a tensor are expressed. | |
Static Public Member Functions | |
| static Base_vect * | bvect_from_file (FILE *) |
Construction of a vectorial basis from a file (see sauve(FILE* ) ). | |
Protected Member Functions | |
| Base_vect () | |
| Standard constructor. | |
| Base_vect (const char *name_i) | |
| Standard constructor with name. | |
| Base_vect (const Base_vect &) | |
| Copy constructor. | |
| Base_vect (FILE *) | |
| Constructor from a file. | |
| virtual ostream & | operator>> (ostream &) const =0 |
| Operator >>. | |
Protected Attributes | |
| char | name [100] |
| Name of the basis. | |
Private Member Functions | |
| void | operator= (const Base_vect &) |
| Assignement operator (not implemented). | |
Friends | |
| ostream & | operator<< (ostream &, const Base_vect &) |
| Display. | |
()
Definition at line 98 of file base_vect.h.
|
|
Standard constructor.
Definition at line 80 of file base_vect.C. References set_name(). |
|
|
Standard constructor with name.
Definition at line 88 of file base_vect.C. References set_name(). |
|
|
Copy constructor.
Definition at line 97 of file base_vect.C. References name, and set_name(). |
|
|
Constructor from a file.
This constructor is protected because any Definition at line 105 of file base_vect.C. References name. |
|
|
Destructor.
Definition at line 116 of file base_vect.C. |
|
|
Construction of a vectorial basis from a file (see
Definition at line 77 of file base_vect_from_file.C. References fread_be(). |
|
|
Change the basis in which the components of a tensor are expressed.
Implemented in Base_vect_cart, and Base_vect_spher. |
|
|
Returns the basis name.
Definition at line 133 of file base_vect.C. References name. |
|
|
Returns a number to identify the sub-classe of
Implemented in Base_vect_cart, and Base_vect_spher. |
|
|
Comparison operator (difference).
Definition at line 167 of file base_vect.C. |
|
|
Assignement operator (not implemented).
|
|
|
Comparison operator (egality).
Implemented in Base_vect_cart, and Base_vect_spher. |
|
|
Operator >>.
Implemented in Base_vect_cart, and Base_vect_spher. |
|
|
Save in a file.
Reimplemented in Base_vect_cart, and Base_vect_spher. Definition at line 143 of file base_vect.C. References fwrite_be(), identify(), and name. |
|
|
Sets the basis name.
Definition at line 127 of file base_vect.C. References name. |
|
||||||||||||
|
Display.
Definition at line 155 of file base_vect.C. |
|
|
Name of the basis.
Definition at line 103 of file base_vect.h. |
1.4.6