IgANet
IgANets - Isogeometric Analysis Networks
Loading...
Searching...
No Matches
getenv.hpp File Reference

Environment utility function. More...

#include <sstream>
#include <stdlib.h>

Go to the source code of this file.

Namespaces

namespace  iganet
 
namespace  iganet::utils
 

Functions

template<typename T >
iganet::utils::getenv (std::string variable, const T &default_value)
 Returns the value from an environment variable.
 
template<typename T >
std::vector< T > iganet::utils::getenv (std::string variable, std::initializer_list< T > default_value)
 Returns the value from an environment variable.
 

Detailed Description

Environment utility function.

Author
Matthias Moller

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.