'
21 | echo -e "$COLORED_OUTPUT" > $COLORED_FILENAME
22 |
23 |
--------------------------------------------------------------------------------
/licenses/LICENSE.txt:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 |
--------------------------------------------------------------------------------
/licenses/README.md:
--------------------------------------------------------------------------------
1 | In the following folder directories the licenses of other libraries and application which might or might _not_ be included in this programm are provided.
2 |
--------------------------------------------------------------------------------
/licenses/cstring/strlcat.txt:
--------------------------------------------------------------------------------
1 | /* $OpenBSD: strlcat.c,v 1.13 2005/08/08 08:05:37 espie Exp $ */
2 |
3 | /*
4 | * Copyright (c) 1998 Todd C. Miller
5 | *
6 | * Permission to use, copy, modify, and distribute this software for any
7 | * purpose with or without fee is hereby granted, provided that the above
8 | * copyright notice and this permission notice appear in all copies.
9 | *
10 | * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11 | * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12 | * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13 | * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14 | * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15 | * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 | */
18 |
--------------------------------------------------------------------------------
/licenses/cstring/strlcpy.txt:
--------------------------------------------------------------------------------
1 | /* $OpenBSD: strlcpy.c,v 1.11 2006/05/05 15:27:38 millert Exp $ */
2 |
3 | /*
4 | * Copyright (c) 1998 Todd C. Miller
5 | *
6 | * Permission to use, copy, modify, and distribute this software for any
7 | * purpose with or without fee is hereby granted, provided that the above
8 | * copyright notice and this permission notice appear in all copies.
9 | *
10 | * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11 | * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12 | * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13 | * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14 | * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15 | * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 | */
18 |
--------------------------------------------------------------------------------
/licenses/tinyxml2/license.txt:
--------------------------------------------------------------------------------
1 | License
2 |
3 | TinyXML-2 is released under the zlib license:
4 |
5 | This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
6 |
7 | Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
8 |
9 | The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
10 | Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
11 | This notice may not be removed or altered from any source distribution.
12 |
13 |
--------------------------------------------------------------------------------
/licenses/zlib/license.txt:
--------------------------------------------------------------------------------
1 | /* zlib.h -- interface of the 'zlib' general purpose compression library
2 | version 1.2.8, April 28th, 2013
3 |
4 | Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler
5 |
6 | This software is provided 'as-is', without any express or implied
7 | warranty. In no event will the authors be held liable for any damages
8 | arising from the use of this software.
9 |
10 | Permission is granted to anyone to use this software for any purpose,
11 | including commercial applications, and to alter it and redistribute it
12 | freely, subject to the following restrictions:
13 |
14 | 1. The origin of this software must not be misrepresented; you must not
15 | claim that you wrote the original software. If you use this software
16 | in a product, an acknowledgment in the product documentation would be
17 | appreciated but is not required.
18 | 2. Altered source versions must be plainly marked as such, and must not be
19 | misrepresented as being the original software.
20 | 3. This notice may not be removed or altered from any source distribution.
21 |
22 | Jean-loup Gailly Mark Adler
23 | jloup@gzip.org madler@alumni.caltech.edu
24 |
25 | */
26 |
--------------------------------------------------------------------------------
/misc/images/Simulation_scenario.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/FHust/ISEAFramework/f6a3122c63e76f4bbed81aa47a10df81b66eae95/misc/images/Simulation_scenario.png
--------------------------------------------------------------------------------
/misc/images/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/FHust/ISEAFramework/f6a3122c63e76f4bbed81aa47a10df81b66eae95/misc/images/logo.png
--------------------------------------------------------------------------------
/src/convert/string2lookup.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "string2lookup.h"
16 |
17 | template std::vector< double > convert::Make1DLookupTable< double >( const std::string& toParse );
18 | template std::vector< std::vector< double > > convert::Make2DLookupTable< double >( const std::string& toParse );
19 |
--------------------------------------------------------------------------------
/src/cstring/strlcat.h:
--------------------------------------------------------------------------------
1 | /*
2 | * strlcat.h
3 | *
4 | * Created on: 15.07.2013
5 | * Author: chris
6 | */
7 |
8 | #ifndef STRLCAT_H_
9 | #define STRLCAT_H_
10 |
11 | #include
12 |
13 | size_t strlcat( char *dst, const char *src, size_t siz );
14 |
15 | #endif /* STRLCAT_H_ */
16 |
--------------------------------------------------------------------------------
/src/cstring/strlcombine.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /*
16 | * strcombine.cpp
17 | *
18 | * Created on: 29.08.2013
19 | * Author: chris
20 | */
21 |
22 | #include "strlcombine.h"
23 | #include "strlcat.h"
24 | #include
25 |
26 | char* strlcombine(const char *src1, const char *src2, size_t siz)
27 | {
28 | char* res = (char*)malloc(siz + 1);
29 | size_t tmplen = strlcat(res,src1,siz);
30 | strlcat(res + tmplen, src2, siz - tmplen);
31 | return res;
32 | }
33 |
--------------------------------------------------------------------------------
/src/cstring/strlcombine.h:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /*
16 | * strcombine.h
17 | *
18 | * Created on: 29.08.2013
19 | * Author: chris
20 | */
21 |
22 | #ifndef STRCOMBINE_H_
23 | #define STRCOMBINE_H_
24 |
25 | #include
26 |
27 | char *strlcombine( const char *src1, const char *src2, size_t siz );
28 |
29 | #endif /* STRCOMBINE_H_ */
30 |
--------------------------------------------------------------------------------
/src/cstring/strlcpy.h:
--------------------------------------------------------------------------------
1 | /*
2 | * strlcpy.h
3 | *
4 | * Created on: 15.07.2013
5 | * Author: chris
6 | */
7 |
8 | #ifndef STRLCPY_H_
9 | #define STRLCPY_H_
10 |
11 | #include
12 |
13 | size_t strlcpy( char *dst, const char *src, size_t siz );
14 |
15 | #endif /* STRLCPY_H_ */
16 |
--------------------------------------------------------------------------------
/src/cstring/strtok_rbsd.h:
--------------------------------------------------------------------------------
1 | /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
2 | * File Name : strtok_gnu.h
3 | * Creation Date : 10-10-2013
4 | * Last Modified : Mo 17 Aug 2015 10:29:52 CEST
5 | * Created By : Friedrich Hust
6 | _._._._._._._._._._._._._._._._._._._._._.*/
7 | #ifndef _STRTOK_GNU_
8 | #define _STRTOK_GNU_
9 | char *strtok_rbsd( char *s, const char *delim, char **save_ptr );
10 | #endif /* _STRTOK_GNU_ */
11 |
--------------------------------------------------------------------------------
/src/electrical/capacity.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "capacity.h"
16 |
17 | template class electrical::Capacity< myMatrixType >;
18 |
--------------------------------------------------------------------------------
/src/electrical/cellelement.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "cellelement.h"
16 |
17 | template class electrical::Cellelement< myMatrixType >;
18 |
19 |
--------------------------------------------------------------------------------
/src/electrical/constantphaseelement.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
16 | * File Name : constantphaseelement.cpp
17 | * Creation Date : 22-04-2015
18 | * Last Modified : Mi 22 Apr 2015 23:20:48 CEST
19 | * Created By : Friedrich Hust
20 | _._._._._._._._._._._._._._._._._._._._._.*/
21 | #include "constantphaseelement.h"
22 |
23 | template class electrical::ConstantPhaseElement< myMatrixType >;
24 |
--------------------------------------------------------------------------------
/src/electrical/electricalelement.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "electricalelement.h"
16 |
17 | template class electrical::ElectricalElement< myMatrixType >;
18 |
--------------------------------------------------------------------------------
/src/electrical/inductance.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
16 | * File Name : inductance.cpp
17 | * Creation Date : 22-04-2015
18 | * Last Modified : Mi 22 Apr 2015 23:40:52 CEST
19 | * Created By : Friedrich Hust
20 | _._._._._._._._._._._._._._._._._._._._._.*/
21 |
22 | #include "inductance.h"
23 |
24 | template class electrical::Inductance< myMatrixType >;
25 |
--------------------------------------------------------------------------------
/src/electrical/ohmicresistance.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "ohmicresistance.h"
16 |
17 | template class electrical::OhmicResistance< myMatrixType >;
18 |
--------------------------------------------------------------------------------
/src/electrical/parallelRCAlg.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 |
16 | /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
17 | * File Name : parallelRCAlg.cpp
18 | * Creation Date : 20-03-2013
19 | * Last Modified : Di 01 Okt 2013 23:20:14 CEST
20 | * Created By : Lee
21 | _._._._._._._._._._._._._._._._._._._._._.*/
22 | #include "parallelRCAlg.h"
23 |
24 | template class electrical::ParallelRCAlg< myMatrixType >;
25 |
--------------------------------------------------------------------------------
/src/electrical/parallelrc.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
16 | * File Name : parallelrc.cpp
17 | * Creation Date : 20-03-2013
18 | * Last Modified : Di 01 Okt 2013 23:14:32 CEST
19 | * Created By : Friedrich Hust
20 | _._._._._._._._._._._._._._._._._._._._._.*/
21 | #include "parallelrc.h"
22 |
23 | template class electrical::ParallelRC< myMatrixType >;
24 |
--------------------------------------------------------------------------------
/src/electrical/paralleltwoport.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
16 | * File Name : parallelrc.cpp
17 | * Creation Date : 20-03-2013
18 | * Last Modified : Mo 07 Okt 2013 11:10:44 CEST
19 | * Created By : Friedrich Hust
20 | _._._._._._._._._._._._._._._._._._._._._.*/
21 | #include "paralleltwoport.h"
22 |
23 | template class electrical::ParallelTwoPort< myMatrixType >;
24 |
--------------------------------------------------------------------------------
/src/electrical/rmphn.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
16 | * File Name : rmphn.cpp
17 | * Creation Date : 24-08-2017
18 | * Last Modified :
19 | * Created By : Friedrich Hust
20 | _._._._._._._._._._._._._._._._._._._._._.*/
21 | #include "rmphn.h"
22 |
23 | template class electrical::Rmphn< myMatrixType >;
24 |
--------------------------------------------------------------------------------
/src/electrical/serialtwoport.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
16 | * File Name : serialtwoport.cpp
17 | * Creation Date : 30-10-2012
18 | * Last Modified : Mi 02 Okt 2013 17:16:46 CEST
19 | * Created By : Friedrich Hust
20 | _._._._._._._._._._._._._._._._._._._._._.*/
21 |
22 | #include "serialtwoport.h"
23 |
24 | template class electrical::SerialTwoPort< myMatrixType >;
25 |
--------------------------------------------------------------------------------
/src/electrical/twoport.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
16 | * File Name : twoport.cpp
17 | * Creation Date : 13-03-2015
18 | * Last Modified : Fr 14 Aug 2015 14:10:28 CEST
19 | * Created By : Friedrich Hust
20 | _._._._._._._._._._._._._._._._._._._._._.*/
21 | #include "twoport.h"
22 | namespace electrical
23 | {
24 | template class electrical::TwoPort< myMatrixType >;
25 | #ifdef _EIGEN_
26 | template <>
27 | double ReturnFirstElement( Eigen::SparseMatrix< double, RowMajor > &mat )
28 | {
29 | return mat.coeff( 0, 0 );
30 | }
31 | #endif /* _EIGEN_ */
32 | }
33 |
--------------------------------------------------------------------------------
/src/electrical/twoport_withchild.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "twoport_withchild.h"
16 |
17 | template class electrical::TwoPortWithChild< myMatrixType >;
18 |
--------------------------------------------------------------------------------
/src/electrical/voltagesource.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
16 | * File Name : voltagesource.cpp
17 | * Creation Date : 20-03-2013
18 | * Last Modified : Di 01 Okt 2013 23:10:33 CEST
19 | * Created By : Friedrich Hust
20 | _._._._._._._._._._._._._._._._._._._._._.*/
21 | #include "voltagesource.h"
22 |
23 | template class electrical::VoltageSource< myMatrixType >;
24 |
--------------------------------------------------------------------------------
/src/electrical/warburgCotanh.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
16 | * File Name : warburgCotanh.cpp
17 | * Creation Date : 25-08-2017
18 | * Last Modified :
19 | * Created By : Friedrich Hust
20 | _._._._._._._._._._._._._._._._._._._._._.*/
21 | #include "warburgCotanh.h"
22 |
23 | template class electrical::WarburgCotanh< myMatrixType >;
24 |
--------------------------------------------------------------------------------
/src/electrical/warburgTanh.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
16 | * File Name : warburgTanh.cpp
17 | * Creation Date : 25-08-2017
18 | * Last Modified :
19 | * Created By : Friedrich Hust
20 | _._._._._._._._._._._._._._._._._._._._._.*/
21 | #include "warburgTanh.h"
22 |
23 | template class electrical::WarburgTanh< myMatrixType >;
24 |
--------------------------------------------------------------------------------
/src/export/esbVisualizer.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
16 | * File Name : esbVisualizer.cpp
17 | * Creation Date : 11-01-2014
18 | * Last Modified : Mi 04 Feb 2015 11:43:01 CET
19 | * Created By : Friedrich Hust
20 | _._._._._._._._._._._._._._._._._._._._._.*/
21 | #include "esbVisualizer.h"
22 |
23 | #ifndef __NO_STRING__
24 |
25 | template class visualizer::EsbVisualizer< myMatrixType >;
26 | #endif
27 |
--------------------------------------------------------------------------------
/src/export/spiceExport.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
16 | * File Name : spiceExport.cpp
17 | * Creation Date : 20-01-2014
18 | * Last Modified : Mi 04 Feb 2015 11:43:32 CET
19 | * Created By : Friedrich Hust
20 | _._._._._._._._._._._._._._._._._._._._._.*/
21 | #include "spiceExport.h"
22 |
23 | #ifndef __NO_STRING__
24 |
25 | template class SpiceExport< myMatrixType >;
26 |
27 | #endif
28 |
--------------------------------------------------------------------------------
/src/export/svgExport.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
16 | * File Name : svgExport.cpp
17 | * Creation Date : 24-03-2015
18 | * Last Modified : Do 22 Dez 2016 14:18:02 CET
19 | * Created By : Friedrich Hust
20 | _._._._._._._._._._._._._._._._._._._._._.*/
21 |
22 | #include "svgExport.h"
23 | #ifndef __NO_STRING__
24 |
25 | template class SvgExport< myMatrixType, CELLLEVEL_DEPTH >;
26 | template class SvgExport< myMatrixType, ELECTRICALELEMENTS_DEPTH >;
27 | template class SvgExport< myMatrixType, ALL >;
28 |
29 | #endif /* __NO_STRING__ */
30 |
--------------------------------------------------------------------------------
/src/factory/check_positive_int.h:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #ifndef _CHECK_POSITIVE_INT_
16 | #define _CHECK_POSITIVE_INT_
17 |
18 | #include "../xmlparser/xmlparameter.h"
19 |
20 |
21 | namespace factory
22 | {
23 |
24 | size_t CheckPositiveInt( const int &val, const boost::shared_ptr< xmlparser::XmlParameter > ¶m, const char name[] );
25 | }
26 |
27 | #endif
--------------------------------------------------------------------------------
/src/factory/get_electrical_discretization.h:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #ifndef _GET_ELECTRICAL_DISCRETIZATION_
16 | #define _GET_ELECTRICAL_DISCRETIZATION_
17 |
18 | #include "../xmlparser/xmlparameter.h"
19 |
20 |
21 | namespace factory
22 | {
23 |
24 | /// Returns the number of cell elements in a cell/thermal block
25 | size_t GetElectricalDiscretization( const boost::shared_ptr< xmlparser::XmlParameter > &thermalBlockNode );
26 | }
27 |
28 | #endif
--------------------------------------------------------------------------------
/src/factory/object/objectfactorybuilder.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /*
16 | * objectfactorybuilder.cpp
17 | *
18 | * Created on: 07.10.2013
19 | * Author: chris
20 | */
21 |
22 | #include "objectfactorybuilder.h"
23 |
24 | namespace factory
25 | {
26 |
27 | template Factory< object::Object< double >, ArgumentTypeObject >* BuildObjectFactory( Factory< ::state::Dgl_state, ArgumentTypeState > * stateFactory );
28 |
29 | } /* namespace factory */
30 |
--------------------------------------------------------------------------------
/src/factory/state/stateclasswrapper.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /*
16 | * stateclasswrapper.cpp
17 | *
18 | * Created on: 17.09.2013
19 | * Author: chris
20 | */
21 |
22 | #include "stateclasswrapper.h"
23 |
24 | #include "../factory.h"
25 |
26 | namespace factory
27 | {
28 | template class Factory< state::Dgl_state, ArgumentTypeState >;
29 | } /* namespace factory */
30 |
--------------------------------------------------------------------------------
/src/factory/state/statefactorybuilder.h:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /*
16 | * statefactorybuilder.h
17 | *
18 | * Created on: 07.10.2013
19 | * Author: chris
20 | */
21 |
22 | #ifndef STATEFACTORYBUILDER_H_
23 | #define STATEFACTORYBUILDER_H_
24 |
25 | #include "stateclasswrapper.h"
26 |
27 | #include "../factory.h"
28 |
29 | namespace factory
30 | {
31 |
32 | /// Builds a Factory for ::state
33 | Factory< ::state::Dgl_state, ArgumentTypeState >* BuildStateFactory();
34 |
35 | } /* namespace factory */
36 |
37 | #endif /* STATEFACTORYBUILDER_H_ */
38 |
--------------------------------------------------------------------------------
/src/factory/thermal/blockclasswrapper.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "blockclasswrapper.h"
16 |
17 | namespace factory
18 | {
19 |
20 | template class Factory< thermal::ThermalBlock, ArgumentTypeThermalBlock >;
21 |
22 | template class BlockClassWrapper< double, thermal::RectangularBlock >;
23 | template class BlockClassWrapper< double, thermal::QuadraticCellBlock >;
24 | template class BlockClassWrapper< double, thermal::Supercap >;
25 |
26 | }
27 |
--------------------------------------------------------------------------------
/src/factory/thermal/blockfactorybuilder.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "blockfactorybuilder.h"
16 |
17 | namespace factory
18 | {
19 |
20 | template Factory< thermal::ThermalBlock< double >, ArgumentTypeThermalBlock >* BuildBlockFactory( Factory< thermal::Material< double > > *materialFactory);
21 |
22 | }
23 |
--------------------------------------------------------------------------------
/src/factory/thermal/coolingblockclasswrapper.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "coolingblockclasswrapper.h"
16 |
17 | namespace factory
18 | {
19 |
20 | template class Factory< thermal::CoolingBlock, ArgumentTypeCoolingBlock >;
21 |
22 | template class CoolingBlockClassWrapper< double, thermal::CoolingBlock >;
23 |
24 | }
25 |
--------------------------------------------------------------------------------
/src/factory/thermal/coolingblockfactorybuilder.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "coolingblockfactorybuilder.h"
16 |
17 | namespace factory
18 | {
19 |
20 | template Factory< thermal::CoolingBlock< double >, ArgumentTypeCoolingBlock >* BuildCoolingBlockFactory( Factory< thermal::Cooling< double > > *coolingFactory);
21 |
22 | }
23 |
--------------------------------------------------------------------------------
/src/factory/thermal/coolingclasswrapper.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "coolingclasswrapper.h"
16 |
17 | namespace factory
18 | {
19 |
20 | template class Factory< thermal::Cooling >;
21 |
22 | template class CoolingClassWrapper< double, thermal::DirichletBoundaryCondition >;
23 | template class CoolingClassWrapper< double, thermal::CoolingByLookUp >;
24 | template class CoolingClassWrapper< double, thermal::CoolingByConstantValue >;
25 | template class CoolingClassWrapperThermalIsolation< double>;
26 |
27 | }
28 |
--------------------------------------------------------------------------------
/src/factory/thermal/coolingfactorybuilder.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "coolingfactorybuilder.h"
16 |
17 | namespace factory
18 | {
19 |
20 | template Factory< thermal::Cooling< double > >* BuildCoolingFactory( Factory< object::Object< double >, ArgumentTypeObject > *objectFactory);
21 |
22 | }
23 |
--------------------------------------------------------------------------------
/src/factory/thermal/materialclasswrapper.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "materialclasswrapper.h"
16 |
17 | namespace factory
18 | {
19 |
20 | template class Factory< thermal::Material >;
21 |
22 | template class MaterialClassWrapperIsotropic< double>;
23 | template class MaterialClassWrapperCartesian< double>;
24 | template class MaterialClassWrapperCylindric< double>;
25 |
26 | }
27 |
--------------------------------------------------------------------------------
/src/factory/thermal/materialfactorybuilder.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "materialfactorybuilder.h"
16 |
17 | namespace factory
18 | {
19 |
20 | template Factory< thermal::Material< double > >* BuildMaterialFactory();
21 |
22 | }
23 |
--------------------------------------------------------------------------------
/src/factory/thermal/thermal_factory.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "thermal_factory.h"
16 |
17 | template class thermal::ThermalFactory;
18 |
--------------------------------------------------------------------------------
/src/geometry/angle.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "angle.h"
16 |
17 | namespace geometry
18 | {
19 |
20 | template class Angle;
21 |
22 | template const Angle operator+(const Angle &lhs, const Angle &rhs);
23 | template const Angle operator-(const Angle &lhs, const Angle &rhs);
24 | template const Angle operator/(const Angle &lhs, double rhs);
25 |
26 | }
27 |
--------------------------------------------------------------------------------
/src/geometry/area.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "area.h"
16 |
17 | template class geometry::Area;
18 |
--------------------------------------------------------------------------------
/src/geometry/block_geometry.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "block_geometry.h"
16 |
17 | template class geometry::BlockGeometry;
18 |
--------------------------------------------------------------------------------
/src/geometry/cartesian.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "cartesian.h"
16 |
17 | namespace geometry
18 | {
19 |
20 | template class geometry::Cartesian;
21 |
22 | template const Cartesian operator+(const Cartesian &lhs, const Cartesian &rhs);
23 | template const Cartesian operator-(const Cartesian &lhs, const Cartesian &rhs);
24 | template const Cartesian operator*(const Cartesian &lhs, double rhs);
25 | template const Cartesian operator/(const Cartesian &lhs, double rhs);
26 |
27 | }
28 |
--------------------------------------------------------------------------------
/src/geometry/cylindric.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "cylindric.h"
16 |
17 | namespace geometry
18 | {
19 |
20 | template class geometry::Cylindric;
21 | template const Cartesian CylToCart(const Cartesian &emplacementVector, const Cylindric &cyl);
22 |
23 | template const Cylindric operator+(const Cylindric &lhs, const Cylindric &rhs);
24 | template const Cylindric operator/(const Cylindric &lhs, double rhs);
25 |
26 | }
27 |
--------------------------------------------------------------------------------
/src/geometry/geometry2D.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "geometry2D.h"
16 |
17 | template class geometry::Geometry2D;
18 |
--------------------------------------------------------------------------------
/src/geometry/geometry2D.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/FHust/ISEAFramework/f6a3122c63e76f4bbed81aa47a10df81b66eae95/src/geometry/geometry2D.h
--------------------------------------------------------------------------------
/src/geometry/geometry2D_Boost_geometry.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/FHust/ISEAFramework/f6a3122c63e76f4bbed81aa47a10df81b66eae95/src/geometry/geometry2D_Boost_geometry.h
--------------------------------------------------------------------------------
/src/geometry/geometry2D_Boost_polygon.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/FHust/ISEAFramework/f6a3122c63e76f4bbed81aa47a10df81b66eae95/src/geometry/geometry2D_Boost_polygon.h
--------------------------------------------------------------------------------
/src/geometry/innerArea.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
16 | * File Name : innerArea.cpp
17 | * Creation Date : 04-05-2015
18 | * Last Modified : Mo 04 Mai 2015 11:38:21 CEST
19 | * Created By : Fabian Frie
20 | _._._._._._._._._._._._._._._._._._._._._.*/
21 |
22 | #include "innerArea.h"
23 |
24 | template class geometry::InnerArea;
25 |
--------------------------------------------------------------------------------
/src/geometry/plane.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "plane.h"
16 |
17 |
18 | template class geometry::Plane;
19 |
--------------------------------------------------------------------------------
/src/geometry/tolerance.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "tolerance.h"
16 |
17 | template struct geometry::Tolerance;
18 |
--------------------------------------------------------------------------------
/src/geometry/two_dim.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "two_dim.h"
16 |
17 | namespace geometry
18 | {
19 |
20 | template class geometry::TwoDim;
21 |
22 | template const TwoDim operator+(const TwoDim &lhs, const TwoDim &rhs);
23 | template const TwoDim operator-(const TwoDim &lhs, const TwoDim &rhs);
24 | template const TwoDim operator/(const TwoDim &lhs, double rhs);
25 |
26 | }
27 |
--------------------------------------------------------------------------------
/src/geometry/unit_vector.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "unit_vector.h"
16 |
17 | namespace geometry
18 | {
19 |
20 | template class UnitVector;
21 |
22 | template const UnitVector operator-(const UnitVector &rhs);
23 |
24 | }
--------------------------------------------------------------------------------
/src/lookup/lookup.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "lookup.h"
16 |
17 | template class lookup::Lookup1D;
18 | template class lookup::Lookup2D;
19 |
--------------------------------------------------------------------------------
/src/lookup/lookupType.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "lookupType.h"
16 |
17 | template class lookup::LookupType1D;
18 | template class lookup::NearestNeighbour1D;
19 | template class lookup::Linear1DInterpolation;
20 | template class lookup::LookupType2D;
21 | template class lookup::NearestNeighbour2D;
22 | template class lookup::Linear2DInterpolation;
23 |
24 |
--------------------------------------------------------------------------------
/src/misc/aligned_to_cache_line.h:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #ifndef _ALIGN_TO_CACHE_LINE_
16 | #define _ALIGN_TO_CACHE_LINE_
17 |
18 | //#ifdef _MSC_VER
19 | // #define ALIGNED_TO_64_BYTE __declspec(align(64))
20 | //#else
21 | // #define ALIGNED_TO_64_BYTE __attribute__((aligned(64)))
22 | //#endif
23 | #define ALIGNED_TO_64_BYTE
24 |
25 | #endif // Include guard
26 |
--------------------------------------------------------------------------------
/src/misc/boolVecOper.h:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
16 | * File Name : boolVecOper.h
17 | * Creation Date : 23-08-2013
18 | * Last Modified : Fr 21 Feb 2014 11:21:36 CET
19 | * Created By : Friedrich Hust
20 | _._._._._._._._._._._._._._._._._._._._._.*/
21 | #ifndef _BOOLVECOPER_
22 | #define _BOOLVECOPER_
23 |
24 | #include
25 | #include
26 |
27 | bool Any( std::vector< bool > container );
28 | bool All( std::vector< bool > container );
29 | size_t Sum( std::vector< bool > container );
30 | #endif /* _BOOLVECOPER_ */
31 |
--------------------------------------------------------------------------------
/src/misc/charArrayCmp.h:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
16 | * File Name : charArrayCmp.h
17 | * Creation Date : 10-10-2013
18 | * Last Modified : Mi 19 Mär 2014 11:59:13 CET
19 | * Created By : Friedrich Hust
20 | _._._._._._._._._._._._._._._._._._._._._.*/
21 | #ifndef _ARARRAYCMP_
22 | #define _ARARRAYCMP_
23 |
24 | /// The ::misc namespace is an aglomarate for function that do not deserve their own namespace
25 |
26 | namespace misc
27 | {
28 | int CaseInsensitiveStringCompare( const char* first, const char* second );
29 | }
30 |
31 | #endif /* _ARARRAYCMP_ */
32 |
--------------------------------------------------------------------------------
/src/misc/cmp_str.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "cmp_str.h"
16 | #include "charArrayCmp.h"
17 |
18 | namespace misc
19 | {
20 |
21 | bool cmp_str::operator()( const char *first,
22 | const char *second ) const
23 | {
24 | return CaseInsensitiveStringCompare( first, second ) < 0;
25 | }
26 |
27 | bool equal_str::operator()( const char *first,
28 | const char *second ) const
29 | {
30 | return CaseInsensitiveStringCompare( first, second ) == 0;
31 | }
32 |
33 | }
34 |
--------------------------------------------------------------------------------
/src/misc/cmp_str.h:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #ifndef CMP_STR_H_
16 | #define CMP_STR_H_
17 |
18 |
19 | namespace misc
20 | {
21 |
22 | /// cmp_str is a functor returning case insensitive comparison of a two c style string
23 | struct cmp_str
24 | {
25 | bool operator()( const char *first, const char *second ) const;
26 | };
27 |
28 | /// equal_str is a functor returning case insensitive equality of a two c style string
29 | struct equal_str
30 | {
31 | bool operator()( const char *first, const char *second ) const;
32 | };
33 | }
34 |
35 | #endif
36 |
--------------------------------------------------------------------------------
/src/misc/toLower.h:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
16 | * File Name : toLower.h
17 | * Creation Date : 10-10-2013
18 | * Last Modified : Do 10 Okt 2013 17:12:18 CEST
19 | * Created By : Friedrich Hust
20 | _._._._._._._._._._._._._._._._._._._._._.*/
21 | #ifndef _TOLOWER_
22 | #define _TOLOWER_
23 | #include
24 |
25 | namespace misc
26 | {
27 | /// Converts the input string to a lower string which is given back as shared array
28 | boost::shared_array< char > ToLower( const char *input );
29 | }
30 | #endif /* _TOLOWER_ */
31 |
--------------------------------------------------------------------------------
/src/object/const_obj.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
16 | * File Name : const_obj.cpp
17 | * Creation Date : 31-10-2012
18 | * Last Modified : Mi 04 Feb 2015 11:54:52 CET
19 | * Created By : Friedrich Hust
20 | _._._._._._._._._._._._._._._._._._._._._.*/
21 |
22 | #include "const_obj.h"
23 | template class object::ConstObj;
24 |
--------------------------------------------------------------------------------
/src/object/lookup_obj1d.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
16 | * File Name : lookup_obj1d.cpp
17 | * Creation Date : 31-10-2012
18 | * Last Modified : Mon 05 Nov 2012 12:06:15 PM CET
19 | * Created By : Friedrich Hust
20 | _._._._._._._._._._._._._._._._._._._._._.*/
21 | #include "lookup_obj1d.h"
22 |
23 | template class object::LookupObj1D;
24 |
--------------------------------------------------------------------------------
/src/object/lookup_obj1d_with_state.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
16 | * File Name : lookup_obj1d_with_state.cpp
17 | * Creation Date : 12-11-2012
18 | * Last Modified : Tue 13 Nov 2012 12:27:37 AM CET
19 | * Created By : Friedrich Hust
20 | _._._._._._._._._._._._._._._._._._._._._.*/
21 |
22 | #include "lookup_obj1d_with_state.h"
23 |
24 | template class object::LookupObj1dWithState;
25 |
26 |
--------------------------------------------------------------------------------
/src/object/lookup_obj2d.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
16 | * File Name : lookup_obj2d.h
17 | * Creation Date : 31-10-2012
18 | * Last Modified : Mon 12 Nov 2012 02:08:50 PM CET
19 | * Created By : Friedrich Hust
20 | _._._._._._._._._._._._._._._._._._._._._.*/
21 |
22 | #include "lookup_obj2d.h"
23 |
24 | template class object::LookupObj2D;
25 |
--------------------------------------------------------------------------------
/src/object/lookup_obj2d_with_state.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
16 | * File Name : lookup_obj2d_with_state.cpp
17 | * Creation Date : 12-11-2012
18 | * Last Modified : Mon 12 Nov 2012 02:31:44 PM CET
19 | * Created By : Friedrich Hust
20 | _._._._._._._._._._._._._._._._._._._._._.*/
21 |
22 | #include "lookup_obj2d_with_state.h"
23 |
24 | template class object::LookupObj2dWithState;
25 |
--------------------------------------------------------------------------------
/src/object/multi_obj.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
16 | * File Name : multi_obj.cpp
17 | * Creation Date : 25-11-2016
18 | * Last Modified : Fr 25 Nov 2016 13:43:01 CET
19 | * Created By : Friedrich Hust
20 | _._._._._._._._._._._._._._._._._._._._._.*/
21 |
22 | #include "multi_obj.h"
23 | template class object::DivideObj< double >;
24 | template class object::MultiplyObj< double >;
25 | template class object::AdderObj< double >;
26 |
--------------------------------------------------------------------------------
/src/object/object.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
16 | * File Name : object.cpp
17 | * Creation Date : 31-08-2017
18 | * Last Modified :
19 | * Created By : Friedrich Hust
20 | _._._._._._._._._._._._._._._._._._._._._.*/
21 |
22 | #include "object.h"
23 | template class object::Object< double >;
24 |
--------------------------------------------------------------------------------
/src/observer/filter/decimatefilter.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "decimatefilter.h"
16 |
17 | namespace observer
18 | {
19 | template class DecimateFilterBase< myMatrixType, electrical::TwoPort, PreparationType< myMatrixType > >;
20 | template class DecimateFilterBase< double, thermal::ThermalElement, ThermalPreperation >;
21 | }
22 |
--------------------------------------------------------------------------------
/src/observer/filter/filter.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "filter.h"
16 | #include "../../thermal/blocks/elements/thermal_element.h"
17 | #include "../../electrical/twoport.h"
18 |
19 | template class observer::Filter< myMatrixType, electrical::TwoPort, observer::PreparationType< myMatrixType > >;
20 | template class observer::Filter< double, thermal::ThermalElement, observer::ThermalPreperation >;
21 |
--------------------------------------------------------------------------------
/src/observer/filter/matlabFilter.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
16 | * File Name : matlabFilter.cpp
17 | * Creation Date : 18-11-2012
18 | * Last Modified : Mo 06 Jun 2016 13:25:42 CEST
19 | * Created By : Friedrich Hust
20 | _._._._._._._._._._._._._._._._._._._._._.*/
21 |
22 | #include "matlabFilter.h"
23 |
24 | #ifndef __NO_STRING__
25 |
26 | template class observer::MatlabFilterTwoPort< myMatrixType >;
27 | template class observer::MatlabFilterThermal< double >;
28 |
29 | #endif /* __NO_STRING__ */
30 |
--------------------------------------------------------------------------------
/src/observer/filter/stdoutfilter.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
16 | * File Name : stdoutfilter.cpp
17 | * Creation Date : 18-11-2012
18 | * Last Modified : Fr 04 Sep 2015 10:35:05 CEST
19 | * Created By : Friedrich Hust
20 | _._._._._._._._._._._._._._._._._._._._._.*/
21 | #include "stdoutfilter.h"
22 |
23 | namespace observer
24 | {
25 | #ifndef __NO_STRING__
26 | template class StdoutFilterBase< myMatrixType, electrical::TwoPort, PreparationType< myMatrixType > >;
27 | #endif
28 | }
29 |
--------------------------------------------------------------------------------
/src/observer/filter/vcpfilter.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "vcpfilter.h"
16 |
17 | template class observer::VCPFilter< myMatrixType >;
18 |
19 |
20 |
--------------------------------------------------------------------------------
/src/observer/observer.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "observer.h"
16 | #include "../thermal/blocks/elements/thermal_element.h"
17 | #include "../electrical/twoport.h"
18 |
19 | template class observer::Observer< myMatrixType, electrical::TwoPort >;
20 | template class observer::Observer< double, thermal::ThermalElement >;
21 |
--------------------------------------------------------------------------------
/src/observer/thermal_observer.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "thermal_observer.h"
16 |
17 | template class observer::ThermalObserver< double >;
18 |
--------------------------------------------------------------------------------
/src/observer/twoPortObserver.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
16 | * File Name : twoPortObserver.cpp
17 | * Creation Date : 31-08-2015
18 | * Last Modified : Mo 31 Aug 2015 17:22:31 CEST
19 | * Created By : Friedrich Hust
20 | _._._._._._._._._._._._._._._._._._._._._.*/
21 |
22 | #include "twoPortObserver.h"
23 | namespace observer
24 | {
25 | template class TwoPortObserver< myMatrixType >;
26 | }
27 |
--------------------------------------------------------------------------------
/src/operators/vectorOperator.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
16 | * File Name : vectorOperator.cpp
17 | * Creation Date : 11-11-2012
18 | * Last Modified : Sun 11 Nov 2012 01:37:28 AM CET
19 | * Created By : Friedrich Hust
20 | _._._._._._._._._._._._._._._._._._._._._.*/
21 | #include "vectorOperator.h"
22 |
23 | template std::vector operator*( std::vector vec, const double scalar);
24 | template std::vector< std::vector< double > > operator*( std::vector< std::vector< double > > vec, const double scalar);
25 |
26 |
--------------------------------------------------------------------------------
/src/scenariotest/scenarioData/data_kokam_13Ah_pulse_electrical.mat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/FHust/ISEAFramework/f6a3122c63e76f4bbed81aa47a10df81b66eae95/src/scenariotest/scenarioData/data_kokam_13Ah_pulse_electrical.mat
--------------------------------------------------------------------------------
/src/scenariotest/scenarioData/data_wima_2700F_pulse_electrical.mat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/FHust/ISEAFramework/f6a3122c63e76f4bbed81aa47a10df81b66eae95/src/scenariotest/scenarioData/data_wima_2700F_pulse_electrical.mat
--------------------------------------------------------------------------------
/src/states/thermal_state.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "thermal_state.h"
16 |
17 | template class state::ThermalState;
18 |
--------------------------------------------------------------------------------
/src/states/valueStateWrapper.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
16 | * File Name : valueStateWrapper.cpp
17 | * Creation Date : 20-02-2014
18 | * Last Modified : Do 20 Feb 2014 14:53:18 CET
19 | * Created By : Friedrich Hust
20 | _._._._._._._._._._._._._._._._._._._._._.*/
21 | #include "valueStateWrapper.h"
22 | template class state::ValueStateWrapper< double >;
23 |
--------------------------------------------------------------------------------
/src/stub/armadillo.h:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
16 | * File Name : armadillo.h
17 | * Creation Date : 26-04-2013
18 | * Last Modified : Fr 26 Apr 2013 15:45:47 CEST
19 | * Created By : Friedrich Hust
20 | _._._._._._._._._._._._._._._._._._._._._.*/
21 |
22 | namespace arma
23 | {
24 | template < typename T >
25 | class Mat;
26 | template < typename T >
27 | class SpMat;
28 | }
29 |
--------------------------------------------------------------------------------
/src/system/generalizedsystem.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
16 | * File Name : generalizedSystem.cpp
17 | * Creation Date : 03-09-2014
18 | * Created By : Fabian Frie
19 | _._._._._._._._._._._._._._._._._._._._._.*/
20 | #include "generalizedsystem.h"
21 |
22 |
23 | template class systm::GeneralizedSystem< myMatrixType >;
24 |
--------------------------------------------------------------------------------
/src/system/generalizedsystem.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/FHust/ISEAFramework/f6a3122c63e76f4bbed81aa47a10df81b66eae95/src/system/generalizedsystem.h
--------------------------------------------------------------------------------
/src/system/linAlg_sys.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
16 | * File Name : generalizedSystem.cpp
17 | * Creation Date : 03-09-2014
18 | * Created By : Fabian Frie
19 | _._._._._._._._._._._._._._._._._._._._._.*/
20 | #include "linAlg_sys.h"
21 |
22 |
23 | template class systm::LinAlgSystem< myMatrixType >;
24 |
--------------------------------------------------------------------------------
/src/system/stateSystemGroup.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /*
16 | * systemlinearequationsgroup.cpp
17 | *
18 | * Created on: 03.11.2013
19 | * Author: chris
20 | */
21 |
22 | #include "stateSystemGroup.h"
23 |
24 | template class systm::StateSystemGroup< myMatrixType >;
25 |
--------------------------------------------------------------------------------
/src/system/system.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /*
16 | * system.cpp
17 | *
18 | * Created on: 08.12.2013
19 | * Author: chris
20 | */
21 |
22 | #include "system.h"
23 |
24 | template class systm::System< myMatrixType >;
25 |
--------------------------------------------------------------------------------
/src/thermal/blocks/elements/cutcyl_element.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "cutcyl_element.h"
16 |
17 | template class thermal::CutCylElement;
18 |
--------------------------------------------------------------------------------
/src/thermal/blocks/elements/cylindric_element.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "cylindric_element.h"
16 |
17 | template class thermal::CylindricElement;
18 |
--------------------------------------------------------------------------------
/src/thermal/blocks/elements/rectangular_element.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "rectangular_element.h"
16 |
17 | template class thermal::RectangularElement;
18 |
--------------------------------------------------------------------------------
/src/thermal/blocks/elements/thermal_element.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "thermal_element.h"
16 |
17 | template class thermal::ThermalElement;
18 |
19 |
--------------------------------------------------------------------------------
/src/thermal/blocks/elements/triangular_element.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "triangular_element.h"
16 |
17 | template class thermal::TriangularElement;
--------------------------------------------------------------------------------
/src/thermal/blocks/hexagonal_cell_block.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "hexagonal_cell_block.h"
16 |
17 | template class thermal::HexagonalCellBlock;
18 |
--------------------------------------------------------------------------------
/src/thermal/blocks/quadratic_cell_block.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "quadratic_cell_block.h"
16 |
17 | template class thermal::QuadraticCellBlock;
18 |
--------------------------------------------------------------------------------
/src/thermal/blocks/rectangular_block.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "rectangular_block.h"
16 |
17 | template class thermal::RectangularBlock;
18 |
--------------------------------------------------------------------------------
/src/thermal/blocks/supercap.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "supercap.h"
16 |
17 | template class thermal::Supercap;
18 |
--------------------------------------------------------------------------------
/src/thermal/blocks/triangular_prism_block.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "triangular_prism_block.h"
16 |
17 | template class thermal::TriangularPrismBlock;
18 |
--------------------------------------------------------------------------------
/src/thermal/boundaryConditions/cooling.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "cooling.h"
16 |
17 | template class thermal::Radiation;
18 | template class thermal::CoolingByLookUp;
19 | template class thermal::CoolingByConstantValue;
20 | template class thermal::DirichletBoundaryCondition;
21 |
--------------------------------------------------------------------------------
/src/thermal/boundaryConditions/cooling_block.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "cooling_block.h"
16 |
17 | template class thermal::CoolingHorizontalPlane;
18 | template class thermal::CoolingVerticalPlane;
19 | template class thermal::CoolingPrismatic;
20 |
--------------------------------------------------------------------------------
/src/thermal/boundaryConditions/default_convection.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "default_convection.h"
16 |
17 | template class thermal::ConvectionByFormula;
18 | template class thermal::ConvectionByLookUp;
19 |
--------------------------------------------------------------------------------
/src/thermal/electrical_simulation.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "electrical_simulation.h"
16 | #include "../misc/matrixInclude.h"
17 |
18 | template class simulation::ElectricalSimulation< myMatrixType, double, true >;
19 | template class simulation::ElectricalSimulation< myMatrixType, double, false >;
20 |
--------------------------------------------------------------------------------
/src/thermal/jagged_array.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "jagged_array.h"
16 | #include "thermal_structs.h"
17 |
18 | namespace thermal
19 | {
20 |
21 | template class JaggedArray >;
22 | template class JaggedArray >;
23 |
24 | }
25 |
--------------------------------------------------------------------------------
/src/thermal/materials/material.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "material.h"
16 |
17 | template class thermal::Material;
18 |
--------------------------------------------------------------------------------
/src/thermal/ode_system_thermal.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "ode_system_thermal.h"
16 |
17 | template class thermal::OdeSystemThermal;
18 |
--------------------------------------------------------------------------------
/src/thermal/thermal_model.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "thermal_model.h"
16 |
17 | template class thermal::ThermalModel;
18 |
--------------------------------------------------------------------------------
/src/thermal/thermal_simulation.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "thermal_simulation.h"
16 | #include "../misc/matrixInclude.h"
17 |
18 | template class simulation::ThermalSimulation< myMatrixType, double, false >;
19 |
--------------------------------------------------------------------------------
/src/thermal/thermal_structs.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "thermal_structs.h"
16 |
17 | namespace thermal
18 | {
19 |
20 | template struct TaylorData;
21 | template struct IndexedValue;
22 | template IndexedValue MakeIndexedValue(const size_t &index, const double &value);
23 | template struct IndexedArea;
24 | template struct Linearization;
25 |
26 | template struct IndexIs;
27 |
28 | const double globalMaxValue = 1000000000.0;
29 | const double globalMinValue = - globalMaxValue;
30 |
31 | }
32 |
--------------------------------------------------------------------------------
/src/threading/communicators/communicatorBase.h:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /*
16 | * CommunicatorBase.h
17 | *
18 | * Created on: 08.08.2013
19 | * Author: chris
20 | */
21 |
22 | #ifndef COMMUNICATORBASE_H_
23 | #define COMMUNICATORBASE_H_
24 |
25 | #include "../taskData.h"
26 | #include
27 |
28 | namespace threading
29 | {
30 | /// Functor for the ThreadedTask::RunTask method
31 | typedef boost::function< void( size_t workerID ) > RemoteTaskExecutionHandler;
32 |
33 | } /* namespace threading */
34 | #endif /* COMMUNICATORBASE_H_ */
35 |
--------------------------------------------------------------------------------
/src/threading/communicators/communicatorInclude.h:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /*
16 | * communicatorInclude.h
17 | *
18 | * Created on: 18.11.2013
19 | * Author: chris
20 | */
21 |
22 | #ifndef COMMUNICATORINCLUDE_H_
23 | #define COMMUNICATORINCLUDE_H_
24 |
25 | #include "dummyCommunicator.h"
26 |
27 | #ifdef BOOST_MPI
28 | #include "mpiCommunicator.h"
29 | #endif
30 |
31 | #ifdef BOOST_THREAD
32 | #include "threadCommunicator.h"
33 | #endif
34 |
35 | #endif /* COMMUNICATORINCLUDE_H_ */
36 |
--------------------------------------------------------------------------------
/src/threading/communicators/dummyCommunicator.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /*
16 | * dummyCommunicator.cpp
17 | *
18 | * Created on: 18.11.2013
19 | * Author: chris
20 | */
21 |
22 | #include "dummyCommunicator.h"
23 |
24 | namespace threading
25 | {
26 |
27 | } /* namespace threading */
28 |
--------------------------------------------------------------------------------
/src/threading/taskBase.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /*
16 | * taskBase.cpp
17 | *
18 | * Created on: 06.01.2014
19 | * Author: chris
20 | */
21 |
22 | #include "taskBase.h"
23 |
24 | namespace threading
25 | {
26 |
27 | } /* namespace threading */
28 |
--------------------------------------------------------------------------------
/src/threading/taskData.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /*
16 | * TaskData.cpp
17 | *
18 | * Created on: 08.08.2013
19 | * Author: chris
20 | */
21 |
22 | #include "taskData.h"
23 |
24 | //BOOST_SERIALIZATION_ASSUME_ABSTRACT(threading::TaskData)
25 | //BOOST_SERIALIZATION_SHARED_PTR(threading::TaskData)
26 | //BOOST_CLASS_EXPORT(threading::TaskData)
27 |
28 | namespace threading
29 | {
30 |
31 | } /* namespace threading */
32 |
--------------------------------------------------------------------------------
/src/threading/taskDataRegistration.txt:
--------------------------------------------------------------------------------
1 | /*
2 | * taskDataRegistration.cpp
3 | *
4 | * Created on: 18.11.2013
5 | * Author: chris
6 | */
7 |
8 | #include "taskData.h"
9 |
10 | BOOST_SERIALIZATION_SHARED_PTR(threading::TaskData)
11 | BOOST_CLASS_EXPORT(threading::TaskData)
12 |
--------------------------------------------------------------------------------
/src/threading/taskGroupData.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /*
16 | * taskGroupData.cpp
17 | *
18 | * Created on: 17.01.2014
19 | * Author: chris
20 | */
21 |
22 | #include "taskGroupData.h"
23 |
24 | namespace threading
25 | {
26 |
27 | } /* namespace threading */
28 |
--------------------------------------------------------------------------------
/src/threading/tasks/daetask/daeInputData.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /*
16 | * DAEInputData.cpp
17 | *
18 | * Created on: 14.08.2013
19 | * Author: chris
20 | */
21 |
22 | #ifdef BOOST_MPI
23 | #include "daeInputData.h"
24 | #include "../../../misc/matrixInclude.h"
25 |
26 |
27 | namespace threading { namespace daetask
28 | {
29 |
30 | template class DAEInputData;
31 |
32 | } }/* namespace threading */
33 |
34 | #endif /* BOOST_MPI */
35 |
--------------------------------------------------------------------------------
/src/threading/tasks/daetask/daeOutputData.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /*
16 | * DAEInputData.cpp
17 | *
18 | * Created on: 14.08.2013
19 | * Author: chris
20 | */
21 |
22 | #include "daeOutputData.h"
23 |
24 | namespace threading { namespace daetask
25 | {
26 |
27 | template class DAEOutputData;
28 |
29 | } } /* namespace threading */
30 |
--------------------------------------------------------------------------------
/src/threading/tasks/daetask/daeTaskDataRegistration.txt:
--------------------------------------------------------------------------------
1 | /*
2 | * daeTaskDataRegistration.cpp
3 | *
4 | * Created on: 18.11.2013
5 | * Author: chris
6 | */
7 |
8 |
9 |
10 | #ifdef BOOST_MPI
11 |
12 | #include "daeInputData.h"
13 | #include "daeOutputData.h"
14 | #include "../../../misc/matrixInclude.h"
15 |
16 | #include "../../../electrical/twoport.h"
17 |
18 | #include
19 | #include
20 |
21 |
22 | BOOST_SERIALIZATION_SHARED_PTR(threading::daetask::DAEInputData)
23 | BOOST_CLASS_EXPORT(threading::daetask::DAEInputData)
24 |
25 | BOOST_SERIALIZATION_SHARED_PTR(threading::daetask::DAEOutputData)
26 | BOOST_CLASS_EXPORT(threading::daetask::DAEOutputData)
27 |
28 | #endif //BOOST_MPI
29 |
30 |
31 |
--------------------------------------------------------------------------------
/src/threading/tasks/daetask/virtualTwoPort.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /*
16 | * virtualTwoPortMaster.cpp
17 | *
18 | * Created on: 22.10.2013
19 | * Author: fhu-cle
20 | */
21 |
22 | #if defined(BOOST_MPI) || defined(BOOST_THREAD)
23 | #include "virtualTwoPort.h"
24 |
25 | namespace threading { namespace daetask { } }; /* namespace threading */
26 |
27 | #endif /* defined(BOOST_MPI) || defined(BOOST_THREAD) */
28 |
--------------------------------------------------------------------------------
/src/threading/tasks/sampletask/sampleTask.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /*
16 | * sampleTask.cpp
17 | *
18 | * Created on: 08.08.2013
19 | * Author: chris
20 | */
21 |
22 | #include "sampleTask.h"
23 |
24 | namespace threading { namespace sampletask { } }; /* namespace threading */
25 |
--------------------------------------------------------------------------------
/src/threading/tasks/sampletask/sampleTaskDataRegistration.txt:
--------------------------------------------------------------------------------
1 | /*
2 | * sampleTaskDataRegistration.cpp
3 | *
4 | * Created on: 18.11.2013
5 | * Author: chris
6 | */
7 |
8 |
9 |
10 | #ifdef BOOST_MPI
11 |
12 | #include "sampleTaskInputData.h"
13 | #include "sampleTaskOutputData.h"
14 |
15 | #include
16 | #include
17 |
18 |
19 | BOOST_SERIALIZATION_SHARED_PTR(threading::sampletask::SampleTaskInputData)
20 | BOOST_CLASS_EXPORT(threading::sampletask::SampleTaskInputData)
21 |
22 | BOOST_SERIALIZATION_SHARED_PTR(threading::sampletask::SampleTaskOutputData)
23 | BOOST_CLASS_EXPORT(threading::sampletask::SampleTaskOutputData)
24 |
25 | #endif //BOOST_MPI
26 |
27 |
28 |
--------------------------------------------------------------------------------
/src/threading/tasks/sampletask/sampleTaskInputData.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /*
16 | * SampleTaskInputData.cpp
17 | *
18 | * Created on: 14.08.2013
19 | * Author: chris
20 | */
21 |
22 | #include "sampleTaskInputData.h"
23 |
24 | //BOOST_SERIALIZATION_SHARED_PTR(threading::SampleTaskInputData)
25 | //BOOST_CLASS_EXPORT(threading::SampleTaskInputData)
26 |
27 | namespace threading { namespace sampletask
28 | {
29 |
30 |
31 | } } /* namespace threading */
32 |
--------------------------------------------------------------------------------
/src/threading/tasks/sampletask/sampleTaskOutputData.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /*
16 | * SampleTaskOutputData.cpp
17 | *
18 | * Created on: 14.08.2013
19 | * Author: chris
20 | */
21 |
22 | #include "sampleTaskOutputData.h"
23 |
24 | //BOOST_SERIALIZATION_SHARED_PTR(threading::SampleTaskOutputData)
25 | //BOOST_CLASS_EXPORT(threading::SampleTaskOutputData)
26 |
27 | namespace threading { namespace sampletask
28 | {
29 |
30 | } } /* namespace threading */
31 |
--------------------------------------------------------------------------------
/src/time_series/current_profile.txt:
--------------------------------------------------------------------------------
1 | 0.0, 4.5
2 | 1.0, -1.0
3 | 1.0, -1.0
4 | 2.5, 0.0
5 | 10.0, 3.0
6 |
--------------------------------------------------------------------------------
/src/time_series/time_series.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #include "time_series.h"
16 | #include
17 |
18 | template class electrical::TimeSeries;
19 | template class electrical::TimeSeries;
20 |
--------------------------------------------------------------------------------
/src/unittests/container/emptyStructs.mat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/FHust/ISEAFramework/f6a3122c63e76f4bbed81aa47a10df81b66eae95/src/unittests/container/emptyStructs.mat
--------------------------------------------------------------------------------
/src/unittests/container/structWith2D.mat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/FHust/ISEAFramework/f6a3122c63e76f4bbed81aa47a10df81b66eae95/src/unittests/container/structWith2D.mat
--------------------------------------------------------------------------------
/src/unittests/container/structWithContent.mat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/FHust/ISEAFramework/f6a3122c63e76f4bbed81aa47a10df81b66eae95/src/unittests/container/structWithContent.mat
--------------------------------------------------------------------------------
/src/unittests/electrical/TestZarc.h:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
16 | * File Name : TestZarc.h
17 | * Creation Date : 11-11-2012
18 | * Last Modified : Fr 21 Feb 2014 10:45:57 CET
19 | * Created By : Friedrich Hust
20 | _._._._._._._._._._._._._._._._._._._._._.*/
21 | #ifndef _TESTZARC_
22 | #define _TESTZARC_
23 | #include
24 |
25 | class TestZarc : public CxxTest::TestSuite
26 | {
27 | public:
28 | void testZarcCreation();
29 | void testZarcOperations();
30 | };
31 | #endif /* _TESTZARC_ */
32 |
--------------------------------------------------------------------------------
/src/unittests/exceptions/testExceptions.h:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #ifndef _TESTEXCEPTIONS_
16 | #define _TESTEXCEPTIONS_
17 |
18 | #include
19 |
20 | class TestExceptions : public CxxTest::TestSuite
21 | {
22 |
23 | public:
24 | void TestOutput();
25 | };
26 |
27 | #endif
28 |
--------------------------------------------------------------------------------
/src/unittests/exceptions/testXmlFiles.h:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #ifndef _TESTXMLFILES_
16 | #define _TESTXMLFILES_
17 |
18 | #include
19 |
20 | class TestXmlFiles : public CxxTest::TestSuite
21 | {
22 |
23 | public:
24 | void TestErrosXmlFiles();
25 | };
26 |
27 | #endif
28 |
--------------------------------------------------------------------------------
/src/unittests/export/TestESBVisualization.h:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
16 | * File Name : TestESBVisualization.h
17 | * Creation Date : 09-01-2014
18 | * Last Modified : Di 24 Mär 2015 18:27:47 CET
19 | * Created By : Friedrich Hust
20 | _._._._._._._._._._._._._._._._._._._._._.*/
21 | #ifndef _TESTESBVISUALIZATION_
22 | #define _TESTESBVISUALIZATION_
23 | #include
24 |
25 | class TestESBVisualization : public CxxTest::TestSuite
26 | {
27 | public:
28 | void testXmlNetwork();
29 | };
30 |
31 | #endif /* _TESTESBVISUALIZATION_ */
32 |
--------------------------------------------------------------------------------
/src/unittests/misc/TestBoolVectorOper.h:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
16 | * File Name : TestBoolVectorOper.h
17 | * Creation Date : 02-11-2012
18 | * Last Modified : Fr 21 Feb 2014 11:38:04 CET
19 | * Created By : Friedrich Hust
20 | _._._._._._._._._._._._._._._._._._._._._.*/
21 | #ifndef _TESTBOOLVECOPER_
22 | #define _TESTBOOLVECOPER_
23 | #include
24 |
25 | class TestBoolVectorOperation : public CxxTest::TestSuite
26 | {
27 | public:
28 | void TestOperation();
29 | };
30 | #endif /* _TESTBOOLVECOPER_ */
31 |
--------------------------------------------------------------------------------
/src/unittests/misc/TestCmp_str.h:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #ifndef _TESTCMP_STR_
16 | #define _TESTCMP_STR_
17 | #include
18 |
19 | class TestCmp_Str : public CxxTest::TestSuite
20 | {
21 | public:
22 | void TestCmpStr();
23 | };
24 | #endif /* _TESTTOLOWER_ */
25 |
--------------------------------------------------------------------------------
/src/unittests/misc/TestFastCopyMatrix.h:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #ifndef _TESTFASTCOPYMATRIX_
16 | #define _TESTFASTCOPYMATRIX_
17 | #include
18 |
19 | class TestFastCopyMatrix : public CxxTest::TestSuite
20 | {
21 | public:
22 | void TestFastCopyMatEqualSize();
23 | void TestFastCopyMatUnequalSize();
24 | void TestFastCopyVecToMat();
25 | void TestFastCopyVecToMatUnequalSize();
26 |
27 | void TestMergeOfTwoMatrixes();
28 | };
29 | #endif // _TESTFASTCOPYMATRIX_
30 |
--------------------------------------------------------------------------------
/src/unittests/misc/TestGetPositionInVector.h:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
16 | * File Name : TestToLower.h
17 | * Creation Date : 10-10-2013
18 | * Last Modified : Fr 21 Feb 2014 11:56:58 CET
19 | * Created By : Friedrich Hust
20 | _._._._._._._._._._._._._._._._._._._._._.*/
21 | #ifndef _TEST_POSITION_IN_VECTOR_
22 | #define _TEST_POSITION_IN_VECTOR_
23 | #include
24 |
25 | class TestGetPositionInVector : public CxxTest::TestSuite
26 | {
27 | public:
28 | void TestRun();
29 | };
30 | #endif /* _TESTTOLOWER_ */
31 |
--------------------------------------------------------------------------------
/src/unittests/misc/TestMapGetSet.h:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
16 | * File Name : TestMapGetSet.h
17 | * Creation Date : 26-08-2013
18 | * Last Modified : Fr 21 Feb 2014 11:55:40 CET
19 | * Created By : Friedrich Hust
20 | _._._._._._._._._._._._._._._._._._._._._.*/
21 | #ifndef _TESTMAPGETSET_
22 | #define _TESTMAPGETSET_
23 | #include
24 |
25 | class TestMapGetSet : public CxxTest::TestSuite
26 | {
27 | public:
28 | void TestCreate();
29 | void TestAddGet();
30 | };
31 |
32 | #endif /* _TESTMAPGETSET_ */
33 |
--------------------------------------------------------------------------------
/src/unittests/misc/TestSlice.h:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
16 | * File Name : TestSlice.h
17 | * Creation Date : 08-04-2015
18 | * Last Modified : Mi 15 Apr 2015 11:34:17 CEST
19 | * Created By : Friedrich Hust
20 | _._._._._._._._._._._._._._._._._._._._._.*/
21 | #ifndef _TESTSLICE_
22 | #define _TESTSLICE_
23 | #include
24 |
25 | /// DESCRIPTION
26 | class TestSlice : public CxxTest::TestSuite
27 | {
28 | public:
29 | void TestSliceCreation();
30 | void TestSliceEditing();
31 | };
32 | #endif /* _TESTSLICE_ */
33 |
--------------------------------------------------------------------------------
/src/unittests/misc/TestStrCont.h:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #ifndef _TESTSTRCONT_
16 | #define _TESTSTRCONT_
17 |
18 | #include
19 |
20 |
21 | class TestStrCont : public CxxTest::TestSuite
22 | {
23 | public:
24 | void TestStringContainer();
25 |
26 | private:
27 | protected:
28 | };
29 |
30 | #endif
31 |
--------------------------------------------------------------------------------
/src/unittests/misc/TestSymbolic.h:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #ifndef _TESTSYMBOLIC_
16 | #define _TESTSYMBOLIC_
17 |
18 | #include
19 |
20 |
21 | class TestSymbolic : public CxxTest::TestSuite
22 | {
23 | public:
24 | void TestSymbolicUnit();
25 | void TestSymbolicMatrix();
26 |
27 | private:
28 | protected:
29 | };
30 |
31 | #endif
32 |
--------------------------------------------------------------------------------
/src/unittests/misc/TestToLower.h:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
16 | * File Name : TestToLower.h
17 | * Creation Date : 10-10-2013
18 | * Last Modified : Fr 21 Feb 2014 11:56:58 CET
19 | * Created By : Friedrich Hust
20 | _._._._._._._._._._._._._._._._._._._._._.*/
21 | #ifndef _TESTTOLOWER_
22 | #define _TESTTOLOWER_
23 | #include
24 |
25 | class TestToLower : public CxxTest::TestSuite
26 | {
27 | public:
28 | void TestToLow();
29 | };
30 | #endif /* _TESTTOLOWER_ */
31 |
--------------------------------------------------------------------------------
/src/unittests/object/TestConstObj.h:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
16 | * File Name : TestConstObj.h
17 | * Creation Date : 31-10-2012
18 | * Last Modified : Fr 21 Feb 2014 11:58:02 CET
19 | * Created By : Friedrich Hust
20 | _._._._._._._._._._._._._._._._._._._._._.*/
21 | #ifndef _TESTCONSTOBJ_
22 | #define _TESTCONSTOBJ_
23 | #include
24 |
25 | class TestConstObj : public CxxTest::TestSuite
26 | {
27 | public:
28 | void testConstObjectCreate();
29 | void testConstObjectGetValue();
30 | };
31 | #endif /* _TESTCONSTOBJ_ */
32 |
--------------------------------------------------------------------------------
/src/unittests/object/TestMultiObj.h:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
16 | * File Name : TestMultiObj.h
17 | * Creation Date : 25-11-2016
18 | * Last Modified : Fr 25 Nov 2016 13:44:19 CET
19 | * Created By : Friedrich Hust
20 | _._._._._._._._._._._._._._._._._._._._._.*/
21 | #ifndef _TESTMULTIOBJ_
22 | #define _TESTMULTIOBJ_
23 | #include
24 |
25 | class TestMultiObj : public CxxTest::TestSuite
26 | {
27 | public:
28 | void testMultiObjectGetValue();
29 | };
30 |
31 | #endif /* _TESTMULTIOBJ_ */
32 |
--------------------------------------------------------------------------------
/src/unittests/states/TestSoc.h:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
16 | * File Name : TestSoc.h
17 | * Creation Date : 11-11-2012
18 | * Last Modified : Fr 21 Feb 2014 12:14:02 CET
19 | * Created By : Friedrich Hust
20 | _._._._._._._._._._._._._._._._._._._._._.*/
21 | #ifndef _TESTSOC_
22 | #define _TESTSOC_
23 | #include
24 | class TestSoc : public CxxTest::TestSuite
25 | {
26 | public:
27 | void testSocCreation();
28 | void testSocOperations();
29 | };
30 | #endif /* _TESTSOC_ */
31 |
--------------------------------------------------------------------------------
/src/unittests/states/TestSurfaceSoc.h:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
16 | * File Name : TestSurfaceSoc.h
17 | * Creation Date : 30-06-2014
18 | * Last Modified : Mo 07 Jul 2014 11:14:59 CEST
19 | * Created By : Friedrich Hust
20 | _._._._._._._._._._._._._._._._._._._._._.*/
21 | #ifndef _TESTSURFACESOC_
22 | #define _TESTSURFACESOC_
23 |
24 | #include
25 | class TestSurfaceSoc : public CxxTest::TestSuite
26 | {
27 | public:
28 | void testCreation();
29 | void testCreation1DLookup();
30 | };
31 | #endif /* _TESTSURFACESOC_ */
32 |
--------------------------------------------------------------------------------
/src/unittests/states/TestThermalStates.h:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #ifndef _TESTSTATE_
16 | #define _TESTSTATE_
17 |
18 | #include
19 | #include
20 | #include
21 | #include "../../states/thermal_state.h"
22 |
23 |
24 | class TestState : public CxxTest::TestSuite
25 | {
26 | public:
27 | void TestThermalState();
28 |
29 | private:
30 | protected:
31 | };
32 |
33 | #endif
34 |
--------------------------------------------------------------------------------
/src/unittests/thermal/TestMaterials.h:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #ifndef _TESTMATERIAL_
16 | #define _TESTMATERIAL_
17 |
18 | #include
19 | #include
20 | #include "../../thermal/materials/material.h"
21 |
22 |
23 | class TestMaterials : public CxxTest::TestSuite
24 | {
25 | public:
26 | void TestMaterial();
27 |
28 | private:
29 | protected:
30 | };
31 |
32 | #endif
33 |
--------------------------------------------------------------------------------
/src/unittests/thermal/TestOdeSystemThermal.h:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #ifndef _TESTODE_SYSTEM_THERMAL_
16 | #define _TESTODE_SYSTEM_THERMAL_
17 | #include
18 |
19 | class TestOdeSystemThermal : public CxxTest::TestSuite
20 | {
21 | public:
22 | void TestOdeSystem2RectangularBlocks();
23 |
24 | private:
25 | protected:
26 | };
27 |
28 | #endif
29 |
--------------------------------------------------------------------------------
/src/unittests/thermal/TestThermalStructs.h:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #ifndef _TESTHERMALSTRUCTS_
16 | #define _TESTHERMALSTRUCTS_
17 |
18 | #include
19 | #include "../../thermal/thermal_structs.h"
20 | #include "../../thermal/jagged_array.h"
21 |
22 |
23 | class TestThermalStructs : public CxxTest::TestSuite
24 | {
25 | public:
26 | void TestStructs();
27 | void TestJaggedArray();
28 |
29 | private:
30 | protected:
31 | };
32 |
33 | #endif
34 |
--------------------------------------------------------------------------------
/src/unittests/xml/TestFactoryMultipleCellElements.h:
--------------------------------------------------------------------------------
1 | /*
2 | This program is free software: you can redistribute it and/or modify
3 | it under the terms of the GNU General Public License as published by
4 | the Free Software Foundation, either version 3 of the License, or
5 | any later version.
6 |
7 | This program is distributed in the hope that it will be useful,
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | GNU General Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see http://www.gnu.org/licenses/.
14 | */
15 | #ifndef _TESTFACTORYLOOKUPCELLELEMENTS_
16 | #define _TESTFACTORYLOOKUPCELLELEMENTS_
17 |
18 | #include
19 |
20 |
21 | class TestFactoryLookUpCellElements : public CxxTest::TestSuite
22 | {
23 | public:
24 | void TestGetElectricalDiscretization();
25 | void TestStateFactory();
26 | void TestObjectFactory();
27 | void TestElectricalFactory();
28 | void TestThermalFactory();
29 |
30 | private:
31 | protected:
32 | };
33 |
34 | #endif
35 |
--------------------------------------------------------------------------------
/src/unittests/xml/TestXmlParser.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/toolchain_files/ToolchainWin32.cmake:
--------------------------------------------------------------------------------
1 | SET(CMAKE_SYSTEM_NAME Windows)
2 | SET(CMAKE_SYSTEM_PROCESSOR "32")
3 |
4 | # which compilers to use for C and C++
5 | SET(CMAKE_C_COMPILER i686-w64-mingw32-gcc)
6 | SET(CMAKE_CXX_COMPILER i686-w64-mingw32-g++)
7 | SET(CMAKE_RC_COMPILER i686-w64-mingw32-windres)
8 |
9 | # here is the target environment located
10 | SET(CMAKE_FIND_ROOT_PATH /usr/i686-w64-mingw32 )
11 |
12 | # adjust the default behaviour of the FIND_XXX() commands:
13 | # search headers and libraries in the target environment, search
14 | # programs in the host environment
15 | set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
16 | set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
17 | set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
18 |
--------------------------------------------------------------------------------
/toolchain_files/ToolchainWin64.cmake:
--------------------------------------------------------------------------------
1 | SET(CMAKE_SYSTEM_NAME Windows)
2 | SET(CMAKE_SYSTEM_PROCESSOR "64")
3 |
4 | # which compilers to use for C and C++
5 | SET(CMAKE_C_COMPILER x86_64-w64-mingw32-gcc)
6 | SET(CMAKE_CXX_COMPILER x86_64-w64-mingw32-g++)
7 | SET(CMAKE_RC_COMPILER x86_64-w64-mingw32-windres)
8 |
9 | # here is the target environment located
10 | SET(CMAKE_FIND_ROOT_PATH /usr/x86_64-w64-mingw32/ )
11 |
12 | # adjust the default behaviour of the FIND_XXX() commands:
13 | # search headers and libraries in the target environment, search
14 | # programs in the host environment
15 | set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
16 | set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
17 | set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
18 |
--------------------------------------------------------------------------------