|
Smith
0.1
Smith is an implicit thermal structural mechanics simulation code.
|
temporary object to register the multiplication of a gretl::State<double> with a FieldState. Casts back More...
#include <field_state.hpp>
Public Member Functions | |
| FieldStateWeightedSum (const std::vector< double > &w, const std::vector< FieldState > &f) | |
| construct from double weights, and fields | |
| FieldStateWeightedSum (const std::vector< gretl::State< double >> &w, const std::vector< FieldState > &f, double initial_scaling) | |
| construct from State<double> weights, and fields | |
| FieldStateWeightedSum (const FieldStateWeightedSum &old)=default | |
| default copy | |
| FieldStateWeightedSum & | operator= (const FieldStateWeightedSum &old)=default |
| default assignment | |
| FieldStateWeightedSum & | operator+= (const FieldStateWeightedSum &b) |
| add another weighted sum in place | |
| FieldStateWeightedSum & | operator-= (const FieldStateWeightedSum &b) |
| subtract another weighted sum in place | |
| FieldStateWeightedSum & | operator*= (double weight) |
| mulitply by a fixed scalar | |
| FieldStateWeightedSum | operator- () const |
| negate | |
| operator FieldState () const | |
| conversion operator to a FieldState | |
Public Attributes | |
| std::vector< double > | weights_ |
| non-differentiable weights | |
| std::vector< FieldState > | weighted_fields_ |
| fields to weight by non-differentiable weights | |
| std::vector< gretl::State< double > > | differentiable_weights_ |
| differentiable weights | |
| std::vector< FieldState > | differentiably_weighted_fields_ |
| fields to weight by differentiable weights | |
| std::vector< double > | differentiable_scale_factors_ |
| flag differentiable weights to be negated | |
temporary object to register the multiplication of a gretl::State<double> with a FieldState. Casts back
Definition at line 103 of file field_state.hpp.