|
Reference documentation for deal.II version 9.2.0
|
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\)
\(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\)
\(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\)
\(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Go to the documentation of this file.
16 #ifndef dealii_base_parameter_acceptor_h
17 #define dealii_base_parameter_acceptor_h
26 #include <boost/signals2/signal.hpp>
404 const std::string &output_filename =
"",
495 std::vector<std::string>
507 template <
class ParameterType>
510 ParameterType & parameter,
511 const std::string & documentation =
"",
539 static std::vector<SmartPointer<ParameterAcceptor>>
class_list;
547 static const char sep =
'/';
607 template <
class SourceClass>
616 template <
typename... Args>
637 template <
class ParameterType>
640 ParameterType & parameter,
641 const std::string & documentation,
652 template <
class SourceClass>
653 template <
typename... Args>
655 const std::string §ion_name,
663 template <
class SourceClass>
667 SourceClass::declare_parameters(prm);
672 template <
class SourceClass>
676 SourceClass::parse_parameters(prm);
static void parse_all_parameters(ParameterHandler &prm=ParameterAcceptor::prm)
virtual void parse_parameters(ParameterHandler &prm)
boost::signals2::signal< void()> parse_parameters_call_back
void enter_my_subsection(ParameterHandler &prm)
virtual void parse_parameters(ParameterHandler &prm) override
static std::vector< SmartPointer< ParameterAcceptor > > class_list
static void declare_all_parameters(ParameterHandler &prm=ParameterAcceptor::prm)
void add_parameter(const std::string &entry, ParameterType ¶meter, const std::string &documentation="", ParameterHandler &prm_=prm, const Patterns::PatternBase &pattern= *Patterns::Tools::Convert< ParameterType >::to_pattern())
boost::signals2::signal< void()> declare_parameters_call_back
ParameterAcceptor(const std::string §ion_name="")
static void initialize(const std::string &filename="", const std::string &output_filename="", const ParameterHandler::OutputStyle output_style_for_output_filename=ParameterHandler::Short, ParameterHandler &prm=ParameterAcceptor::prm, const ParameterHandler::OutputStyle output_style_for_filename=ParameterHandler::DefaultStyle)
#define DEAL_II_NAMESPACE_OPEN
virtual ~ParameterAcceptor() override
std::string get_section_name() const
std::vector< std::string > get_section_path() const
static ParameterHandler prm
virtual void declare_parameters(ParameterHandler &prm)
const std::string section_name
void add_parameter(const std::string &entry, ParameterType ¶meter, const std::string &documentation="", const Patterns::PatternBase &pattern= *Patterns::Tools::Convert< ParameterType >::to_pattern(), const bool has_to_be_set=false)
#define DEAL_II_NAMESPACE_CLOSE
ParameterAcceptorProxy(const std::string §ion_name, Args... args)
void leave_my_subsection(ParameterHandler &prm)
virtual void declare_parameters(ParameterHandler &prm) override
const unsigned int acceptor_id