Skip to content

Commit 0d79784

Browse files
committed
remove parse_args in Mesh_base constructor
1 parent a770232 commit 0d79784

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

include/samurai/mesh.hpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -288,8 +288,6 @@ namespace samurai
288288
Mesh_base<D, Config>::Mesh_base(const mesh_config<Config::dim>& config, const samurai::DomainBuilder<dim>& domain_builder)
289289
: m_config(config)
290290
{
291-
m_config.parse_args();
292-
293291
if (std::any_of(config.periodic().begin(),
294292
config.periodic().end(),
295293
[](bool b)
@@ -336,9 +334,6 @@ namespace samurai
336334
inline Mesh_base<D, Config>::Mesh_base(const mesh_config<Config::dim>& config, const cl_type& cl)
337335
: m_config(config)
338336
{
339-
m_config.parse_args();
340-
m_config.periodic().fill(false);
341-
342337
this->m_cells[mesh_id_t::cells] = {cl};
343338

344339
construct_subdomain();
@@ -357,9 +352,6 @@ namespace samurai
357352
inline Mesh_base<D, Config>::Mesh_base(const mesh_config<Config::dim>& config, const ca_type& ca)
358353
: m_config{config}
359354
{
360-
m_config.parse_args();
361-
m_config.periodic().fill(false);
362-
363355
this->m_cells[mesh_id_t::cells] = ca;
364356

365357
construct_subdomain();

0 commit comments

Comments
 (0)