opserr

For developers writing C++, Fortran, Java, code who have questions or comments to make.

Moderators: silvia, selimgunay, Moderators

Post Reply
brag006
Posts: 173
Joined: Wed Feb 15, 2012 1:26 pm
Location: University of Auckland

opserr

Post by brag006 »

Just a quick question,

Is it possible to use opserr to print to file instead of screen?
yekose
Posts: 50
Joined: Thu May 15, 2008 5:46 am
Location: Turkey

Re: opserr

Post by yekose »

sserr.setFile("fileName");
opserr << *theDomain;

opserr is a pointer to sserr and if you use the setFile method the domain information is going to be printed in the file. It worked for me :)
Post Reply