Atom::print() const
{
#ifndef NPRINT
- DOUT << "texstring: " <<tex_<<"\n";
-
+ DOUT << "texstring: " <<tex_<<"\n";
+
DOUT << "dim:";
for (Axis i=X_AXIS; i < NO_AXES; incr(i))
DOUT << axis_name_str(i) << " = " << dim_[i].str();
String
-Atom::str() const
+Atom::str() const
{
- return "Atom (\'"+tex_+"\', (" + dim_.x().str () + ", "
+ return "Atom (\'"+tex_+"\', (" + dim_.x().str () + ", "
+ dim_.y ().str () + "))";
}
Axis ax = (Axis)a;
if (abs (off[ax]) >= 100 CM)
{
- warning ("ridiculous dimension " + axis_name_str (ax) + ", "
+ warning (_("ridiculous dimension ") + axis_name_str (ax) + ", "
+print_dimen(off[ax]));
off[ax] = 0.0;
- tex_str += "\errormark";
+ tex_str += "\errormark";
}
}
// whugh.. Hard coded...
void
Atom::translate_axis (Real r, Axis a)
{
- off_[a] += r;
+ off_[a] += r;
}
void