Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F81206269
transport_program.cpp
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
Wed, Sep 4, 18:18
Size
949 B
Mime Type
text/x-c
Expires
Fri, Sep 6, 18:18 (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
20528683
Attached To
rSPECMICP SpecMiCP / ReactMiCP
transport_program.cpp
View Options
#include "catch.hpp"
#include "utils.hpp"
#include "dfpm/meshes/uniform_mesh1d.hpp"
#include "reactmicp/systems/saturated_diffusion/transport_program.hpp"
#include "reactmicp/systems/saturated_diffusion/transport_parameters.hpp"
using namespace specmicp;
using namespace specmicp::reactmicp;
using namespace specmicp::reactmicp::systems;
using namespace specmicp::reactmicp::systems::siasaturated;
TEST_CASE("Transport program", "[Transport, Diffusion, Finite Element, Solver]") {
std::shared_ptr<database::DataContainer> database = get_test_carbo_database();
int nb_nodes = 5;
EquilibriumState initial_state = sample_carbo_composition(database);
mesh::Mesh1DPtr themesh = mesh::uniform_mesh1d(nb_nodes, 1e-3, 0.001);
auto parameters = std::make_shared<SaturatedDiffusionTransportParameters>(nb_nodes, 1e-6, 0.2);
SECTION("Initialization") {
SaturatedDiffusionProgram(themesh, database, parameters);
}
}
Event Timeline
Log In to Comment