clipper::CGrid_sampling Class Reference

CGrid_sampling container. More...

#include <container_types.h>

Inheritance diagram for clipper::CGrid_sampling:

clipper::Container clipper::Grid_sampling clipper::Grid clipper::Vec3< int >

List of all members.

Public Member Functions

 CGrid_sampling (const String name="", const Grid_sampling &grid=NullGrid_sampling)
 constructor: make null object or top object in tree
 CGrid_sampling (Container &parent, const String name="", const ftype rate=1.5)
 constructor: make child object
 CGrid_sampling (Container &parent, const String name, const Grid_sampling &grid)
 constructor: make child object with explicit value
void init (const Spacegroup &spacegroup, const Cell &cell, const Resolution &resolution, const ftype rate)
 initialiser: from sampling rate
void init (const Grid_sampling &grid_sampling_)
 initialiser: from Grid_sampling
void update ()
 hierarchical update


Detailed Description

CGrid_sampling container.

CGrid_sampling: This has a name and a grid sampling It overrides the grid sampling for any objects below it.


Constructor & Destructor Documentation

clipper::CGrid_sampling::CGrid_sampling ( const String  name = "",
const Grid_sampling grid = NullGrid_sampling 
)

constructor: make null object or top object in tree

The top object in a tree is initialised from a known grid.

Parameters:
name The object name.
grid The grid sampling.

clipper::CGrid_sampling::CGrid_sampling ( Container parent,
const String  name = "",
const ftype  rate = 1.5 
)

constructor: make child object

The normal form for a child object - spacegroup and cell inherited.

Parameters:
parent The objects parent.
name The object name.
rate The Shannon rate (default 1.5).

clipper::CGrid_sampling::CGrid_sampling ( Container parent,
const String  name,
const Grid_sampling grid 
)

constructor: make child object with explicit value

This is still a child object but is initialised directly.

Parameters:
parent The objects parent.
name The object name.
grid The grid sampling.


Member Function Documentation

void clipper::CGrid_sampling::init ( const Spacegroup spacegroup,
const Cell cell,
const Resolution resolution,
const ftype  rate 
)

initialiser: from sampling rate

The object is initialised if the appropriate parent objects are available, and children are updated.

Parameters:
spacegroup The spacegroup.
cell The cell.
resolution The resolution.
rate_ The Shannon rate (If <1 previous value is used, default 1.5).

Reimplemented from clipper::Grid_sampling.

void clipper::CGrid_sampling::init ( const Grid_sampling grid_sampling_  ) 

initialiser: from Grid_sampling

The object is initialised, and children are updated.

Parameters:
grid_sampling_ The value to give to the contained object.

void clipper::CGrid_sampling::update (  )  [virtual]

hierarchical update

Hierarchical update. If this object is uninitialised, an attempt is made to initialise the object using information from its parents in the hierarchy. The childen of the object are then updated.

Reimplemented from clipper::Container.


The documentation for this class was generated from the following files:

Generated on Fri Jun 12 18:03:40 2009 for Clipper by  doxygen 1.5.9