Skip to content

Commit

Permalink
updates DomainFunction usage to use getType() instead of name()
Browse files Browse the repository at this point in the history
  • Loading branch information
ecoon committed Mar 5, 2024
1 parent 05b7aa0 commit 0d9d2c2
Show file tree
Hide file tree
Showing 10 changed files with 69 additions and 275 deletions.
1 change: 0 additions & 1 deletion src/pks/CMakeLists.txt
Expand Up @@ -52,7 +52,6 @@ add_amanzi_library(ats_pks
add_subdirectory(energy)
add_subdirectory(flow)
add_subdirectory(transport)
add_subdirectory(transport/sediment_transport)
add_subdirectory(deform)
add_subdirectory(surface_balance)
add_subdirectory(biogeochemistry)
Expand Down
38 changes: 34 additions & 4 deletions src/pks/transport/CMakeLists.txt
Expand Up @@ -5,10 +5,6 @@
# Transport Amanzi
#


# ATS include directories
#add_subdirectory(sediment_transport)

#================================================
# register evaluators/factories/pks

Expand All @@ -25,11 +21,21 @@ set(ats_transport_src_files
transport_ats_vandv.cc
transport_ats_initialize.cc
transport_ats_pk.cc
# sediment_transport/sediment_transport_pk.cc
# sediment_transport/erosion_evaluator.cc
# sediment_transport/settlement_evaluator.cc
# sediment_transport/trapping_evaluator.cc
# sediment_transport/organic_matter_evaluator.cc
)


set(ats_transport_inc_files
transport_ats.hh
# sediment_transport/sediment_transport_pk.hh
# sediment_transport/erosion_evaluator.hh
# sediment_transport/settlement_evaluator.hh
# sediment_transport/trapping_evaluator.hh
# sediment_transport/organic_matter_evaluator.hh
)


Expand Down Expand Up @@ -68,6 +74,30 @@ register_evaluator_with_factory(
LISTNAME ATS_TRANSPORT_REG
)

# register_evaluator_with_factory(
# HEADERFILE sediment_transport/sediment_transport_reg.hh
# LISTNAME ATS_TRANSPORT_REG
# )

# # sediment diposition and erosion rates
# register_evaluator_with_factory(
# HEADERFILE sediment_transport/erosion_evaluator_reg.hh
# LISTNAME ATS_TRANSPORT_REG
# )
# register_evaluator_with_factory(
# HEADERFILE sediment_transport/settlement_evaluator_reg.hh
# LISTNAME ATS_TRANSPORT_REG
# )
# register_evaluator_with_factory(
# HEADERFILE sediment_transport/trapping_evaluator_reg.hh
# LISTNAME ATS_TRANSPORT_REG
# )
# register_evaluator_with_factory(
# HEADERFILE sediment_transport/organic_matter_evaluator_reg.hh
# LISTNAME ATS_TRANSPORT_REG
# )


generate_evaluators_registration_header(
HEADERFILE ats_transport_registration.hh
LISTNAME ATS_TRANSPORT_REG
Expand Down
121 changes: 0 additions & 121 deletions src/pks/transport/sediment_transport/CMakeLists.txt

This file was deleted.

Expand Up @@ -16,7 +16,7 @@
#define AMANZI_TRANSPORT_CONSTANTS_HH_

namespace Amanzi {
namespace SedimentTransport {
namespace Transport {

// const int TRANSPORT_PHASE_LIQUID = 0; // phases from 0 to 1
// const int TRANSPORT_PHASE_GAS = 1;
Expand Down
82 changes: 0 additions & 82 deletions src/pks/transport/sediment_transport/TransportDomainFunction.hh

This file was deleted.

57 changes: 0 additions & 57 deletions src/pks/transport/sediment_transport/Transport_Diffusion.cc

This file was deleted.

0 comments on commit 0d9d2c2

Please sign in to comment.