mirror of
				https://github.com/paboyle/Grid.git
				synced 2025-11-03 21:44:33 +00:00 
			
		
		
		
	Naming the scalar action
This commit is contained in:
		@@ -51,6 +51,8 @@ class ScalarAction : public Action<typename Impl::Field> {
 | 
			
		||||
 public:
 | 
			
		||||
  ScalarAction(RealD ms, RealD l) : mass_square(ms), lambda(l){};
 | 
			
		||||
 | 
			
		||||
  virtual std::string action_name(){return "ScalarAction";}
 | 
			
		||||
  
 | 
			
		||||
  virtual void refresh(const Field &U,
 | 
			
		||||
                       GridParallelRNG &pRNG){};  // noop as no pseudoferms
 | 
			
		||||
 | 
			
		||||
@@ -74,4 +76,4 @@ class ScalarAction : public Action<typename Impl::Field> {
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
#endif
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user