22 cout <<
"=== OneD_Node_Mesh: complex data on a complex path =\n";
37 for ( std::size_t i = 0; i < N; ++i ) {
38 double s = paramCoords[i];
39 Q.
coord(i) = s + eye*s*(1-s);
41 Q( i, 0 ) = sin( Q.
coord(i) );
A specification for a one dimensional mesh object.
A spec for a collection of utility functions.
An DenseVector class – a dense vector object.
A one dimensional mesh utility object.
void dump() const
A simple method for dumping data to std::cout.
const _Xtype & coord(const std::size_t &node) const
Access a nodal position.
void dump_gnu(std::string filename, int precision=10) const
A simple method for dumping data to a file for gnuplot.
DenseVector< double > 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 bou...
A collection of OO numerical routines aimed at simple (typical) applied problems in continuum mechani...
std::complex< double > D_complex
A complex double precision number using std::complex.