C++ main module for emicrom Package  1.0
EMM_4SymmetricTensors.h
Go to the documentation of this file.
1 #ifndef EMM_4SymmetricTensor_H
2 #define EMM_4SymmetricTensor_H
3 
4 #include "EMM_4Tensors.h"
5 
18 
19 
21 
22  // ATTRIBUTES
23 
24 
25 public:
26 
27 
28 private:
29 
30 
31 
32 
33 public:
34  // METHODS
35 
36  // CONSTRUCTORS
37 
41 
42 
43 
44 
45  // DESTRUCTORS
46 
47 
50  virtual ~EMM_4SymmetricTensors(void);
51 public:
52 
53  // CONSTRUCTORS
54 
55 
56  // CONSTRUCTORS
60  inline static SP::EMM_4SymmetricTensors New() {
61  SP::EMM_4SymmetricTensors ret(new EMM_4SymmetricTensors(),
63  ret->setThis(ret);
64  return ret;
65  };
66 
70  virtual SP::EMM_Tensors NewInstance() const {
71  return New();
72  }
73 
74  //operator
75 public:
76 
77 
78 
79 
80 public:
81 
82 
83  //SET methods
84 
85 protected:
86 
87 
88 public:
89 
90 
91 
92  // GET methods
93 public:
94 
95 
96 
97 
98 
99  //ALGEBRIC Methods
100  //=================
101 
102 
103  // Tensor methods
104  // ===============
105 
113  virtual SP::EMM_2PackedSymmetricTensors doubleDot(const EMM_2PackedSymmetricTensors& B) const;
114 
115 
123  virtual void doubleDot(const EMM_2PackedSymmetricTensors& B,EMM_2PackedSymmetricTensors& C) const;
124 
125 
134  virtual SP::EMM_4Tensors doubleDot(const EMM_4SymmetricTensors& B) const;
135 
136 
137 
138 
139 
149  virtual SP::EMM_4Tensors squaredDoubleDot(const EMM_4SymmetricTensors& B,const EMM_4SymmetricTensors& C) const;
150 
160  virtual SP::EMM_4SymmetricTensors squaredDoubleDot(const EMM_4SymmetricTensors& B) const;
161 
162 
163 
164 
165 
166 };
167 
168 #endif
This class describes a morse array of symmetric tensors of 4 order.
Definition: EMM_4SymmetricTensors.h:17
EMM_4SymmetricTensors()
create a tendor
Definition: EMM_4SymmetricTensors.cpp:8
SP_OBJECT(EMM_4SymmetricTensors)
virtual SP::EMM_2PackedSymmetricTensors doubleDot(const EMM_2PackedSymmetricTensors &B) const
compute T:B=C where B is 2-order packed symmetric tensors and T is This
Definition: EMM_4SymmetricTensors.cpp:18
virtual ~EMM_4SymmetricTensors(void)
destroy
Definition: EMM_4SymmetricTensors.cpp:14
This class describes a morse array of symmetric tensors of 2 order in packed form.
Definition: EMM_2PackedSymmetricTensors.h:20
static SP::EMM_4SymmetricTensors New()
builds a full tensor
Definition: EMM_4SymmetricTensors.h:60
This class describes a morse array of tensors of 4 order.
Definition: EMM_4Tensors.h:19
virtual SP::EMM_Tensors NewInstance() const
create a new instance
Definition: EMM_4SymmetricTensors.h:70
DEFINE_SPTR(EMM_4SymmetricTensors)
virtual SP::EMM_4Tensors squaredDoubleDot(const EMM_4SymmetricTensors &B, const EMM_4SymmetricTensors &C) const
compute (T:B):C=D where B & C are 4-order tensors and T is This
Definition: EMM_4SymmetricTensors.cpp:399
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:141