Skip to content
Snippets Groups Projects
Commit ac38a707 authored by renchao.lu's avatar renchao.lu
Browse files

[PL/RCT] create media map.

parent dbcc9767
No related branches found
No related tags found
No related merge requests found
......@@ -9,9 +9,11 @@
*/
#include "CreateRichardsComponentTransportProcess.h"
#include "CreatePorousMediaProperties.h"
#include "MaterialLib/Fluid/FluidProperties/CreateFluidProperties.h"
#include "MaterialLib/MPL/CreateMaterialSpatialDistributionMap.h"
#include "MaterialLib/MPL/MaterialSpatialDistributionMap.h"
#include "ParameterLib/ConstantParameter.h"
#include "ParameterLib/Utils.h"
#include "ProcessLib/Output/CreateSecondaryVariables.h"
......@@ -151,6 +153,9 @@ std::unique_ptr<Process> createRichardsComponentTransportProcess(
std::copy_n(b.data(), b.size(), specific_body_force.data());
}
auto media_map =
MaterialPropertyLib::createMaterialSpatialDistributionMap(media, mesh);
RichardsComponentTransportProcessData process_data{
std::move(porous_media_properties),
fluid_reference_density,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment