Specifies projection weights that are the same (usually 1) for all projections.
More...
#include <latticetester/WeightsUniform.h>
|
virtual void | format (std::ostream &os) const |
| Identifies the type of weights, formats them and outputs them on os .
|
|
|
std::ostream & | operator<< (std::ostream &os, const Weights &o) |
| Identifies the type of weights, formats them and outputs them on os .
|
|
Specifies projection weights that are the same (usually 1) for all projections.
◆ WeightsUniform()
LatticeTester::WeightsUniform::WeightsUniform |
( |
Weight | weight | ) |
|
|
inlineexplicit |
Constructs uniform weights.
- Parameters
-
weight | Weight given to all projections. |
◆ ~WeightsUniform()
virtual LatticeTester::WeightsUniform::~WeightsUniform |
( |
| ) |
|
|
inlinevirtual |
◆ format()
virtual void LatticeTester::WeightsUniform::format |
( |
std::ostream & | os | ) |
const |
|
inlineprotectedvirtual |
Identifies the type of weights, formats them and outputs them on os
.
Subclasses that implement Weights should identify themselves in the output.
Implements LatticeTester::Weights.
◆ getWeight()
virtual Weight LatticeTester::WeightsUniform::getWeight |
( |
const Coordinates & | | ) |
const |
|
inlinevirtual |
◆ m_weight
Weight LatticeTester::WeightsUniform::m_weight |
|
protected |
The documentation for this class was generated from the following file: