Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/pcms/create_field.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace pcms

std::unique_ptr<FieldLayout> CreateLagrangeLayout(
Omega_h::Mesh& mesh, int order, int num_components,
CoordinateSystem coordinate_system)
CoordinateSystem coordinate_system, std::string global_id_name)
{

std::array<int, 4> nodes_per_dim;
Expand All @@ -21,7 +21,7 @@ std::unique_ptr<FieldLayout> CreateLagrangeLayout(
}

return std::make_unique<OmegaHFieldLayout>(mesh, nodes_per_dim,
num_components, coordinate_system);
num_components, coordinate_system, global_id_name);
}

} // namespace pcms
3 changes: 2 additions & 1 deletion src/pcms/create_field.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ namespace pcms
{
std::unique_ptr<FieldLayout> CreateLagrangeLayout(
Omega_h::Mesh& mesh, int order, int num_components,
CoordinateSystem coordinate_system);
CoordinateSystem coordinate_system,
std::string global_id_name="global");
} // namespace pcms

#endif // CREATE_FIELD_H_