src/Level2/BaseDecomp.cc
// Input                dec     : Decomposition (this)
//                      Opname  : Name of a basis operator
// Output               Op      : The base operator with
//				  the name Opname 
Input                dec     : Decomposition (this)
Opname  : Name of a basis operator
Output               Op      : The base operator with
the name Opname
Input dec : Decomposition ( this ) Opname : Name of a basis operator Output Op : The base operator with the name Opname
gen_op decomp::Op(const std::string& Opname) const
  {
  int i = index(Opname);		
  if(i != -1) return BaseOps[i];	
  ODfatal(9);				
  return complex0*BaseOps[0];
  }
gen_op decomp :: Op ( const std :: string & Opname ) const { int i = index ( Opname ) ; if ( i != -1 ) return BaseOps [ i ] ; ODfatal ( 9 ) ; return complex0 * BaseOps [ 0 ] ; }
Input                dec     : Decomposition (this)
Opname  : Name of a basis operator
Output               Op      : The base operator with
the name Opname
Input dec : Decomposition ( this ) Opname : Name of a basis operator Output Op : The base operator with the name Opname
// Get base index // If good, return Op // If no good, quit