Hermes2D  3.0
mixins2d.cpp
1 // This file is part of Hermes2D.
2 //
3 // Hermes2D is free software; you can redistribute it and/or modify
4 // it under the terms of the GNU General Public License as published by
5 // the Free Software Foundation; either version 2 of the License, or
6 // (at your option) any later version.
7 //
8 // Hermes is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 // GNU General Public License for more details.
12 //
13 // You should have received a copy of the GNU General Public License
14 // along with Hermes; if not, see <http://www.gnu.prg/licenses/>.
15 #include "mixins2d.h"
16 
17 namespace Hermes
18 {
19  namespace Hermes2D
20  {
21  namespace Mixins
22  {
23  XMLParsing::XMLParsing() : validate(false)
24  {
25  }
26 
27  void XMLParsing::set_validation(bool to_set)
28  {
29  this->validate = to_set;
30  }
31 
32  Parallel::Parallel() : num_threads_used(HermesCommonApi.get_integral_param_value(numThreads))
33  {
34  }
35  }
36  }
37 }
Definition: adapt.h:24
void set_validation(bool to_set)
Set to validate / not to validate.
Definition: mixins2d.cpp:27