#include "b2solution.H"
Abstract base class to hold all gradient data corresponding to a single solution of a complete FE model. The data items are distinguished by their kind (see FieldDescription), by the Element to which they belong, and by the element-internal position (see InternalElementPosition).
◆ compute_field_value()
virtual bool b2000::GradientContainer::compute_field_value |
( |
const std::string & |
name | ) |
const |
|
inlinevirtual |
Returns true if gradient data has been inserted. This function must be overridden in derived classes.
◆ set_current_element()
virtual bool b2000::GradientContainer::set_current_element |
( |
const Element & |
e | ) |
|
|
pure virtual |
◆ set_current_position()
virtual void b2000::GradientContainer::set_current_position |
( |
const InternalElementPosition & |
pos, |
|
|
const double |
volume = 0 |
|
) |
| |
|
pure virtual |
◆ set_current_volume()
virtual void b2000::GradientContainer::set_current_volume |
( |
const double |
volume | ) |
|
|
pure virtual |
Tells the GradientContainer object what is the current volume inside the current Finite Element. This function must by called by the property object when the volume is not known by the element itself. This could be possible with some implementation of structure element.
◆ set_failure_index()
virtual void b2000::GradientContainer::set_failure_index |
( |
const double |
failure_index | ) |
|
|
inlinevirtual |
Set the value for the failure index at the current position.
◆ set_field_value() [1/4]
virtual void b2000::GradientContainer::set_field_value |
( |
const FieldDescription & |
descr, |
|
|
const b2000::csda< double > * |
value |
|
) |
| |
|
inlinevirtual |
Inserts an array of csda floating-point values at the current position.
- Parameters
-
descr | Describes the kind of data. |
value | A pointer to the array containing the data to store. The length of the array must be equal to descr.nb_comp. |
◆ set_field_value() [2/4]
virtual void b2000::GradientContainer::set_field_value |
( |
const FieldDescription & |
descr, |
|
|
const double * |
value |
|
) |
| |
|
inlinevirtual |
Inserts an array of real floating-point values at the current position.
- Parameters
-
descr | Describes the kind of data. |
value | A pointer to the array containing the data to store. The length of the array must be equal to descr.nb_comp. |
◆ set_field_value() [3/4]
virtual void b2000::GradientContainer::set_field_value |
( |
const FieldDescription & |
descr, |
|
|
const int * |
value |
|
) |
| |
|
inlinevirtual |
Inserts an array of integer values at the current position.
- Parameters
-
descr | Describes the kind of data. |
value | A pointer to the integer array containing the data to store. The length of the array must be equal to descr.nb_comp. |
◆ set_field_value() [4/4]
virtual void b2000::GradientContainer::set_field_value |
( |
const FieldDescription & |
descr, |
|
|
const std::complex< double > * |
value |
|
) |
| |
|
inlinevirtual |
Inserts an array of complex floating-point values at the current position.
- Parameters
-
descr | Describes the kind of data. |
value | A pointer to the array containing the data to store. The length of the array must be equal to descr.nb_comp. |
The documentation for this class was generated from the following file: