Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91364265
eqcurve_coupler.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
Sun, Nov 10, 09:10
Size
1 KB
Mime Type
text/x-c++
Expires
Tue, Nov 12, 09:10 (2 d)
Engine
blob
Format
Raw Data
Handle
22250628
Attached To
rSPECMICP SpecMiCP / ReactMiCP
eqcurve_coupler.hpp
View Options
#ifndef SPECMICP_REACTMICP_EQCURVECOUPLER_HPP
#define SPECMICP_REACTMICP_EQCURVECOUPLER_HPP
#include "eqcurve_extractor.hpp"
#include "dfpm/meshes/mesh1dfwd.hpp"
#include "dfpm/1dtransport/diffusion.hpp"
#include "dfpmsolver/parabolic_driver.hpp"
namespace
specmicp
{
namespace
dfpm
{
class
SaturatedDiffusion1DParameters
;
}
// end namespace dfpm
namespace
reactmicp
{
namespace
eqcurve
{
class
EquilibriumCurveCoupler
{
public
:
EquilibriumCurveCoupler
(
Matrix
&
eq_curve
,
mesh
::
Mesh1DPtr
the_mesh
,
dfpmsolver
::
ParabolicDriverOptions
options
);
void
run_step
(
scalar_t
timestep
);
Vector
&
solid_concentrations
()
{
return
m_solid_concentrations
;}
Vector
&
aqueous_concentrations
()
{
return
m_aqueous_concentrations
;}
void
chemistry_step
();
private
:
EquilibriumCurveExtractor
m_eqcurve
;
mesh
::
Mesh1DPtr
m_mesh
;
std
::
shared_ptr
<
dfpm
::
SaturatedDiffusion1DParameters
>
m_param
;
Vector
m_aqueous_concentrations
;
Vector
m_solid_concentrations
;
dfpm
::
SaturatedDiffusion1D
m_transport_program
;
dfpmsolver
::
ParabolicDriver
<
dfpm
::
SaturatedDiffusion1D
>
m_transport_solver
;
};
}
// end namespace eqcurve
}
// end namespace reactmicp
}
// end namespace specmicp
#endif
// SPECMICP_REACTMICP_EQCURVECOUPLER_HPP
Event Timeline
Log In to Comment