casa::SynthesisNormalizerMixin< T > Class Template Reference

Simple mixin class to put SynthesisNormalizer into ParallelImagerMixin framework. More...

#include <SynthesisNormalizerMixin.h>

List of all members.

Public Member Functions

void normalize_psf ()
void normalize_model ()
void normalize_residual ()
void denormalize_model ()
void reduce_weight_density ()

Protected Member Functions

void setup_normalizer (MPI_Comm comm, std::vector< Record > &norm_pars)
void teardown_normalizer ()

Private Attributes

std::vector< std::shared_ptr
< SynthesisNormalizer > > 
normalizers

Detailed Description

template<class T>
class casa::SynthesisNormalizerMixin< T >

Simple mixin class to put SynthesisNormalizer into ParallelImagerMixin framework.

Definition at line 47 of file SynthesisNormalizerMixin.h.


Member Function Documentation

template<class T >
void casa::SynthesisNormalizerMixin< T >::denormalize_model (  )  [inline]
template<class T >
void casa::SynthesisNormalizerMixin< T >::normalize_model (  )  [inline]
template<class T >
void casa::SynthesisNormalizerMixin< T >::normalize_psf (  )  [inline]
template<class T >
void casa::SynthesisNormalizerMixin< T >::normalize_residual (  )  [inline]
template<class T >
void casa::SynthesisNormalizerMixin< T >::reduce_weight_density (  )  [inline]
template<class T >
void casa::SynthesisNormalizerMixin< T >::setup_normalizer ( MPI_Comm  comm,
std::vector< Record > &  norm_pars 
) [inline, protected]

Create all normalizer components on rank 0 of comm. TODO: Could we distribute normalizers in a round-robin fashion across processes in comm?

FIXME: check whether we're to remove any files or directories in addition to those provided in "partimagenames", i.e, those with file name extensions

To ensure restarts work correctly, remove existing files.

Definition at line 55 of file SynthesisNormalizerMixin.h.

References casa::SynthesisNormalizerMixin< T >::normalizers, casa::SynthesisNormalizer::setupNormalizer(), and casa::SynthesisNormalizerMixin< T >::teardown_normalizer().

template<class T >
void casa::SynthesisNormalizerMixin< T >::teardown_normalizer (  )  [inline, protected]

Member Data Documentation

template<class T >
std::vector< std::shared_ptr<SynthesisNormalizer> > casa::SynthesisNormalizerMixin< T >::normalizers [private]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1