LAMA
/home/brandes/workspace/LAMA/src/lama/solver/creator/SolverCreator.hpp File Reference

SolverCreator.hpp. More...

#include <lama/config.hpp>
#include <lama/solver/Solver.hpp>
#include <lama/macros/unique_name.hpp>
#include <lama/solver/creator/Creator.hpp>
#include <boost/spirit/include/qi.hpp>
#include <string>

Go to the source code of this file.

Data Structures

class  lama::SolverCreator
 SolverCreator: base of the Solver Registry. More...

Namespaces

namespace  lama
 

The namespace lama holds everything of the C++ Library lama.


Defines

#define LAMA_PARAMETER_ENTRY(key, grammarInput, instance, className, setterFunction)
#define LAMA_SOLVERCREATOR_REGISTRATION(creatorType)
 Registrates the given type.

Detailed Description

SolverCreator.hpp.

Author:
Kai Buschulte
Date:
06.06.2012 $Id$

Define Documentation

#define LAMA_PARAMETER_ENTRY (   key,
  grammarInput,
  instance,
  className,
  setterFunction 
)
Value:
-( lit(key)                                                                                       \
 >> lit('=')                                                                                       \
 >> grammarInput                                                                                   \
        [ phoenix::bind(&className::setterFunction, *dynamic_cast_<className*>( instance ), _1 ) ] \
 >> lit(';') )

Referenced by lama::GMRESCreator::GMRESCreator(), lama::IterativeSolverCreator::IterativeSolverCreator(), lama::OmegaSolverCreator::OmegaSolverCreator(), lama::SimpleAMGCreator::SimpleAMGCreator(), and lama::SolverCreator::SolverCreator().

#define LAMA_SOLVERCREATOR_REGISTRATION (   creatorType)
Value:
static lama::creatorType                           \
    LAMA_UNIQUE_NAME( solRegObj, creatorType )(creatorType::id())

Registrates the given type.