Commit e3c041d1 authored by GILLES Sebastien's avatar GILLES Sebastien

#859 Cosmetics.

parent c6e81db1
......@@ -23,11 +23,11 @@ namespace MoReFEM
template<class TupleT>
InputData<TupleT>::InputData(const std::string& filename,
const Wrappers::Mpi& mpi,
Utilities::InputDataNS::DoTrackUnusedFields do_track_unused_fields)
const Wrappers::Mpi& mpi,
Utilities::InputDataNS::DoTrackUnusedFields do_track_unused_fields)
: Utilities::InputDataNS::Base<InputData, TupleT>(filename,
mpi,
do_track_unused_fields)
mpi,
do_track_unused_fields)
{
// \todo Deactivated for the moment, see #167
// CheckVariableConsistency();
......
......@@ -44,7 +44,8 @@ namespace MoReFEM
if (!is_initialized)
throw ExceptionNS::MpiNotInitialized(__FILE__, __LINE__);
static_assert(Utilities::IsSpecializationOf<std::tuple, TupleT>::value, "Template argument is expected to be a std::tuple.");
static_assert(Utilities::IsSpecializationOf<std::tuple, TupleT>::value,
"Template argument is expected to be a std::tuple.");
CheckNoDuplicateKeysInTuple();
......@@ -62,6 +63,7 @@ namespace MoReFEM
Base<DerivedT, TupleT>::~Base()
{ }
template<class DerivedT, class TupleT>
constexpr std::size_t Base<DerivedT, TupleT>::Size()
{
......@@ -190,8 +192,6 @@ namespace MoReFEM
}
template<class DerivedT, class TupleT>
void Base<DerivedT, TupleT>::CheckNoDuplicateKeysInTuple() const
{
......@@ -204,7 +204,6 @@ namespace MoReFEM
}
template<class DerivedT, class TupleT>
void Base<DerivedT, TupleT>::CheckUnboundInputData(const std::string& filename,
DoTrackUnusedFields do_track_unused_fields) const
......
......@@ -54,9 +54,9 @@ namespace MoReFEM
* - End parameter, which values are read fron the input file and stored.
* - Sections, that in turn may contain other sections and/or end parameters.
*
* The purpose of current class is to handle each of these cases. If this is a section, another TupleIteration
* is called to deal with tuple related to this section. Once it's done, work upon the first tuple
* is resumed.
* The purpose of current class is to handle each of these cases. If this is a section, another
* TupleIteration is called to deal with tuple related to this section. Once it's done, work upon the first
* tuple is resumed.
*
* \tparam TupleEltTypeT SectionOrParameter should be called only by TupleIteration template class;
* each of this call is on one of its tuple element, which type is given by current template parameter.
......@@ -230,7 +230,8 @@ namespace MoReFEM
static void Fill(const InputDataT* input_data, LuaOptionFile* , TupleT& );
static void PrepareDefaultEntries(std::vector<std::pair<std::string, std::string>>& parameter_block_per_identifier);
static void PrepareDefaultEntries(std::vector<std::pair<std::string, std::string>>&
parameter_block_per_identifier);
static void PrintKeys(std::ostream& stream);
......
......@@ -331,8 +331,6 @@ namespace MoReFEM
}
template
<
class TupleT,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment