Skip to content

Various parameter checking issues #164

@mirenradia

Description

@mirenradia

ChomboParameters::warn_array_parameter is calling check_parameter rather than warn_parameter. This is incorrect.

Also, when called in BinaryBH/SimulationParameters.hpp, it using bh1_params.mass in the validity check for momentumB rather than bh2_params.mass.

I've also realised that there are some checks in the TwoPunctures part which are implemented in a non-standard way and should be changed to the standard check_parameter. This parameter loading code is duplicated in the standalone TwoPunctures example. Ideally, the parameter loading code for TwoPunctures params should be in a function in the TwoPunctures repository which can be called in the BinaryBH example.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions