|
CppNoddy
0.92
|
A spec for a collection of utility functions. More...
#include <OneD_Node_Mesh.h>#include <string>#include <ctime>#include <numeric>#include <algorithm>#include <sys/types.h>#include <sys/stat.h>#include <Types.h>#include <Exceptions.h>#include <FortranBLAS.h>#include <TwoD_Node_Mesh.h>#include <TwoD_Mapped_Node_Mesh.h>#include <Sequential_Matrix_base.h>Go to the source code of this file.
Namespaces | |
| namespace | CppNoddy |
| A collection of OO numerical routines aimed at simple (typical) applied problems in continuum mechanics. | |
| namespace | CppNoddy::Utility |
| Some utility methods associated with CppNoddy containers. | |
Functions | |
| DenseVector< double > | CppNoddy::Utility::uniform_node_vector (const double &lower, const double &upper, const std::size_t &N) |
| Return a DENSE vector with the nodal points of a uniform mesh distributed between the upper/lower bounds as specified. More... | |
| DenseVector< double > | CppNoddy::Utility::power_node_vector (const double &lower, const double &upper, const std::size_t &N, const double &power) |
| Return a DENSE vector with the nodal points of a non-uniform mesh distributed between the upper/lower bounds as specified with more nodes clustered near lower or upper depending upon the differencee of the power from unity. More... | |
| DenseVector< double > | CppNoddy::Utility::two_uniform_node_vector (const double &lower, const double &mid, const double &upper, const std::size_t &N1, const std::size_t &N2) |
| Return a dense vector with two uniform distributions in two separate regions. More... | |
| DenseVector< double > | CppNoddy::Utility::three_uniform_node_vector (const double &lower, const double &mid1, const double &mid2, const double &upper, const std::size_t &N1, const std::size_t &N2, const std::size_t &N3) |
| Return a dense vector with two uniform distributions in two separate regions. More... | |
| DenseVector< double > | CppNoddy::Utility::mid_weighted_node_vector (const double &lower, const double &upper, const std::size_t &N, const double &power) |
| Return a dense vector of nodal positions with more nodes concentrated at the mid point of the range. More... | |
| template<typename _Type > | |
| void | CppNoddy::Utility::vels_from_streamfn_Cartesian (const TwoD_Node_Mesh< _Type > &source, TwoD_Node_Mesh< _Type > &uv) |
| template<typename _Type > | |
| void | CppNoddy::Utility::vels_from_streamfn_Cartesian (const TwoD_Mapped_Node_Mesh< _Type > &source, TwoD_Mapped_Node_Mesh< _Type > &uv) |
| DenseMatrix< double > | CppNoddy::Utility::multiply (DenseMatrix< double > &A, DenseMatrix< double > &B) |
| BLAS wrapper to do DOUBLE DENSE A_{MxK} * B_{KxN} = C_{MxN} Since this is a Fortran library, it assumes a column_major format, but CppNoddy uses row_major. More... | |
| template<typename _Type > | |
| _Type | CppNoddy::Utility::dot (const DenseVector< _Type > &X, const DenseVector< _Type > &Y) |
| Templated dot product. More... | |
| template<typename _Type > | |
| int | CppNoddy::Utility::sgn (const _Type &a) |
| DenseVector< double > | CppNoddy::Utility::real (const DenseVector< D_complex > &X) |
| Return a double DENSE vector containing the real part of a complex DENSE vector. More... | |
| DenseVector< double > | CppNoddy::Utility::imag (const DenseVector< D_complex > &X) |
| Return a double DENSE vector containing the imaginary part of a complex DENSE vector. More... | |
| std::string | CppNoddy::Utility::stringify (const int &val) |
| Return an integer value as a string - useful for file naming. More... | |
| std::string | CppNoddy::Utility::stringify (const double &val, int p) |
| Return a double value as a string - useful for file naming. More... | |
| double | CppNoddy::Utility::max_abs_location (OneD_Node_Mesh< double > &mesh, unsigned var) |
| double | CppNoddy::Utility::max_abs_location_range (OneD_Node_Mesh< double > &mesh, unsigned var, double left, double right) |
A spec for a collection of utility functions.
Definition in file Utility.h.
1.9.5
© 2012
R.E. Hewitt