preCICE v3.1.1
Loading...
Searching...
No Matches
Functions
precice::com::impl Namespace Reference

Functions

std::string hashedFilePath (std::string_view acceptorName, std::string_view requesterName, std::string_view meshName, Rank rank)
 Returns the file name for the connection information.
 
std::string localDirectory (std::string_view acceptorName, std::string_view requesterName, std::string_view addressDirectory)
 

Function Documentation

◆ hashedFilePath()

std::string precice::com::impl::hashedFilePath ( std::string_view acceptorName,
std::string_view requesterName,
std::string_view meshName,
Rank rank )

Returns the file name for the connection information.

It has the form first two letters from hash of (acceptorName, requesterName, mesh, rank)/rest of hash.

Definition at line 37 of file ConnectionInfoPublisher.cpp.

Here is the call graph for this function:

◆ localDirectory()

std::string precice::com::impl::localDirectory ( std::string_view acceptorName,
std::string_view requesterName,
std::string_view addressDirectory )

Returns the local directory which is the root for storing connection information. It has the form addressDirectory/precice-run/acceptorName-requesterName

Definition at line 49 of file ConnectionInfoPublisher.cpp.

Here is the call graph for this function: