Vulpes  0.1.0
Versatile and parallel compUtational Library for high-order discontinuous Polytopal Element Simulations
Loading...
Searching...
No Matches
vulpes Namespace Reference

Namespaces

namespace  assemble
namespace  scipy
namespace  datastructure
namespace  dofs
namespace  fe
namespace  geometry
namespace  qfree
namespace  la
namespace  polynomial
namespace  monomial
namespace  postprocessing
namespace  qrule
namespace  timeintegration
namespace  vutils
namespace  io
namespace  mpi
namespace  utils
namespace  random
namespace  vmath
namespace  vvutils

Functions

std::string getVulpesRoot ()
template<typename Container>
std::ostream & print (std::ostream &os, const Container &container, const std::string &separator=",", const std::string &postpend="\n", const std::string &prepend="")
 Print a container's elements to a stream, separated and wrapped by the given strings.
template<typename Container>
std::enable_if< vvutils::internal::is_printable_container< Container >::value, std::ostream & >::type operator<< (std::ostream &os, const Container &container)
 Stream a std::vector, std::set, or std::array via print().

Function Documentation

◆ getVulpesRoot()

std::string vulpes::getVulpesRoot ( )
inline

Returns the vulpes repository root directory. Priority: VULPES_ROOT env var (if set and non-empty), then the path baked in at CMake configure time via VULPES_SOURCE_DIR.

◆ operator<<()

template<typename Container>
std::enable_if< vvutils::internal::is_printable_container< Container >::value, std::ostream & >::type vulpes::operator<< ( std::ostream & os,
const Container & container )

Stream a std::vector, std::set, or std::array via print().

Template Parameters
ContainerA std::vector, std::set, or std::array.
Parameters
osOutput stream to write to.
containerThe container to print.
Returns
os, for chaining.

◆ print()

template<typename Container>
std::ostream & vulpes::print ( std::ostream & os,
const Container & container,
const std::string & separator = ",",
const std::string & postpend = "\n",
const std::string & prepend = "" )

Print a container's elements to a stream, separated and wrapped by the given strings.

Template Parameters
ContainerAny type exposing begin()/end() over streamable elements.
Parameters
osOutput stream to write to.
containerThe container whose elements are printed.
separatorString inserted between consecutive elements.
postpendString appended after the last element.
prependString written before the first element.
Returns
os, for chaining.