|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Phase 14 tests for multi-field CA lattices, rules and engine. More...
#include <array>#include <cmath>#include <cstdint>#include <tuple>#include <vector>#include <gtest/gtest.h>#include <ca-traits.H>#include <tpl_ca_continuous_rules.H>#include <tpl_ca_engine.H>#include <tpl_ca_lattice.H>#include <tpl_ca_multi_field_engine.H>#include <tpl_ca_multi_field_lattice.H>#include <tpl_ca_multi_field_rule.H>#include <tpl_ca_neighborhood.H>#include <tpl_ca_rule.H>#include <tpl_ca_storage.H>Go to the source code of this file.
Functions | |
| TEST (CAMultiField, AoSAndSoAProduceIdenticalFramesUnderDiscreteRule) | |
| TEST (CAMultiField, SoAFieldExposesMonoFieldLatticeForLegacyEngine) | |
| TEST (CAMultiField, GrayScottMonolithicAndMultiFieldAgreeWithinTolerance) | |
| TEST (CAMultiField, LotkaVolterraStaysBoundedAndOscillates) | |
| TEST (CAMultiField, FieldSliceRulePreservesOtherFields) | |
Phase 14 tests for multi-field CA lattices, rules and engine.
Coverage:
Lattice and can be handed to the legacy Synchronous_Engine.Reaction_Diffusion_Cell rule to a multi-field (u, v) rule produces frames that match the monolithic output to within a tight numerical tolerance.Field_Slice_Rule propagates the untouched fields verbatim. Definition in file ca_multi_field_test.cc.
| TEST | ( | CAMultiField | , |
| AoSAndSoAProduceIdenticalFramesUnderDiscreteRule | |||
| ) |
Definition at line 168 of file ca_multi_field_test.cc.
References Aleph::blossom_maximum_cardinality_matching().
| TEST | ( | CAMultiField | , |
| FieldSliceRulePreservesOtherFields | |||
| ) |
Definition at line 434 of file ca_multi_field_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::CA::make_game_of_life_rule(), and Aleph::CA::Multi_Field_Lattice< Layout, Boundary, Rank, Fields >::set().
| TEST | ( | CAMultiField | , |
| GrayScottMonolithicAndMultiFieldAgreeWithinTolerance | |||
| ) |
| TEST | ( | CAMultiField | , |
| LotkaVolterraStaysBoundedAndOscillates | |||
| ) |
| TEST | ( | CAMultiField | , |
| SoAFieldExposesMonoFieldLatticeForLegacyEngine | |||
| ) |
Definition at line 197 of file ca_multi_field_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::CA::Multi_Field_Lattice< Layout, Boundary, Rank, Fields >::field().