b2api
B2000++ API Reference Manual, VERSION 4.6
 
Loading...
Searching...
No Matches
b2type.H
Go to the documentation of this file.
1//------------------------------------------------------------------------
2// b2type.H --
3//
4//
5// written by Mathias Doreille
6//
7// Copyright (c) 2004-2012 SMR Engineering & Development SA
8// 2502 Bienne, Switzerland
9//
10// All Rights Reserved. Proprietary source code. The contents of
11// this file may not be disclosed to third parties, copied or
12// duplicated in any form, in whole or in part, without the prior
13// written permission of SMR.
14//------------------------------------------------------------------------
15
16#ifndef __B2TYPE_H__
17#define __B2TYPE_H__
18
19#include <cstddef>
20
21#include "b2ppconfig.h"
22
28namespace b2000 {
29
31typedef double coor_type;
32
75 signed char input_level_, signed char output_level_,
76 double distance_to_iterative_convergence_ = -1)
77 : distance_to_iterative_convergence(distance_to_iterative_convergence_),
78 input_level(input_level_),
79 output_level(output_level_) {}
80
84
89 operator bool() const { return output_level == 0; }
90
97
99 signed char input_level;
100
102 signed char output_level;
103};
104
105} // namespace b2000
106
107#endif
Contains the base classes for implementing Finite Elements.
Definition b2boundary_condition.H:32
double coor_type
Definition b2type.H:31
Definition b2type.H:72
EquilibriumSolution(bool b)
Definition b2type.H:82
EquilibriumSolution(signed char input_level_, signed char output_level_, double distance_to_iterative_convergence_=-1)
Definition b2type.H:74
signed char input_level
Definition b2type.H:99
signed char output_level
Definition b2type.H:102
double distance_to_iterative_convergence
Definition b2type.H:96