Skip to content

Commit

Permalink
Re #9341. Add missing parameter documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
RussellTaylor committed Apr 16, 2014
1 parent cf2b470 commit f2f7b46
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
Expand Up @@ -25,6 +25,8 @@ namespace Geometry
* reduced cell.
* @param form_num The row number from Table 2, that specifies the
* reduced form number.
* @param allowPermutations Allow permutations of conventional cells for
* related UBs with better fit to peaks.
*/
ConventionalCell::ConventionalCell( const Kernel::DblMatrix & UB,
size_t form_num,
Expand Down Expand Up @@ -171,7 +173,9 @@ namespace Geometry
* for UB and form number zero.
* @param form_i The reduced cell form built with the lattice parameters
* for UB and the form number of the desired conventional
* cell.
* cell.
* @param allowPermutations Allow permutations of conventional cells for
* related UBs with better fit to peaks.
*/
void ConventionalCell::init( const Kernel::DblMatrix & UB,
ReducedCell & form_0,
Expand Down
9 changes: 8 additions & 1 deletion Code/Mantid/Framework/Geometry/src/Crystal/ScalarUtils.cpp
Expand Up @@ -78,12 +78,13 @@ static const std::string BRAVAIS_CENTERING[15] =
* used to form the list of possible conventional cells.
* @param best_only If true, only include the best form for each Bravais
* lattice.
* @param allowPermutations Allow permutations of conventional cells for
* related UBs with better fit to peaks.
*
* @return a vector of conventional cell info objects, corresponding to the
* best matching forms for UB and cells related to UB by reflections
* of pairs of cell edges.
*/

std::vector<ConventionalCell> ScalarUtils::GetCells(
const DblMatrix & UB,
bool best_only ,
Expand Down Expand Up @@ -128,6 +129,8 @@ std::vector<ConventionalCell> ScalarUtils::GetCells(
* ReducedCell class.
* @param centering String specifying the centering, as listed in the
* ReducedCell class.
* @param allowPermutations Allow permutations of conventional cells for
* related UBs with better fit to peaks.
*
* @return a vector of conventional cell objects, for the specified
* cell type and centering, corresponding to the
Expand Down Expand Up @@ -186,6 +189,8 @@ std::vector<ConventionalCell> ScalarUtils::GetCells(
* ReducedCell class.
* @param centering String specifying the centering, as listed in the
* ReducedCell class.
* @param allowPermutations Allow permutations of conventional cells for
* related UBs with better fit to peaks.
* @return a list of conventional cells for the specified UB, of the
* specified type and centering.
*/
Expand Down Expand Up @@ -225,6 +230,8 @@ std::vector<ConventionalCell> ScalarUtils::GetCellsUBOnly(
* @param UB Crystal::Orientation transformation corresponding to a Niggli
* reduced cell.
* @param form_num The form number to use.
* @param allowPermutations Allow permutations of conventional cells for
* related UBs with better fit to peaks.
*
* @return A ConventionalCellInfo object corresponding to the specified
* form number and UB (or a related matrix) with the smallest
Expand Down

0 comments on commit f2f7b46

Please sign in to comment.