Before this PR, when the user had a multicomponent Variable and only set a subset of the Dirichlet values, the remainder were automatically set to zero (this is useful for example in reacting flow applications were we only want to set a handful of species mass fractions out of a set of 300+). However, there are cases were we don't want them to be zeroed (solid mechanics is where this is cropping up for me). So I've updated the ParsedDirichletBCFactoryBase to handle this and instantiated new BCFactories that support this. The option is parsed_dirichlet_component which is the new behavior and the previous behavior is kept at parsed_dirichlet. Similarly for parsed_fem_dirichlet_component. Open to suggestions if someone has a better name.
Before this PR, when the user had a multicomponent Variable and only set a subset of the Dirichlet values, the remainder were automatically set to zero (this is useful for example in reacting flow applications were we only want to set a handful of species mass fractions out of a set of 300+). However, there are cases were we don't want them to be zeroed (solid mechanics is where this is cropping up for me). So I've updated the
ParsedDirichletBCFactoryBase
to handle this and instantiated new BCFactories that support this. The option isparsed_dirichlet_component
which is the new behavior and the previous behavior is kept atparsed_dirichlet
. Similarly forparsed_fem_dirichlet_component
. Open to suggestions if someone has a better name.