SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
meshkit::native_detail Namespace Reference

Classes

struct  Coordinate
 
struct  CoordinateHash
 
class  Input
 
class  Output
 
struct  PreparedPatches
 
class  RegionLimits
 
class  SourceChains
 
struct  Stop
 
class  Transaction
 
struct  Work
 

Functions

bool validPath (const std::filesystem::path &p)
 
void hashBytes (std::uint64_t &hash, const unsigned char *p, std::size_t n)
 
void appendId (std::vector< std::int64_t > &values, std::int64_t id, std::size_t index)
 
void appendMarker (std::vector< std::int32_t > &values, std::int32_t marker, std::size_t index)
 
std::int64_t externalId (const std::vector< std::int64_t > &ids, std::size_t index)
 
std::int64_t signed64 (std::uint64_t bits)
 
std::int32_t signed32 (std::uint64_t bits)
 
void setError (IOReport &r, const Stop &e)
 
void setException (IOReport &r, const std::bad_alloc &)
 
void setException (IOReport &r, const std::exception &e)
 
void validated (const Mesh &mesh, const IOOptions &o)
 
Coordinate coordinate (Point2 p)
 
PreparedPatches preparePatches (const JobRequest &r, const Providers &p, const std::function< double(const Box2 &)> &maximumSize, const std::function< double(const Box2 &)> &tolerance, Work &work, int attempt)
 
void fail (std::string code, std::string message, RunStatus status=RunStatus::Infeasible)
 
std::uint64_t edgeKey (Index a, Index b)
 
Box2 box (const Point2 *p, int n)
 
bool meets (const Box2 &a, const Box2 &b)
 
bool finite (Point2 p)
 
bool utf8 (const std::string &s)
 
double seconds (std::chrono::steady_clock::time_point start)
 

Variables

constexpr std::uint64_t hashSeed = 14695981039346656037ull
 

Function Documentation

◆ appendId()

void meshkit::native_detail::appendId ( std::vector< std::int64_t > &  values,
std::int64_t  id,
std::size_t  index 
)
inline
Here is the caller graph for this function:

◆ appendMarker()

void meshkit::native_detail::appendMarker ( std::vector< std::int32_t > &  values,
std::int32_t  marker,
std::size_t  index 
)
inline
Here is the caller graph for this function:

◆ box()

Box2 meshkit::native_detail::box ( const Point2 *  p,
int  n 
)
inline

◆ coordinate()

Coordinate meshkit::native_detail::coordinate ( Point2  p)
inline
Here is the caller graph for this function:

◆ edgeKey()

std::uint64_t meshkit::native_detail::edgeKey ( Index  a,
Index  b 
)
inline
Here is the caller graph for this function:

◆ externalId()

std::int64_t meshkit::native_detail::externalId ( const std::vector< std::int64_t > &  ids,
std::size_t  index 
)
inline
Here is the caller graph for this function:

◆ fail()

void meshkit::native_detail::fail ( std::string  code,
std::string  message,
RunStatus  status = RunStatus::Infeasible 
)
inline
Here is the caller graph for this function:

◆ finite()

bool meshkit::native_detail::finite ( Point2  p)
inline
Here is the caller graph for this function:

◆ hashBytes()

void meshkit::native_detail::hashBytes ( std::uint64_t &  hash,
const unsigned char *  p,
std::size_t  n 
)
inline
Here is the caller graph for this function:

◆ meets()

bool meshkit::native_detail::meets ( const Box2 &  a,
const Box2 &  b 
)
inline
Here is the caller graph for this function:

◆ preparePatches()

PreparedPatches meshkit::native_detail::preparePatches ( const JobRequest &  r,
const Providers &  p,
const std::function< double(const Box2 &)> &  maximumSize,
const std::function< double(const Box2 &)> &  tolerance,
Work &  work,
int  attempt 
)
inline
Here is the call graph for this function:

◆ seconds()

double meshkit::native_detail::seconds ( std::chrono::steady_clock::time_point  start)
inline
Here is the caller graph for this function:

◆ setError()

void meshkit::native_detail::setError ( IOReport &  r,
const Stop &  e 
)
inline
Here is the caller graph for this function:

◆ setException() [1/2]

void meshkit::native_detail::setException ( IOReport &  r,
const std::bad_alloc &   
)
inline
Here is the caller graph for this function:

◆ setException() [2/2]

void meshkit::native_detail::setException ( IOReport &  r,
const std::exception &  e 
)
inline

◆ signed32()

std::int32_t meshkit::native_detail::signed32 ( std::uint64_t  bits)
inline
Here is the caller graph for this function:

◆ signed64()

std::int64_t meshkit::native_detail::signed64 ( std::uint64_t  bits)
inline
Here is the caller graph for this function:

◆ utf8()

bool meshkit::native_detail::utf8 ( const std::string &  s)
inline
Here is the caller graph for this function:

◆ validated()

void meshkit::native_detail::validated ( const Mesh &  mesh,
const IOOptions &  o 
)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ validPath()

bool meshkit::native_detail::validPath ( const std::filesystem::path &  p)
inline
Here is the caller graph for this function:

Variable Documentation

◆ hashSeed

constexpr std::uint64_t meshkit::native_detail::hashSeed = 14695981039346656037ull
constexpr