Skip to content

move to functions private #155

@jacobmerson

Description

@jacobmerson

Noting the comment in the following code, these functions should be made private. The issue with "enclosing lambdas" can be resolved by using a functor instead of a lambda.

void constructPICPart(Omega_h::Mesh& mesh, Omega_h::CommPtr comm,
Omega_h::LOs owner,
Omega_h::Write<Omega_h::LO> has_part,
Omega_h::Write<Omega_h::LO> is_safe,
bool render = false);
//Communication setup
void setupComm(int dim, Omega_h::LOs global_ents_per_rank,
Omega_h::LOs picpart_ents_per_rank,
Omega_h::LOs ent_owners);
//Friend the read/write functions to
friend void write(Mesh& picparts, const char* prefix);
friend void read(Omega_h::Library* library, Omega_h::CommPtr comm,
const char* prefix, Mesh* picparts);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions