BALL 1.5.0
Loading...
Searching...
No Matches
BALL::ClearChargeProcessor Class Reference

#include <BALL/STRUCTURE/defaultProcessors.h>

Inheritance diagram for BALL::ClearChargeProcessor:
BALL::UnaryProcessor< Atom > BALL::UnaryFunctor< ArgumentType, ResultType >

Public Member Functions

virtual Processor::Result operator() (Atom &atom)
 Sets the charge to zero.
Public Member Functions inherited from BALL::UnaryProcessor< Atom >
 UnaryProcessor ()
 UnaryProcessor (const UnaryProcessor &)
virtual ~UnaryProcessor ()
virtual bool start ()
virtual bool finish ()

Additional Inherited Members

Public Types inherited from BALL::UnaryFunctor< ArgumentType, ResultType >
typedef ResultType result_type
typedef ArgumentType argument_type
typedef ArgumentType & argument_reference
typedef const ArgumentType & const_argument_reference
typedef ArgumentType * argument_pointer
typedef const ArgumentType * const_argument_pointer

Detailed Description

Clears the charge on all atoms

Definition at line 33 of file defaultProcessors.h.

Member Function Documentation

◆ operator()()

virtual Processor::Result BALL::ClearChargeProcessor::operator() ( Atom & atom)
virtual

Sets the charge to zero.

Reimplemented from BALL::UnaryProcessor< Atom >.