1 //#**************************************************************
2 //#
3 //# filename:             timeintlog.h
4 //#
5 //# author:               Peter Gruber
6 //#
7 //# generated:						26.11.2013
8 //# description:          log information concerning time integration & multibody system
9 //#
10 //# remarks:
11 //#
12 //# Copyright (c) 2003-2013 Johannes Gerstmayr, Linz Center of Mechatronics GmbH, Austrian
13 //# Center of Competence in Mechatronics GmbH, Institute of Technical Mechanics at the
14 //# Johannes Kepler Universitaet Linz, Austria. All rights reserved.
15 //#
16 //# This file is part of HotInt.
17 //# HotInt is free software: you can redistribute it and/or modify it under the terms of
18 //# the HOTINT license. See folder 'licenses' for more details.
19 //#
20 //# bug reports are welcome!!!
21 //# WWW:		www.hotint.org
22 //# email:	bug_reports@hotint.org or support@hotint.org
23 //#***************************************************************************************
24 
25 
26 
27 #pragma once
28 
29 class TimeIntLog
30 {
31 public:
TimeIntLog()32 	TimeIntLog() {Init();}
Init()33 	virtual void Init()
34 	{
35 		writesolcnt = 0;
36 		evalfcnt = 0;
37 		evalf_jaccnt = 0;
38 		testcnt = 0;
39 		changestep = 0;
40 		jaccount = 0;
41 		TInewtonit = 0;
42 		TInewtonitsum = 0;
43 		TInonlinit = 0;
44 	}
45 
46 public:
47 	int writesolcnt;
48 	int evalfcnt; //number of right-hand-side evaluations
49 	int evalf_jaccnt; //number of right-hand-side evaluations for jacobian
50 	int testcnt; //for test purposes
51 	int changestep; //counter for number of changed step sizes
52 	int jaccount; //counter for jacobians
53 	int TInewtonit;
54 	int TInewtonitsum;
55 	int TInonlinit;
56 };