Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/ASM/IntegrandBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,11 @@ class IntegrandBase : public Integrand
//! \brief Returns nodal DOF flags for monolithic coupled integrands.
virtual void getNodalDofTypes(std::vector<char>&) const {}

//! \brief Advances the time step scheme one step (for transient problems).
virtual bool advanceStep() { return false; }
//! \brief Advances the time step scheme one step (for transient problems).
virtual bool advanceStep(const TimeDomain&) { return this->advanceStep(); }

//! \brief Returns current time/load parameter for 2ndary solution evaluation.
double getTimeLevel() const { return myTime; }

Expand Down
4 changes: 3 additions & 1 deletion src/SIM/SIMoptions.C
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#include "Profiler.h"
#include "IFEM.h"
#include "GlbL2projector.h"

#include "print_tol.h"
#include "tinyxml2.h"
#ifdef HAVE_MPI
#include <mpi.h>
Expand Down Expand Up @@ -373,6 +373,8 @@ bool SIMoptions::parseOldOptions (int argc, char** argv, int& i)
ncv = atoi(argv[++i]);
else if (!strcmp(argv[i],"-shift") && i < argc-1)
shift = atof(argv[++i]);
else if (!strcmp(argv[i],"-zero_print_tol") && i < argc-1)
utl::zero_print_tol = atof(argv[++i]);
else if (!strncasecmp(argv[i],"-indentprof",11))
Profiler::indentReport = true;
else if (!strcasecmp(argv[i],"-controller"))
Expand Down
2 changes: 1 addition & 1 deletion src/Utility/Vec3Oper.C
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ bool operator< (const Vec3& a, const Vec3& b)

std::ostream& operator<< (std::ostream& os, const Vec3& a)
{
return a.print(os);
return a.print(os,utl::zero_print_tol);
}


Expand Down