base Struct Template Reference

#include <standard_xray.h>

Inheritance diagram for base:

core in_generic_space_group in_origin_centric_space_group

List of all members.

Public Member Functions

 base (sgtbx::space_group const &space_group, miller::index<> const &h, float_type d_star_sq, ExpI2PiFunctor const &exp_i_2pi_functor)
void compute (scatterer_type const &scatterer, float_type f0)

Public Attributes

 SMTBX_STRUCTURE_FACTORS_DIRECT_TYPEDEFS
hr_ht_cache< float_type > hr_ht
float_type d_star_sq
ExpI2PiFunctor const & exp_i_2pi


Detailed Description

template<typename FloatType, class ExpI2PiFunctor, class Heir>
struct smtbx::structure_factors::direct::one_scatterer_one_h_linearisation::base< FloatType, ExpI2PiFunctor, Heir >

Base class for the linearisation of the structure factor for one scatterer for a given Miller index.

Constructor & Destructor Documentation

base ( sgtbx::space_group const &  space_group,
miller::index<> const &  h,
float_type  d_star_sq,
ExpI2PiFunctor const &  exp_i_2pi_functor 
) [inline]

Construct the linearisation for the given h in the given space-group.

The functor exp_i_2pi_functor will be used to compute exp( i 2pi h.x ).


Member Function Documentation

void compute ( scatterer_type const &  scatterer,
float_type  f0 
) [inline]

Compute the structure factor of the given scatterer and its gradients wrt to the crystallographic parameters of that scatterer.

The argument f0 is the elastic form factor for that type of chemical element at the miller index at hand.


The documentation for this struct was generated from the following file:

Generated on Tue Sep 1 17:12:36 2009 for cctbx by  doxygen 1.5.6