Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F71038042
adimensional_system_structs.hpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Jul 8, 22:02
Size
969 B
Mime Type
text/x-c
Expires
Wed, Jul 10, 22:02 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
18881758
Attached To
rSPECMICP SpecMiCP / ReactMiCP
adimensional_system_structs.hpp
View Options
#ifndef SPECMICP_SPECMICP_ADIMENSIONALSYSTEMSTRUCTS_HPP
#define SPECMICP_SPECMICP_ADIMENSIONALSYSTEMSTRUCTS_HPP
#include "common.hpp"
namespace
specmicp
{
struct
AdimensionalSystemOptions
{
bool
conservation_water
;
//!< Solve the conservation of water
index_t
charge_keeper
;
//!< Index of species used for charge balance
bool
non_ideality
;
//!< Solve for non ideality
scalar_t
non_ideality_tolerance
;
//!< Tolerance for non ideality
index_t
non_ideality_max_iter
;
//!< Max iterations fornon ideality
scalar_t
under_relaxation_factor
;
//!< Under relaxation factor for the conservation of water
AdimensionalSystemOptions
()
:
conservation_water
(
true
),
charge_keeper
(
no_species
),
non_ideality
(
true
),
non_ideality_tolerance
(
1e-8
),
non_ideality_max_iter
(
10
),
under_relaxation_factor
(
0.9
)
{}
};
}
// end namespace specmicp
#endif
// SPECMICP_SPECMICP_ADIMENSIONALSYSTEMSTRUCTS_HPP
Event Timeline
Log In to Comment