www.mooseframework.org
Functions
LibmeshPartitioner.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< LibmeshPartitioner > ()
 

Function Documentation

Definition at line 28 of file LibmeshPartitioner.C.

29 {
31  MooseEnum partitioning(
32  "metis=-2 parmetis=-1 linear=0 centroid hilbert_sfc morton_sfc subdomain_partitioner");
34  "partitioner",
35  partitioning,
36  "Specifies a mesh partitioner to use when splitting the mesh for a parallel computation.");
37  MooseEnum direction("x y z radial");
38  params.addParam<MooseEnum>("centroid_partitioner_direction",
39  direction,
40  "Specifies the sort direction if using the centroid partitioner. "
41  "Available options: x, y, z, radial");
42  params.addParam<std::vector<std::vector<SubdomainName>>>(
43  "blocks", "Block is seperated by ;, and partition mesh block by block. ");
44  return params;
45 }
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
void addRequiredParam(const std::string &name, const std::string &doc_string)
This method adds a parameter and documentation string to the InputParameters object that will be extr...
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
Definition: MooseEnum.h:37
void addParam(const std::string &name, const S &value, const std::string &doc_string)
These methods add an option parameter and a documentation string to the InputParameters object...
InputParameters validParams< MoosePartitioner >()