template<ElemType elem_type>
class RationalMapTest< elem_type >
Definition at line 22 of file fe_rational_map.C.
 
◆ setUp()
template<ElemType elem_type> 
 
Definition at line 34 of file fe_rational_map.C.
   37     const std::unique_ptr<Elem> test_elem = Elem::build(elem_type);
 
   38     _dim = test_elem->dim();
 
   39     const unsigned int ny = 
_dim > 1;
 
   40     const unsigned int nz = 
_dim > 2;
 
   45     unsigned char weight_index = cast_int<unsigned char>
 
   47     libmesh_assert_not_equal_to(weight_index, 0);
 
   54                                        0., 1., 0., ny, 0., nz,
 
   60         CPPUNIT_ASSERT_EQUAL(elem->mapping_data(), weight_index);
 
   68         Real & x = (*node)(0);
 
   69         Real & y = (*node)(1);
 
   70         node->set_extra_datum<
Real>(weight_index, 1);
 
   80             node->set_extra_datum<
Real>(weight_index, 
sqrt(
Real(2))/2);
 
  102     _elem = rng.begin() == rng.end() ? nullptr : *(rng.begin());
 
 
References libMesh::DistributedMesh::active_local_element_ptr_range(), libMesh::MeshBase::add_node_datum(), libMesh::MeshBase::add_node_integer(), libMesh::EquationSystems::add_system(), libMesh::System::add_variable(), libMesh::FEGenericBase< OutputType >::build(), libMesh::Elem::build(), libMesh::MeshTools::Generation::build_cube(), libMesh::DistributedMesh::element_ptr_range(), libMesh::FIRST, libMesh::FEGenericBase< OutputType >::get_dphi(), libMesh::FEGenericBase< OutputType >::get_dphidx(), libMesh::FEGenericBase< OutputType >::get_dphidy(), libMesh::FEGenericBase< OutputType >::get_dphidz(), libMesh::FEGenericBase< OutputType >::get_phi(), libMesh::FEAbstract::get_xyz(), libMesh::EquationSystems::init(), libMesh::DistributedMesh::node_ptr_range(), libMesh::RATIONAL_BERNSTEIN_MAP, libMesh::Real, libMesh::MeshBase::set_default_mapping_data(), libMesh::MeshBase::set_default_mapping_type(), std::sqrt(), TestCommWorld, and libMesh::System::variable_type().
 
 
◆ tearDown()
template<ElemType elem_type> 
 
 
◆ testContainsPoint()
template<ElemType elem_type> 
 
 
◆ _dim
template<ElemType elem_type> 
 
 
◆ _dof_indices
template<ElemType elem_type> 
 
 
◆ _elem
template<ElemType elem_type> 
 
 
◆ _es
template<ElemType elem_type> 
 
 
◆ _fe
template<ElemType elem_type> 
 
 
◆ _mesh
template<ElemType elem_type> 
 
 
◆ _nx
template<ElemType elem_type> 
 
 
◆ _ny
template<ElemType elem_type> 
 
 
◆ _nz
template<ElemType elem_type> 
 
 
◆ _sys
template<ElemType elem_type> 
 
 
The documentation for this class was generated from the following file:
 
Manages consistently variables, degrees of freedom, and coefficient vectors.
 
The Mesh class is a thin wrapper, around the ReplicatedMesh class by default.
 
const std::vector< Point > & get_xyz() const
 
virtual System & add_system(const std::string &system_type, const std::string &name)
Add the system of type system_type named name to the systems array.
 
virtual SimpleRange< element_iterator > active_local_element_ptr_range() override
 
virtual bool contains_point(const Point &p, Real tol=TOLERANCE) const
 
const std::vector< std::vector< OutputShape > > & get_dphidx() const
 
void set_default_mapping_data(const unsigned char data)
Set the default master space to physical space mapping basis functions to be used on newly added elem...
 
MetaPhysicL::DualNumber< T, D > sqrt(const MetaPhysicL::DualNumber< T, D > &in)
 
const std::vector< std::vector< OutputGradient > > & get_dphi() const
 
virtual SimpleRange< node_iterator > node_ptr_range() override
 
unsigned int add_variable(const std::string &var, const FEType &type, const std::set< subdomain_id_type > *const active_subdomains=nullptr)
Adds the variable var to the list of variables for this system.
 
libMesh::Parallel::Communicator * TestCommWorld
 
virtual void init()
Initialize all the systems.
 
A Point defines a location in LIBMESH_DIM dimensional Real space.
 
unsigned int add_node_integer(const std::string &name, bool allocate_data=true)
Register an integer datum (of type dof_id_type) to be added to each node in the mesh.
 
This is the EquationSystems class.
 
const FEType & variable_type(const unsigned int i) const
 
const std::vector< std::vector< OutputShape > > & get_dphidy() const
 
virtual SimpleRange< element_iterator > element_ptr_range() override
 
void set_default_mapping_type(const ElemMappingType type)
Set the default master space to physical space mapping basis functions to be used on newly added elem...
 
unsigned int add_node_datum(const std::string &name, bool allocate_data=true)
Register a datum (of type T) to be added to each node in the mesh.
 
const std::vector< std::vector< OutputShape > > & get_dphidz() const
 
const std::vector< std::vector< OutputShape > > & get_phi() const
 
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
 
void ErrorVector unsigned int